From 5d285cfd51d56bd5eee9bd1af68cddb7d604b4f4 Mon Sep 17 00:00:00 2001 From: Bryan Housel Date: Sun, 12 Oct 2014 01:39:41 -0400 Subject: [PATCH] add amenity=community_centre preset (closes #2243) --- data/presets.yaml | 3 +++ data/presets/presets.json | 20 +++++++++++++++++++ .../presets/amenity/community_centre.json | 20 +++++++++++++++++++ data/taginfo.json | 4 ++++ dist/locales/en.json | 4 ++++ 5 files changed, 51 insertions(+) create mode 100644 data/presets/presets/amenity/community_centre.json diff --git a/data/presets.yaml b/data/presets.yaml index 66ed5376b..f36548628 100644 --- a/data/presets.yaml +++ b/data/presets.yaml @@ -674,6 +674,9 @@ en: amenity/college: name: College Grounds terms: "" + amenity/community_centre: + name: Community Center + terms: "" amenity/compressed_air: name: Compressed Air terms: "" diff --git a/data/presets/presets.json b/data/presets/presets.json index 080c91594..899c3f814 100644 --- a/data/presets/presets.json +++ b/data/presets/presets.json @@ -728,6 +728,26 @@ }, "name": "College Grounds" }, + "amenity/community_centre": { + "icon": "town-hall", + "fields": [ + "operator", + "address", + "building_area" + ], + "geometry": [ + "point", + "area" + ], + "terms": [ + "event", + "hall" + ], + "tags": { + "amenity": "community_centre" + }, + "name": "Community Center" + }, "amenity/compressed_air": { "icon": "car", "geometry": [ diff --git a/data/presets/presets/amenity/community_centre.json b/data/presets/presets/amenity/community_centre.json new file mode 100644 index 000000000..706e187fe --- /dev/null +++ b/data/presets/presets/amenity/community_centre.json @@ -0,0 +1,20 @@ +{ + "icon": "town-hall", + "fields": [ + "operator", + "address", + "building_area" + ], + "geometry": [ + "point", + "area" + ], + "terms": [ + "event", + "hall" + ], + "tags": { + "amenity": "community_centre" + }, + "name": "Community Center" +} diff --git a/data/taginfo.json b/data/taginfo.json index 42de46f3f..0b7844bfd 100644 --- a/data/taginfo.json +++ b/data/taginfo.json @@ -176,6 +176,10 @@ "key": "amenity", "value": "college" }, + { + "key": "amenity", + "value": "community_centre" + }, { "key": "amenity", "value": "compressed_air" diff --git a/dist/locales/en.json b/dist/locales/en.json index 7df4440a2..a04c2cfb4 100644 --- a/dist/locales/en.json +++ b/dist/locales/en.json @@ -1333,6 +1333,10 @@ "name": "College Grounds", "terms": "university" }, + "amenity/community_centre": { + "name": "Community Center", + "terms": "event,hall" + }, "amenity/compressed_air": { "name": "Compressed Air", "terms": ""