From 9d1a46d2412d174d4542016eaea3cf10d41df29a Mon Sep 17 00:00:00 2001 From: Tobias Date: Sun, 20 Apr 2025 18:09:56 +0200 Subject: [PATCH 1/4] Make `crossing=informal` unsearchable The `terms` are not used by iD but maybe other editors use them. --- .../crossing/{informal.json => _informal.json} | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) rename data/presets/highway/crossing/{informal.json => _informal.json} (81%) diff --git a/data/presets/highway/crossing/informal.json b/data/presets/highway/crossing/_informal.json similarity index 81% rename from data/presets/highway/crossing/informal.json rename to data/presets/highway/crossing/_informal.json index 96474cb5..53424251 100644 --- a/data/presets/highway/crossing/informal.json +++ b/data/presets/highway/crossing/_informal.json @@ -7,16 +7,18 @@ "vertex" ], "tags": { + "highway": "crossing", "crossing": "informal" }, - "reference": { - "key": "crossing", - "value": "informal" - }, "terms": [ "informal crosswalk", "informal foot path crossing", "informal pedestrian crossing" ], - "name": "Informal Crossing" + "reference": { + "key": "crossing", + "value": "informal" + }, + "name": "Informal Crossing", + "searchable": false } From 20210e09b9bdc81d7640132bc681aa47a7c60ec2 Mon Sep 17 00:00:00 2001 From: Tobias Date: Sun, 20 Apr 2025 18:16:55 +0200 Subject: [PATCH 2/4] Fix `crossing=informal` It looks like SC actually does not tag this as `highway=crossing` --- data/presets/highway/crossing/_informal.json | 1 - 1 file changed, 1 deletion(-) diff --git a/data/presets/highway/crossing/_informal.json b/data/presets/highway/crossing/_informal.json index 53424251..91cf9dc1 100644 --- a/data/presets/highway/crossing/_informal.json +++ b/data/presets/highway/crossing/_informal.json @@ -7,7 +7,6 @@ "vertex" ], "tags": { - "highway": "crossing", "crossing": "informal" }, "terms": [ From 09cae467b9af5aec3f7048963dd9bff50066e2e9 Mon Sep 17 00:00:00 2001 From: Tobias Date: Sun, 20 Apr 2025 18:36:14 +0200 Subject: [PATCH 3/4] Add unsearchable `highway=footway+footway=crossing+crossing=informal` --- .../highway/footway/crossing/_informal.json | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 data/presets/highway/footway/crossing/_informal.json diff --git a/data/presets/highway/footway/crossing/_informal.json b/data/presets/highway/footway/crossing/_informal.json new file mode 100644 index 00000000..01f09e4d --- /dev/null +++ b/data/presets/highway/footway/crossing/_informal.json @@ -0,0 +1,24 @@ +{ + "icon": "temaki-pedestrian", + "fields": [ + "crossing", + "surface" + ], + "moreFields": [ + "{@templates/crossing/geometry_way_more}" + ], + "geometry": [ + "line" + ], + "tags": { + "highway": "footway", + "footway": "crossing", + "crossing": "informal" + }, + "reference": { + "key": "crossing", + "value": "informal" + }, + "name": "{highway/crossing/informal}", + "searchable": false +} From 45023d0cb883f343ef32fafd9e9715871ecb34cf Mon Sep 17 00:00:00 2001 From: Tobias Date: Sun, 20 Apr 2025 18:37:24 +0200 Subject: [PATCH 4/4] Add unsearchable `highway=path+path=crossing+crossing=informal` --- .../highway/path/crossing/_informal.json | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 data/presets/highway/path/crossing/_informal.json diff --git a/data/presets/highway/path/crossing/_informal.json b/data/presets/highway/path/crossing/_informal.json new file mode 100644 index 00000000..53946312 --- /dev/null +++ b/data/presets/highway/path/crossing/_informal.json @@ -0,0 +1,24 @@ +{ + "icon": "temaki-pedestrian", + "fields": [ + "crossing", + "surface" + ], + "moreFields": [ + "{@templates/crossing/geometry_way_more}" + ], + "geometry": [ + "line" + ], + "tags": { + "highway": "path", + "path": "crossing", + "crossing": "informal" + }, + "reference": { + "key": "crossing", + "value": "informal" + }, + "name": "{highway/crossing/informal}", + "searchable": false +}