From fb52e2d5b5cbd4614faa4be6367ddb6732ac985a Mon Sep 17 00:00:00 2001 From: animesh-007 Date: Sat, 1 Feb 2020 00:58:50 +0530 Subject: [PATCH] added new feature --- data/presets.yaml | 5 +++++ data/presets/presets.json | 1 + data/presets/presets/historic/pillory.json | 20 ++++++++++++++++++++ data/taginfo.json | 1 + dist/locales/en.json | 13 ++++++++++++- 5 files changed, 39 insertions(+), 1 deletion(-) create mode 100644 data/presets/presets/historic/pillory.json diff --git a/data/presets.yaml b/data/presets.yaml index 44436bca7..aa6ef9e55 100644 --- a/data/presets.yaml +++ b/data/presets.yaml @@ -5219,6 +5219,11 @@ en: # historic=monument name: Monument terms: '' + historic/pillory: + # historic=pillory + name: Historic Pillory + # 'terms: military' + terms: '' historic/ruins: # historic=ruins name: Ruins diff --git a/data/presets/presets.json b/data/presets/presets.json index e4af98196..668a99ee6 100644 --- a/data/presets/presets.json +++ b/data/presets/presets.json @@ -573,6 +573,7 @@ "historic/memorial": {"icon": "maki-monument", "fields": ["name", "memorial", "inscription", "material"], "moreFields": ["{historic}", "website"], "geometry": ["point", "vertex", "area"], "terms": ["dedicatory", "epitaph", "remember", "remembrance", "memory", "monument", "stolperstein"], "tags": {"historic": "memorial"}, "name": "Memorial"}, "historic/memorial/plaque": {"icon": "temaki-plaque", "fields": ["{historic/memorial}", "direction"], "geometry": ["point", "vertex"], "terms": ["dedicatory", "epitaph", "historical marker", "remember", "remembrance", "memory"], "tags": {"historic": "memorial", "memorial": "plaque"}, "reference": {"key": "memorial", "value": "plaque"}, "name": "Commemorative Plaque"}, "historic/monument": {"icon": "maki-monument", "fields": ["name", "inscription", "access_simple"], "moreFields": ["{historic}", "material"], "geometry": ["point", "vertex", "area"], "tags": {"historic": "monument"}, "name": "Monument"}, + "historic/pillory": {"icon": "maki-monument", "fields": ["name", "building_area", "access_simple", "start_date"], "geometry": ["point", "area"], "tags": {"historic": "pillory"}, "terms": ["military"], "name": "Historic Pillory"}, "historic/ruins": {"icon": "temaki-ruins", "fields": ["name", "historic/civilization", "inscription", "access_simple"], "geometry": ["point", "vertex", "area"], "tags": {"historic": "ruins"}, "name": "Ruins"}, "historic/tomb": {"icon": "maki-cemetery", "fields": ["name", "tomb", "building_area", "inscription", "access_simple"], "geometry": ["point", "area"], "tags": {"historic": "tomb"}, "name": "Tomb"}, "historic/wayside_cross": {"icon": "maki-religious-christian", "fields": ["name", "inscription"], "moreFields": ["{historic}", "material"], "geometry": ["point", "vertex", "area"], "tags": {"historic": "wayside_cross"}, "name": "Wayside Cross"}, diff --git a/data/presets/presets/historic/pillory.json b/data/presets/presets/historic/pillory.json new file mode 100644 index 000000000..186ef5fc0 --- /dev/null +++ b/data/presets/presets/historic/pillory.json @@ -0,0 +1,20 @@ +{ + "icon": "maki-monument", + "fields": [ + "name", + "building_area", + "access_simple", + "start_date" + ], + "geometry": [ + "point", + "area" + ], + "tags": { + "historic": "pillory" + }, + "terms": [ + "military" + ], + "name": "Historic Pillory" +} diff --git a/data/taginfo.json b/data/taginfo.json index a9aafa0d6..35f0bee46 100644 --- a/data/taginfo.json +++ b/data/taginfo.json @@ -556,6 +556,7 @@ {"key": "historic", "value": "memorial", "description": "🄿 Memorial", "object_types": ["node", "area"], "icon_url": "https://cdn.jsdelivr.net/gh/mapbox/maki/icons/monument-15.svg"}, {"key": "memorial", "value": "plaque", "description": "🄿 Commemorative Plaque", "object_types": ["node"], "icon_url": "https://cdn.jsdelivr.net/gh/ideditor/temaki/icons/plaque.svg"}, {"key": "historic", "value": "monument", "description": "🄿 Monument", "object_types": ["node", "area"], "icon_url": "https://cdn.jsdelivr.net/gh/mapbox/maki/icons/monument-15.svg"}, + {"key": "historic", "value": "pillory", "description": "🄿 Historic Pillory", "object_types": ["node", "area"], "icon_url": "https://cdn.jsdelivr.net/gh/mapbox/maki/icons/monument-15.svg"}, {"key": "historic", "value": "ruins", "description": "🄿 Ruins", "object_types": ["node", "area"], "icon_url": "https://cdn.jsdelivr.net/gh/ideditor/temaki/icons/ruins.svg"}, {"key": "historic", "value": "tomb", "description": "🄿 Tomb", "object_types": ["node", "area"], "icon_url": "https://cdn.jsdelivr.net/gh/mapbox/maki/icons/cemetery-15.svg"}, {"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"}, diff --git a/dist/locales/en.json b/dist/locales/en.json index 97f7c0eea..7b48beb5c 100644 --- a/dist/locales/en.json +++ b/dist/locales/en.json @@ -7047,6 +7047,10 @@ "name": "Monument", "terms": "" }, + "historic/pillory": { + "name": "Historic Pillory", + "terms": "military" + }, "historic/ruins": { "name": "Ruins", "terms": "" @@ -9919,7 +9923,7 @@ }, "MAPNIK": { "attribution": { - "text": "© OpenStreetMap contributors, CC-BY-SA" + "text": "© OpenStreetMap contributors, CC-BY-SA 2.0" }, "description": "The default OpenStreetMap layer.", "name": "OpenStreetMap (Standard)" @@ -10118,6 +10122,13 @@ "description": "GSI Kiban 2500 via finds.jp. Good for tracing, but a bit older.", "name": "Japan GSI KIBAN 2500" }, + "gothenburg-citymap": { + "attribution": { + "text": "© Gothenburg municipality, CC0" + }, + "description": "The city map is an overview map that describes Gothenburg. It contains general information about land, communications, hydrography, buildings, address numbers and street names, administrative division and other orientation text.", + "name": "Gothenburg City map" + }, "gsi.go.jp": { "attribution": { "text": "GSI Japan"