From 269fd357c9d57a24d0fec87759880a55180c6582 Mon Sep 17 00:00:00 2001 From: enighter Date: Mon, 1 Oct 2018 14:42:58 +0800 Subject: [PATCH] Add Transit Shelter preset --- data/presets.yaml | 5 +++ data/presets/presets.json | 1 + .../amenity/shelter/public_transport.json | 28 ++++++++++++++++ data/taginfo.json | 7 ++++ dist/locales/en.json | 32 +++++++++++++++++++ 5 files changed, 73 insertions(+) create mode 100644 data/presets/presets/amenity/shelter/public_transport.json diff --git a/data/presets.yaml b/data/presets.yaml index e7875d38c0..a2d65f4c87 100644 --- a/data/presets.yaml +++ b/data/presets.yaml @@ -2472,6 +2472,11 @@ en: # 'amenity=shelter, shelter_type=lean_to' name: Lean-To terms: '' + amenity/shelter/public_transport: + # 'amenity=shelter, shelter_type=public_transport' + name: Transit Shelter + # 'terms: bus stop,metro stop,waiting' + terms: '' amenity/shower: # amenity=shower name: Shower diff --git a/data/presets/presets.json b/data/presets/presets.json index f027b0342a..8c16f5443e 100644 --- a/data/presets/presets.json +++ b/data/presets/presets.json @@ -131,6 +131,7 @@ "amenity/shelter": {"icon": "maki-shelter", "fields": ["name", "shelter_type", "building_area", "bench", "bin"], "geometry": ["point", "vertex", "area"], "terms": ["lean-to", "gazebo", "picnic"], "tags": {"amenity": "shelter"}, "name": "Shelter"}, "amenity/shelter/gazebo": {"icon": "maki-shelter", "fields": ["name", "building_area", "bench", "lit"], "geometry": ["point", "area"], "tags": {"amenity": "shelter", "shelter_type": "gazebo"}, "name": "Gazebo"}, "amenity/shelter/lean_to": {"icon": "maki-shelter", "fields": ["name", "operator", "building_area"], "geometry": ["point", "area"], "tags": {"amenity": "shelter", "shelter_type": "lean_to"}, "name": "Lean-To"}, + "amenity/shelter/public_transport": {"icon": "maki-shelter", "fields": ["name", "shelter_type", "building_area", "bench", "lit"], "geometry": ["point", "area"], "terms": ["bus stop", "metro stop", "waiting"], "tags": {"amenity": "shelter", "shelter_type": "public_transport"}, "reference": {"key": "shelter_type", "value": "public_transport"}, "name": "Transit Shelter"}, "amenity/shower": {"icon": "temaki-shower", "fields": ["operator", "opening_hours", "fee", "supervised", "building_area", "access_simple"], "geometry": ["point", "vertex", "area"], "terms": ["rain closet"], "tags": {"amenity": "shower"}, "name": "Shower"}, "amenity/smoking_area": {"icon": "fas-smoking", "fields": ["name", "shelter", "bin", "bench", "opening_hours"], "geometry": ["point", "vertex", "area"], "terms": [], "tags": {"amenity": "smoking_area"}, "name": "Smoking Area"}, "amenity/social_facility": {"icon": "temaki-social_facility", "fields": ["name", "operator", "address", "building_area", "social_facility", "social_facility_for", "opening_hours", "wheelchair"], "geometry": ["point", "area"], "terms": [], "tags": {"amenity": "social_facility"}, "name": "Social Facility"}, diff --git a/data/presets/presets/amenity/shelter/public_transport.json b/data/presets/presets/amenity/shelter/public_transport.json new file mode 100644 index 0000000000..e7ee477f89 --- /dev/null +++ b/data/presets/presets/amenity/shelter/public_transport.json @@ -0,0 +1,28 @@ +{ + "icon": "maki-shelter", + "fields": [ + "name", + "shelter_type", + "building_area", + "bench", + "lit" + ], + "geometry": [ + "point", + "area" + ], + "terms": [ + "bus stop", + "metro stop", + "waiting" + ], + "tags": { + "amenity": "shelter", + "shelter_type": "public_transport" + }, + "reference": { + "key": "shelter_type", + "value": "public_transport" + }, + "name": "Transit Shelter" +} diff --git a/data/taginfo.json b/data/taginfo.json index 3190e9d4eb..7555cc0294 100644 --- a/data/taginfo.json +++ b/data/taginfo.json @@ -889,6 +889,13 @@ "object_types": ["node", "area"], "icon_url": "https://raw.githubusercontent.com/mapbox/maki/master/icons/shelter-15.svg?sanitize=true" }, + { + "key": "shelter_type", + "value": "public_transport", + "description": "Transit Shelter", + "object_types": ["node", "area"], + "icon_url": "https://raw.githubusercontent.com/mapbox/maki/master/icons/shelter-15.svg?sanitize=true" + }, { "key": "amenity", "value": "shower", diff --git a/dist/locales/en.json b/dist/locales/en.json index c8c1b2ff34..440d390b1c 100644 --- a/dist/locales/en.json +++ b/dist/locales/en.json @@ -3580,6 +3580,10 @@ "name": "Lean-To", "terms": "" }, + "amenity/shelter/public_transport": { + "name": "Transit Shelter", + "terms": "bus stop,metro stop,waiting" + }, "amenity/shower": { "name": "Shower", "terms": "rain closet" @@ -7192,6 +7196,34 @@ "description": "Orthofoto layer provided by basemap.at. \"Successor\" of geoimage.at imagery.", "name": "basemap.at Orthofoto" }, + "eufar-balaton": { + "attribution": { + "text": "EUFAR Balaton ortofotó 2010" + }, + "description": "1940 geo-tagged photography from Balaton Limnological Institute.", + "name": "EUFAR Balaton orthophotos" + }, + "finds.jp_KBN_2500": { + "attribution": { + "text": "GSI KIBAN 2500" + }, + "description": "GSI Kiban 2500 via finds.jp. Good for tracing, but a bit older.", + "name": "Japan GSI KIBAN 2500" + }, + "gsi.go.jp": { + "attribution": { + "text": "GSI Japan" + }, + "description": "Japan GSI ortho Imagery. Usually better than bing, but a bit older.", + "name": "Japan GSI ortho Imagery" + }, + "gsi.go.jp_std_map": { + "attribution": { + "text": "GSI Japan" + }, + "description": "Japan GSI Standard Map. Widely covered.", + "name": "Japan GSI Standard Map" + }, "hike_n_bike": { "attribution": { "text": "© OpenStreetMap contributors"