From 26abac80e1fb97219253e7e2cd0fd6628ddcb831 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mikael=20D=C3=BAi=20Bolinder?= Date: Sun, 20 Apr 2025 19:43:59 +0300 Subject: [PATCH] Add `crossing=informal` as unsearchable preset for point and line geometries (#1140) --- data/presets/highway/crossing/_informal.json | 23 ++++++++++++++++++ .../highway/footway/crossing/_informal.json | 24 +++++++++++++++++++ .../highway/path/crossing/_informal.json | 24 +++++++++++++++++++ 3 files changed, 71 insertions(+) create mode 100644 data/presets/highway/crossing/_informal.json create mode 100644 data/presets/highway/footway/crossing/_informal.json create mode 100644 data/presets/highway/path/crossing/_informal.json diff --git a/data/presets/highway/crossing/_informal.json b/data/presets/highway/crossing/_informal.json new file mode 100644 index 00000000..91cf9dc1 --- /dev/null +++ b/data/presets/highway/crossing/_informal.json @@ -0,0 +1,23 @@ +{ + "icon": "temaki-pedestrian", + "fields": [ + "crossing" + ], + "geometry": [ + "vertex" + ], + "tags": { + "crossing": "informal" + }, + "terms": [ + "informal crosswalk", + "informal foot path crossing", + "informal pedestrian crossing" + ], + "reference": { + "key": "crossing", + "value": "informal" + }, + "name": "Informal Crossing", + "searchable": false +} 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 +} 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 +}