From feda35aeb7b9a66362bdb2ec823c4dcba4aed7b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Guillou?= Date: Sat, 4 Apr 2020 21:48:26 +1000 Subject: [PATCH 1/3] more accurate name According to the wiki, allotment gardens are different to community gardens (need a different preset). --- data/presets/presets/landuse/allotments.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/presets/presets/landuse/allotments.json b/data/presets/presets/landuse/allotments.json index f2e07f04d..3e4a669cd 100644 --- a/data/presets/presets/landuse/allotments.json +++ b/data/presets/presets/landuse/allotments.json @@ -20,5 +20,5 @@ "allotment", "garden" ], - "name": "Community Garden" + "name": "Allotment Garden" } From b6470b26969127d342353d82eea98ca11b39a053 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Guillou?= Date: Sat, 4 Apr 2020 22:08:52 +1000 Subject: [PATCH 2/3] add types of gardens According to https://wiki.openstreetmap.org/wiki/Key:garden:type?uselang=en-AU Ignoring the two types with "unclear definition". --- data/presets/fields/garden/type.json | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 data/presets/fields/garden/type.json diff --git a/data/presets/fields/garden/type.json b/data/presets/fields/garden/type.json new file mode 100644 index 000000000..4683eb2ff --- /dev/null +++ b/data/presets/fields/garden/type.json @@ -0,0 +1,15 @@ +{ + "key": "garden:type", + "type": "combo", + "label": "Garden Type", + "strings": { + "options": { + "arboretum": "Arboretum", + "botanical": "Botanical", + "community": "Community", + "residential": "Residential", + "roof_garden": "Roof Garden", + "show_garden": "Show Garden" + } + } +} From 0b8337dbde08c36061cd82a435058537b51f7ad9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Guillou?= Date: Sat, 4 Apr 2020 22:14:40 +1000 Subject: [PATCH 3/3] add garden type add access to `garden:type` field value list --- data/presets/presets/leisure/garden.json | 1 + 1 file changed, 1 insertion(+) diff --git a/data/presets/presets/leisure/garden.json b/data/presets/presets/leisure/garden.json index 8830ead17..ae4a1a562 100644 --- a/data/presets/presets/leisure/garden.json +++ b/data/presets/presets/leisure/garden.json @@ -2,6 +2,7 @@ "icon": "maki-garden", "fields": [ "name", + "garden/type", "operator", "access_simple", "fee",