diff --git a/data/tags.yml b/data/tags.yml index ea31dcf..bf16987 100644 --- a/data/tags.yml +++ b/data/tags.yml @@ -273,8 +273,6 @@ tags: icon: [muslim] - tags: {amenity: place_of_worship, religion: buddhist} icon: [buddhist] -- tags: {amenity: place_of_worship, religion: hindu} - icon: [hindu] # Additions for buildings @@ -391,10 +389,6 @@ tags: add_icon: [no_traffic_signals] - tags: {highway: crossing, crossing: traffic_signals} add_icon: [traffic_signals] -- tags: {highway: mini_roundabout} - icon: [mini_roundabout] -- tags: {highway: turning_circle} - icon: [turning_circle] - tags: {highway: traffic_signals} icon: [traffic_signals] - tags: {public_transport: stop_position} @@ -452,8 +446,6 @@ tags: icon: [lift_gate] - tags: {barrier: turnstile} icon: [turnstile] -- tags: {barrier: stile} - icon: [stile] - tags: {barrier: entrance} icon: [entrance] @@ -480,8 +472,6 @@ tags: add_icon: [clockwise] - tags: {direction: contrclockwise} add_icon: [contrclockwise] -- tags: {smoking: 'no'} - add_icon: [no_smoking] - tags: {atm: 'yes'} add_icon: [atm] - tags: {tactile_paving: 'yes'} diff --git a/roentgen/extract_icon.py b/roentgen/extract_icon.py index 4513f0c..62278b0 100644 --- a/roentgen/extract_icon.py +++ b/roentgen/extract_icon.py @@ -69,3 +69,4 @@ class IconExtractor: if id_ == "small": return "M 6,6 L 6,8 8,8 8,6 z", 0, 0 ui.error(f"no such icon ID {id_}") + return "M 4,4 L 4,10 10,10 10,4 z", 0, 0 diff --git a/test.py b/test.py index 51d3029..bc8348f 100644 --- a/test.py +++ b/test.py @@ -49,7 +49,6 @@ def test_icons(): to_draw.append(set([icon] + [icon2] + [icon3] + element['over_icon'])) for icons_to_draw in to_draw: - drawed = False icon_set = {'icons': []} for icon in icons_to_draw: path, xx, yy = extracter.get_path(icon) @@ -57,4 +56,3 @@ def test_icons(): icon_set['icons'].append({'path': path, 'x': (- 8.0 - xx * 16), 'y': (- 8.0 - yy * 16)}) - drawed = True