From 0ae669000be5cc22fbf41e4292ee923266113f33 Mon Sep 17 00:00:00 2001 From: animesh-007 Date: Thu, 1 Oct 2020 04:39:42 +0530 Subject: [PATCH] added hot spring --- data/presets.yaml | 4 ++++ data/presets/presets.json | 1 + data/presets/presets/hot_spring.json | 23 +++++++++++++++++++++++ data/taginfo.json | 1 + dist/locales/en.json | 4 ++++ 5 files changed, 33 insertions(+) create mode 100644 data/presets/presets/hot_spring.json diff --git a/data/presets.yaml b/data/presets.yaml index ff04b7e76..3feeb4868 100644 --- a/data/presets.yaml +++ b/data/presets.yaml @@ -5687,6 +5687,10 @@ en: name: Shipwreck # 'terms: hull,mast,maritime,remains,ship,boat' terms: '' + hot_spring: + # natural=hot_spring + name: Hot Spring + terms: '' indoor: # indoor=* name: Indoor Feature diff --git a/data/presets/presets.json b/data/presets/presets.json index a5882d615..85a9b5259 100644 --- a/data/presets/presets.json +++ b/data/presets/presets.json @@ -606,6 +606,7 @@ "historic/wayside_cross": {"icon": "maki-religious-christian", "fields": ["name", "inscription", "material"], "moreFields": ["{historic}", "start_date", "religion", "denomination"], "geometry": ["point", "vertex", "area"], "tags": {"historic": "wayside_cross"}, "name": "Wayside Cross"}, "historic/wayside_shrine": {"icon": "maki-landmark", "fields": ["name", "religion", "denomination", "inscription", "access_simple"], "geometry": ["point", "vertex", "area"], "tags": {"historic": "wayside_shrine"}, "name": "Wayside Shrine"}, "historic/wreck": {"icon": "temaki-ruins", "fields": ["name", "access_simple", "seamark/wreck/category", "historic/wreck/date_sunk", "historic/wreck/visible_at_low_tide", "historic/wreck/visible_at_high_tide"], "moreFields": ["{historic}", "seamark/type"], "geometry": ["point", "area"], "tags": {"historic": "wreck"}, "addTags": {"historic": "wreck", "seamark:type": "wreck"}, "terms": ["hull", "mast", "maritime", "remains", "ship", "boat"], "name": "Shipwreck"}, + "hot_spring": {"icon": "maki-water", "fields": ["name", "water", "hot_water", "intermittent"], "moreFields": ["fishing", "gnis/feature_id", "salt", "tidal"], "geometry": ["area"], "tags": {"natural": "hot_spring"}, "name": "Hot Spring"}, "indoor/corridor_line": {"fields": ["level", "name"], "geometry": ["line"], "tags": {"indoor": "corridor"}, "searchable": false, "matchScore": 1.1, "name": "Indoor Corridor", "replacement": "highway/corridor"}, "indoor/area": {"fields": ["level", "name", "ref_room_number", "height"], "geometry": ["area"], "tags": {"indoor": "area"}, "terms": ["indoor space"], "matchScore": 0.8, "name": "Indoor Area"}, "indoor/corridor": {"icon": "temaki-pedestrian", "fields": ["level", "name", "ref", "height"], "geometry": ["area"], "tags": {"indoor": "corridor"}, "terms": ["concourse", "foyer", "hallway", "passageway"], "matchScore": 0.8, "name": "Indoor Corridor"}, diff --git a/data/presets/presets/hot_spring.json b/data/presets/presets/hot_spring.json new file mode 100644 index 000000000..450420c5a --- /dev/null +++ b/data/presets/presets/hot_spring.json @@ -0,0 +1,23 @@ +{ + "icon": "maki-water", + "fields": [ + "name", + "water", + "hot_water", + "intermittent" + ], + "moreFields": [ + "fishing", + "gnis/feature_id", + "salt", + "tidal" + ], + "geometry": [ + "area" + ], + "tags": { + "natural": "hot_spring" + }, + "name": "Hot Spring" +} + diff --git a/data/taginfo.json b/data/taginfo.json index 36d8b4600..23a9351c6 100644 --- a/data/taginfo.json +++ b/data/taginfo.json @@ -589,6 +589,7 @@ {"key": "historic", "value": "wayside_cross", "description": "🄿 Wayside Cross", "object_types": ["node", "area"], "icon_url": "https://cdn.jsdelivr.net/gh/mapbox/maki/icons/religious-christian-15.svg"}, {"key": "historic", "value": "wayside_shrine", "description": "🄿 Wayside Shrine", "object_types": ["node", "area"], "icon_url": "https://cdn.jsdelivr.net/gh/mapbox/maki/icons/landmark-15.svg"}, {"key": "historic", "value": "wreck", "description": "🄿 Shipwreck", "object_types": ["node", "area"], "icon_url": "https://cdn.jsdelivr.net/gh/ideditor/temaki/icons/ruins.svg"}, + {"key": "natural", "value": "hot_spring", "description": "🄿 Hot Spring", "object_types": ["area"], "icon_url": "https://cdn.jsdelivr.net/gh/mapbox/maki/icons/water-15.svg"}, {"key": "indoor", "value": "corridor", "description": "🄿 Indoor Corridor (unsearchable), 🄿 Indoor Corridor", "object_types": ["way"]}, {"key": "indoor", "value": "area", "description": "🄿 Indoor Area", "object_types": ["area"]}, {"key": "indoor", "value": "door", "description": "🄿 Indoor Door", "object_types": ["node"], "icon_url": "https://cdn.jsdelivr.net/gh/mapbox/maki/icons/entrance-alt1-15.svg"}, diff --git a/dist/locales/en.json b/dist/locales/en.json index 329fc1b90..041789f6a 100644 --- a/dist/locales/en.json +++ b/dist/locales/en.json @@ -7744,6 +7744,10 @@ "name": "Shipwreck", "terms": "hull,mast,maritime,remains,ship,boat" }, + "hot_spring": { + "name": "Hot Spring", + "terms": "" + }, "indoor/corridor_line": { "name": "Indoor Corridor" },