From 0c1194b2f400c99e1de20f8d788529ba2bba7f2f Mon Sep 17 00:00:00 2001 From: Bryan Housel Date: Wed, 1 Mar 2017 22:59:58 -0500 Subject: [PATCH] Add historic=tomb preset and tomb=* field (re: #3439) --- data/presets.yaml | 7 +++++++ data/presets/fields.json | 5 +++++ data/presets/fields/tomb.json | 5 +++++ data/presets/presets.json | 15 +++++++++++++++ data/presets/presets/historic/tomb.json | 15 +++++++++++++++ data/taginfo.json | 4 ++++ dist/locales/en.json | 7 +++++++ 7 files changed, 58 insertions(+) create mode 100644 data/presets/fields/tomb.json create mode 100644 data/presets/presets/historic/tomb.json diff --git a/data/presets.yaml b/data/presets.yaml index 9df896c55..92e13426e 100644 --- a/data/presets.yaml +++ b/data/presets.yaml @@ -1221,6 +1221,9 @@ en: toll: # toll=* label: Toll + tomb: + # tomb=* + label: Type tourism: # tourism=* label: Type @@ -2693,6 +2696,10 @@ en: # historic=ruins name: Ruins terms: '' + historic/tomb: + # historic=tomb + name: Tomb + terms: '' historic/wayside_cross: # historic=wayside_cross name: Wayside Cross diff --git a/data/presets/fields.json b/data/presets/fields.json index 7b09f6803..ccf16b5f9 100644 --- a/data/presets/fields.json +++ b/data/presets/fields.json @@ -1642,6 +1642,11 @@ "type": "check", "label": "Toll" }, + "tomb": { + "key": "tomb", + "type": "typeCombo", + "label": "Type" + }, "tourism": { "key": "tourism", "type": "typeCombo", diff --git a/data/presets/fields/tomb.json b/data/presets/fields/tomb.json new file mode 100644 index 000000000..c47d819de --- /dev/null +++ b/data/presets/fields/tomb.json @@ -0,0 +1,5 @@ +{ + "key": "tomb", + "type": "typeCombo", + "label": "Type" +} diff --git a/data/presets/presets.json b/data/presets/presets.json index 549b1e567..63e47278a 100644 --- a/data/presets/presets.json +++ b/data/presets/presets.json @@ -5888,6 +5888,21 @@ }, "name": "Ruins" }, + "historic/tomb": { + "icon": "cemetery", + "fields": [ + "tomb", + "building_area" + ], + "geometry": [ + "point", + "area" + ], + "tags": { + "historic": "tomb" + }, + "name": "Tomb" + }, "historic/wayside_cross": { "icon": "religious-christian", "geometry": [ diff --git a/data/presets/presets/historic/tomb.json b/data/presets/presets/historic/tomb.json new file mode 100644 index 000000000..168af909b --- /dev/null +++ b/data/presets/presets/historic/tomb.json @@ -0,0 +1,15 @@ +{ + "icon": "cemetery", + "fields": [ + "tomb", + "building_area" + ], + "geometry": [ + "point", + "area" + ], + "tags": { + "historic": "tomb" + }, + "name": "Tomb" +} diff --git a/data/taginfo.json b/data/taginfo.json index d4e4fefe8..6430fc7a5 100644 --- a/data/taginfo.json +++ b/data/taginfo.json @@ -1269,6 +1269,10 @@ "key": "historic", "value": "ruins" }, + { + "key": "historic", + "value": "tomb" + }, { "key": "historic", "value": "wayside_cross" diff --git a/dist/locales/en.json b/dist/locales/en.json index d323fb668..ed3a11c46 100644 --- a/dist/locales/en.json +++ b/dist/locales/en.json @@ -1757,6 +1757,9 @@ "toll": { "label": "Toll" }, + "tomb": { + "label": "Type" + }, "tourism": { "label": "Type" }, @@ -3115,6 +3118,10 @@ "name": "Ruins", "terms": "" }, + "historic/tomb": { + "name": "Tomb", + "terms": "" + }, "historic/wayside_cross": { "name": "Wayside Cross", "terms": ""