diff --git a/data/presets.yaml b/data/presets.yaml index bfd737edf..9a7bedc8c 100644 --- a/data/presets.yaml +++ b/data/presets.yaml @@ -4179,6 +4179,10 @@ en: name: Sally Port # 'terms: Postern,castle side gate' terms: '' + barrier/spikes: + # barrier=spikes + name: Spike Strip + terms: '' barrier/stile: # barrier=stile name: Stile diff --git a/data/presets/presets.json b/data/presets/presets.json index be991f4b5..0643909b8 100644 --- a/data/presets/presets.json +++ b/data/presets/presets.json @@ -321,6 +321,7 @@ "barrier/lift_gate": {"icon": "temaki-lift_gate", "fields": ["access", "opening_hours"], "geometry": ["vertex", "line"], "tags": {"barrier": "lift_gate"}, "name": "Lift Gate"}, "barrier/retaining_wall": {"icon": "temaki-wall", "fields": ["height", "material"], "geometry": ["line", "area"], "tags": {"barrier": "retaining_wall"}, "name": "Retaining Wall"}, "barrier/sally_port": {"icon": "fas-dungeon", "geometry": ["vertex"], "tags": {"barrier": "sally_port"}, "terms": ["Postern", "castle side gate"], "name": "Sally Port"}, + "barrier/spikes": {"icon": "maki-fence", "geometry": ["vertex"], "tags": {"barrier": "spikes"}, "name": "Spike Strip", "matchScore": 0.5}, "barrier/stile": {"icon": "maki-roadblock", "fields": ["access", "stile", "material"], "geometry": ["vertex"], "tags": {"barrier": "stile"}, "name": "Stile"}, "barrier/swing_gate": {"icon": "temaki-gate", "fields": ["{barrier/gate}"], "moreFields": ["{barrier/gate}"], "geometry": ["vertex"], "tags": {"barrier": "swing_gate"}, "name": "Swing Gate"}, "barrier/toll_booth": {"icon": "maki-roadblock", "fields": ["access", "building_area", "payment_multi", "currency_multi"], "moreFields": ["address", "email", "fax", "opening_hours", "phone", "website"], "geometry": ["vertex", "area"], "tags": {"barrier": "toll_booth"}, "name": "Toll Booth"}, diff --git a/data/presets/presets/barrier/spikes.json b/data/presets/presets/barrier/spikes.json new file mode 100644 index 000000000..b85086376 --- /dev/null +++ b/data/presets/presets/barrier/spikes.json @@ -0,0 +1,12 @@ +{ + "icon": "maki-fence", + + "geometry": [ + "vertex" + ], + "tags": { + "barrier": "spikes" + }, + "name": "Spike Strip", + "matchScore": 0.50 +} diff --git a/data/taginfo.json b/data/taginfo.json index 1ac3aec65..b973f62ff 100644 --- a/data/taginfo.json +++ b/data/taginfo.json @@ -318,6 +318,7 @@ {"key": "barrier", "value": "lift_gate", "description": "🄿 Lift Gate", "object_types": ["node", "way"], "icon_url": "https://cdn.jsdelivr.net/gh/ideditor/temaki/icons/lift_gate.svg"}, {"key": "barrier", "value": "retaining_wall", "description": "🄿 Retaining Wall", "object_types": ["way", "area"], "icon_url": "https://cdn.jsdelivr.net/gh/ideditor/temaki/icons/wall.svg"}, {"key": "barrier", "value": "sally_port", "description": "🄿 Sally Port", "object_types": ["node"], "icon_url": "https://cdn.jsdelivr.net/gh/openstreetmap/iD@master/svg/fontawesome/fas-dungeon.svg"}, + {"key": "barrier", "value": "spikes", "description": "🄿 Spike Strip", "object_types": ["node"], "icon_url": "https://cdn.jsdelivr.net/gh/mapbox/maki/icons/fence-15.svg"}, {"key": "barrier", "value": "stile", "description": "🄿 Stile", "object_types": ["node"], "icon_url": "https://cdn.jsdelivr.net/gh/mapbox/maki/icons/roadblock-15.svg"}, {"key": "barrier", "value": "swing_gate", "description": "🄿 Swing Gate", "object_types": ["node"], "icon_url": "https://cdn.jsdelivr.net/gh/ideditor/temaki/icons/gate.svg"}, {"key": "barrier", "value": "toll_booth", "description": "🄿 Toll Booth", "object_types": ["node", "area"], "icon_url": "https://cdn.jsdelivr.net/gh/mapbox/maki/icons/roadblock-15.svg"}, diff --git a/dist/locales/en.json b/dist/locales/en.json index eb6fd1890..5894cfd50 100644 --- a/dist/locales/en.json +++ b/dist/locales/en.json @@ -6163,6 +6163,10 @@ "name": "Sally Port", "terms": "Postern,castle side gate" }, + "barrier/spikes": { + "name": "Spike Strip", + "terms": "" + }, "barrier/stile": { "name": "Stile", "terms": ""