Skip to content

Commit

Permalink
Merge pull request #3621 from samely/master
Browse files Browse the repository at this point in the history
add presets to amenity=food_court and amenity=crematorium
  • Loading branch information
bhousel authored Nov 26, 2016
2 parents cc648d8 + c51c170 commit cd1ac6e
Show file tree
Hide file tree
Showing 6 changed files with 115 additions and 0 deletions.
10 changes: 10 additions & 0 deletions data/presets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1421,6 +1421,11 @@ en:
name: Coworking Space
# 'terms: coworking,office'
terms: '<translate with synonyms or related terms for ''Coworking Space'', separated by commas>'
amenity/crematorium:
# amenity=crematorium
name: Crematorium
# 'terms: cemetery,funeral'
terms: '<translate with synonyms or related terms for ''Crematorium'', separated by commas>'
amenity/dentist:
# amenity=dentist
name: Dentist
Expand Down Expand Up @@ -1458,6 +1463,11 @@ en:
# amenity=fire_station
name: Fire Station
terms: '<translate with synonyms or related terms for ''Fire Station'', separated by commas>'
amenity/food_court:
# amenity=food_court
name: Food Court
# 'terms: fast food,restaurant,food'
terms: '<translate with synonyms or related terms for ''Food Court'', separated by commas>'
amenity/fountain:
# amenity=fountain
name: Fountain
Expand Down
45 changes: 45 additions & 0 deletions data/presets/presets.json
Original file line number Diff line number Diff line change
Expand Up @@ -1038,6 +1038,27 @@
},
"name": "Coworking Space"
},
"amenity/crematorium": {
"icon": "cemetery",
"fields": [
"website",
"phone",
"opening_hours",
"wheelchair"
],
"geometry": [
"area",
"point"
],
"tags": {
"amenity": "crematorium"
},
"terms": [
"cemetery",
"funeral"
],
"name": "Crematorium"
},
"amenity/dentist": {
"icon": "dentist",
"fields": [
Expand Down Expand Up @@ -1191,6 +1212,30 @@
},
"name": "Fire Station"
},
"amenity/food_court": {
"icon": "restaurant",
"fields": [
"operator",
"address",
"building_area",
"opening_hours",
"smoking",
"outdoor_seating"
],
"geometry": [
"point",
"area"
],
"terms": [
"fast food",
"restaurant",
"food"
],
"tags": {
"amenity": "food_court"
},
"name": "Food Court"
},
"amenity/fountain": {
"geometry": [
"point",
Expand Down
19 changes: 19 additions & 0 deletions data/presets/presets/amenity/crematorium.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"icon": "cemetery",
"fields": [
"website",
"phone",
"opening_hours",
"wheelchair"

],
"geometry": [
"area",
"point"
],
"tags": {
"amenity": "crematorium"
},
"terms": ["cemetery","funeral"],
"name": "Crematorium"
}
25 changes: 25 additions & 0 deletions data/presets/presets/amenity/food_court.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"icon": "restaurant",
"fields": [
"operator",
"address",
"building_area",
"opening_hours",
"smoking",
"outdoor_seating"
],
"geometry": [
"point",
"area"
],
"terms": [
"fast food",
"restaurant",
"food"
],
"tags": {
"amenity": "food_court"
},
"name": "Food Court"
}

8 changes: 8 additions & 0 deletions data/taginfo.json
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,10 @@
"key": "amenity",
"value": "coworking_space"
},
{
"key": "amenity",
"value": "crematorium"
},
{
"key": "amenity",
"value": "dentist"
Expand Down Expand Up @@ -267,6 +271,10 @@
"key": "amenity",
"value": "fire_station"
},
{
"key": "amenity",
"value": "food_court"
},
{
"key": "amenity",
"value": "fountain"
Expand Down
8 changes: 8 additions & 0 deletions dist/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -1875,6 +1875,10 @@
"name": "Coworking Space",
"terms": "coworking,office"
},
"amenity/crematorium": {
"name": "Crematorium",
"terms": "cemetery,funeral"
},
"amenity/dentist": {
"name": "Dentist",
"terms": "tooth,teeth"
Expand Down Expand Up @@ -1907,6 +1911,10 @@
"name": "Fire Station",
"terms": ""
},
"amenity/food_court": {
"name": "Food Court",
"terms": "fast food,restaurant,food"
},
"amenity/fountain": {
"name": "Fountain",
"terms": ""
Expand Down

0 comments on commit cd1ac6e

Please sign in to comment.