Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add landuse=religious preset #4478

Merged
merged 2 commits into from
Oct 27, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions data/presets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3413,6 +3413,10 @@ en:
name: Recreation Ground
# 'terms: playing fields'
terms: '<translate with synonyms or related terms for ''Recreation Ground'', separated by commas>'
landuse/religious:
# landuse=religious
name: Religious Area
terms: '<translate with synonyms or related terms for ''Religious Area'', separated by commas>'
landuse/residential:
# landuse=residential
name: Residential Area
Expand Down
3 changes: 2 additions & 1 deletion data/presets/categories.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@
"landuse/meadow",
"landuse/aquaculture",
"landuse/cemetery",
"landuse/military"
"landuse/military",
"landuse/religious"
]
},
"category-natural-area": {
Expand Down
3 changes: 2 additions & 1 deletion data/presets/categories/landuse.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"landuse/meadow",
"landuse/aquaculture",
"landuse/cemetery",
"landuse/military"
"landuse/military",
"landuse/religious"
]
}
13 changes: 13 additions & 0 deletions data/presets/presets.json
Original file line number Diff line number Diff line change
Expand Up @@ -8758,6 +8758,19 @@
],
"name": "Recreation Ground"
},
"landuse/religious": {
"geometry": [
"area"
],
"fields": [
"name"
],
"tags": {
"landuse": "religious"
},
"terms": [],
"name": "Religious Area"
},
"landuse/residential": {
"icon": "building",
"geometry": [
Expand Down
13 changes: 13 additions & 0 deletions data/presets/presets/landuse/religious.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"geometry": [
"area"
],
"fields": [
"name"
],
"tags": {
"landuse": "religious"
},
"terms": [],
"name": "Religious Area"
}
4 changes: 4 additions & 0 deletions data/taginfo.json
Original file line number Diff line number Diff line change
Expand Up @@ -1654,6 +1654,10 @@
"key": "landuse",
"value": "recreation_ground"
},
{
"key": "landuse",
"value": "religious"
},
{
"key": "landuse",
"value": "residential"
Expand Down
4 changes: 4 additions & 0 deletions dist/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -4078,6 +4078,10 @@
"name": "Recreation Ground",
"terms": "playing fields"
},
"landuse/religious": {
"name": "Religious Area",
"terms": ""
},
"landuse/residential": {
"name": "Residential Area",
"terms": ""
Expand Down