From f958ad37f19797c59b47d44552e8a400bac82613 Mon Sep 17 00:00:00 2001 From: Yuliia Veklycheva Date: Fri, 27 Oct 2017 16:22:57 +0300 Subject: [PATCH 1/2] Add landuse=religious preset --- data/presets.yaml | 4 ++++ data/presets/categories.json | 3 ++- data/presets/categories/landuse.json | 3 ++- data/presets/presets.json | 10 ++++++++++ data/presets/presets/landuse/religious.json | 10 ++++++++++ data/taginfo.json | 4 ++++ dist/locales/en.json | 4 ++++ 7 files changed, 36 insertions(+), 2 deletions(-) create mode 100644 data/presets/presets/landuse/religious.json diff --git a/data/presets.yaml b/data/presets.yaml index 1a4e1a4d5e..0297bd0af7 100644 --- a/data/presets.yaml +++ b/data/presets.yaml @@ -3413,6 +3413,10 @@ en: name: Recreation Ground # 'terms: playing fields' terms: '' + landuse/religious: + # landuse=religious + name: Religious Area + terms: '' landuse/residential: # landuse=residential name: Residential Area diff --git a/data/presets/categories.json b/data/presets/categories.json index 310781588f..25e7f40726 100644 --- a/data/presets/categories.json +++ b/data/presets/categories.json @@ -55,7 +55,8 @@ "landuse/meadow", "landuse/aquaculture", "landuse/cemetery", - "landuse/military" + "landuse/military", + "landuse/religious" ] }, "category-natural-area": { diff --git a/data/presets/categories/landuse.json b/data/presets/categories/landuse.json index 80c5594aa8..b67f1a8032 100644 --- a/data/presets/categories/landuse.json +++ b/data/presets/categories/landuse.json @@ -13,6 +13,7 @@ "landuse/meadow", "landuse/aquaculture", "landuse/cemetery", - "landuse/military" + "landuse/military", + "landuse/religious" ] } diff --git a/data/presets/presets.json b/data/presets/presets.json index c83dc75858..7281896bb3 100644 --- a/data/presets/presets.json +++ b/data/presets/presets.json @@ -8758,6 +8758,16 @@ ], "name": "Recreation Ground" }, + "landuse/religious": { + "geometry": [ + "area" + ], + "tags": { + "landuse": "religious" + }, + "terms": [], + "name": "Religious Area" + }, "landuse/residential": { "icon": "building", "geometry": [ diff --git a/data/presets/presets/landuse/religious.json b/data/presets/presets/landuse/religious.json new file mode 100644 index 0000000000..b3494d0602 --- /dev/null +++ b/data/presets/presets/landuse/religious.json @@ -0,0 +1,10 @@ +{ + "geometry": [ + "area" + ], + "tags": { + "landuse": "religious" + }, + "terms": [], + "name": "Religious Area" +} diff --git a/data/taginfo.json b/data/taginfo.json index 7c5ca5fd5b..78d741f9cd 100644 --- a/data/taginfo.json +++ b/data/taginfo.json @@ -1654,6 +1654,10 @@ "key": "landuse", "value": "recreation_ground" }, + { + "key": "landuse", + "value": "religious" + }, { "key": "landuse", "value": "residential" diff --git a/dist/locales/en.json b/dist/locales/en.json index 40e4cb04b7..4411366e04 100644 --- a/dist/locales/en.json +++ b/dist/locales/en.json @@ -4078,6 +4078,10 @@ "name": "Recreation Ground", "terms": "playing fields" }, + "landuse/religious": { + "name": "Religious Area", + "terms": "" + }, "landuse/residential": { "name": "Residential Area", "terms": "" From b8c7c8aeebb5a630cbc6a060f4ad7fde7c968ac4 Mon Sep 17 00:00:00 2001 From: Yuliia Veklycheva Date: Fri, 27 Oct 2017 17:59:15 +0300 Subject: [PATCH 2/2] Add 'name' field to landuse=religious preset --- data/presets/presets.json | 3 +++ data/presets/presets/landuse/religious.json | 3 +++ 2 files changed, 6 insertions(+) diff --git a/data/presets/presets.json b/data/presets/presets.json index 7281896bb3..c486359866 100644 --- a/data/presets/presets.json +++ b/data/presets/presets.json @@ -8762,6 +8762,9 @@ "geometry": [ "area" ], + "fields": [ + "name" + ], "tags": { "landuse": "religious" }, diff --git a/data/presets/presets/landuse/religious.json b/data/presets/presets/landuse/religious.json index b3494d0602..97677b50a5 100644 --- a/data/presets/presets/landuse/religious.json +++ b/data/presets/presets/landuse/religious.json @@ -2,6 +2,9 @@ "geometry": [ "area" ], + "fields": [ + "name" + ], "tags": { "landuse": "religious" },