diff --git a/scripts/umap-extractor.py b/scripts/umap-extractor.py index 3024f4d..19b8ae8 100755 --- a/scripts/umap-extractor.py +++ b/scripts/umap-extractor.py @@ -31,7 +31,7 @@ if "tilelayer" in properties and properties['tilelayer'] != {} : config["tilelayer"]["attribution"] = re.sub(r'\[\[([^|]+)\|([^|]+)\]\]', r'\2', config["tilelayer"]["attribution"]) else : config["tilelayer"] = { "attribution" : 'Map data © OpenStreetMap contributors', "url_template" : "https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png" } - + def normalize_name(name) : return name.replace("/", "_").replace("-","").replace(" ","").replace(".","")