Skip to content

Commit 85383c3

Browse files
committed
Change "Pavilion" from an amenity=shelter to a building=pavilion
(closes #5325) https://wiki.openstreetmap.org/wiki/Tag:building%3Dpavilion
1 parent 7eef25c commit 85383c3

File tree

6 files changed

+38
-35
lines changed

6 files changed

+38
-35
lines changed

data/presets.yaml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2459,10 +2459,6 @@ en:
24592459
# 'amenity=shelter, shelter_type=lean_to'
24602460
name: Lean-To
24612461
terms: '<translate with synonyms or related terms for ''Lean-To'', separated by commas>'
2462-
amenity/shelter/pavilion:
2463-
# 'amenity=shelter, shelter_type=pavilion'
2464-
name: Pavilion
2465-
terms: '<translate with synonyms or related terms for ''Pavilion'', separated by commas>'
24662462
amenity/shower:
24672463
# amenity=shower
24682464
name: Shower
@@ -2944,6 +2940,11 @@ en:
29442940
# building=mosque
29452941
name: Mosque Building
29462942
terms: '<translate with synonyms or related terms for ''Mosque Building'', separated by commas>'
2943+
building/pavilion:
2944+
# building=pavilion
2945+
name: Pavilion Building
2946+
# 'terms: sports'
2947+
terms: '<translate with synonyms or related terms for ''Pavilion Building'', separated by commas>'
29472948
building/public:
29482949
# building=public
29492950
name: Public Building

data/presets/presets.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,6 @@
131131
"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"},
132132
"amenity/shelter/gazebo": {"icon": "maki-shelter", "fields": ["name", "building_area", "bench", "lit"], "geometry": ["point", "area"], "tags": {"amenity": "shelter", "shelter_type": "gazebo"}, "name": "Gazebo"},
133133
"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"},
134-
"amenity/shelter/pavilion": {"icon": "maki-shelter", "fields": ["name", "building_area", "bench", "bin"], "geometry": ["point", "vertex", "area"], "tags": {"amenity": "shelter", "shelter_type": "pavilion"}, "name": "Pavilion"},
135134
"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"},
136135
"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"},
137136
"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"},
@@ -240,6 +239,7 @@
240239
"building/industrial": {"icon": "maki-industry", "fields": ["name", "address", "levels", "height"], "geometry": ["area"], "tags": {"building": "industrial"}, "matchScore": 0.5, "name": "Industrial Building"},
241240
"building/kindergarten": {"icon": "maki-building", "fields": ["name", "address", "levels", "height"], "geometry": ["area"], "terms": ["kindergarden", "pre-school"], "tags": {"building": "kindergarten"}, "matchScore": 0.5, "name": "Preschool/Kindergarten Building"},
242241
"building/mosque": {"icon": "maki-place-of-worship", "fields": ["name", "address", "levels", "height"], "geometry": ["area"], "tags": {"building": "mosque"}, "matchScore": 0.5, "name": "Mosque Building"},
242+
"building/pavilion": {"icon": "maki-building", "fields": ["name", "address", "levels", "height", "smoking"], "geometry": ["area"], "terms": ["sports"], "tags": {"building": "pavilion"}, "matchScore": 0.5, "name": "Pavilion Building"},
243243
"building/public": {"icon": "maki-building", "fields": ["name", "address", "levels", "height", "smoking"], "geometry": ["area"], "tags": {"building": "public"}, "matchScore": 0.5, "name": "Public Building"},
244244
"building/residential": {"icon": "maki-residential-community", "fields": ["name", "address", "levels", "height"], "geometry": ["area"], "tags": {"building": "residential"}, "matchScore": 0.5, "name": "Residential Building"},
245245
"building/retail": {"icon": "maki-commercial", "fields": ["name", "address", "levels", "height", "smoking"], "geometry": ["area"], "tags": {"building": "retail"}, "matchScore": 0.5, "name": "Retail Building"},

data/presets/presets/amenity/shelter/pavilion.json

Lines changed: 0 additions & 19 deletions
This file was deleted.
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"icon": "maki-building",
3+
"fields": [
4+
"name",
5+
"address",
6+
"levels",
7+
"height",
8+
"smoking"
9+
],
10+
"geometry": [
11+
"area"
12+
],
13+
"terms": [
14+
"sports"
15+
],
16+
"tags": {
17+
"building": "pavilion"
18+
},
19+
"matchScore": 0.5,
20+
"name": "Pavilion Building"
21+
}

data/taginfo.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -889,13 +889,6 @@
889889
"object_types": ["node", "area"],
890890
"icon_url": "https://raw.githubusercontent.com/mapbox/maki/master/icons/shelter-15.svg?sanitize=true"
891891
},
892-
{
893-
"key": "shelter_type",
894-
"value": "pavilion",
895-
"description": "Pavilion",
896-
"object_types": ["node", "area"],
897-
"icon_url": "https://raw.githubusercontent.com/mapbox/maki/master/icons/shelter-15.svg?sanitize=true"
898-
},
899892
{
900893
"key": "amenity",
901894
"value": "shower",
@@ -1636,6 +1629,13 @@
16361629
"object_types": ["area"],
16371630
"icon_url": "https://raw.githubusercontent.com/mapbox/maki/master/icons/place-of-worship-15.svg?sanitize=true"
16381631
},
1632+
{
1633+
"key": "building",
1634+
"value": "pavilion",
1635+
"description": "Pavilion Building",
1636+
"object_types": ["area"],
1637+
"icon_url": "https://raw.githubusercontent.com/mapbox/maki/master/icons/building-15.svg?sanitize=true"
1638+
},
16391639
{
16401640
"key": "building",
16411641
"value": "public",

dist/locales/en.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3569,10 +3569,6 @@
35693569
"name": "Lean-To",
35703570
"terms": ""
35713571
},
3572-
"amenity/shelter/pavilion": {
3573-
"name": "Pavilion",
3574-
"terms": ""
3575-
},
35763572
"amenity/shower": {
35773573
"name": "Shower",
35783574
"terms": "rain closet"
@@ -4005,6 +4001,10 @@
40054001
"name": "Mosque Building",
40064002
"terms": ""
40074003
},
4004+
"building/pavilion": {
4005+
"name": "Pavilion Building",
4006+
"terms": "sports"
4007+
},
40084008
"building/public": {
40094009
"name": "Public Building",
40104010
"terms": ""

0 commit comments

Comments
 (0)