Skip to content

Commit

Permalink
Add preset for place=square
Browse files Browse the repository at this point in the history
(closes #3658)
  • Loading branch information
bhousel committed Jan 7, 2017
1 parent 6fd7743 commit 104262e
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 0 deletions.
4 changes: 4 additions & 0 deletions data/presets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3367,6 +3367,10 @@ en:
name: Neighborhood
# 'terms: neighbourhood'
terms: '<translate with synonyms or related terms for ''Neighborhood'', separated by commas>'
place/square:
# place=square
name: Square
terms: '<translate with synonyms or related terms for ''Square'', separated by commas>'
place/suburb:
# place=suburb
name: Borough
Expand Down
10 changes: 10 additions & 0 deletions data/presets/presets.json
Original file line number Diff line number Diff line change
Expand Up @@ -8619,6 +8619,16 @@
],
"name": "Neighborhood"
},
"place/square": {
"geometry": [
"point",
"area"
],
"tags": {
"place": "square"
},
"name": "Square"
},
"place/suburb": {
"icon": "triangle-stroked",
"fields": [
Expand Down
10 changes: 10 additions & 0 deletions data/presets/presets/place/square.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"geometry": [
"point",
"area"
],
"tags": {
"place": "square"
},
"name": "Square"
}
4 changes: 4 additions & 0 deletions data/taginfo.json
Original file line number Diff line number Diff line change
Expand Up @@ -1895,6 +1895,10 @@
"key": "place",
"value": "neighbourhood"
},
{
"key": "place",
"value": "square"
},
{
"key": "place",
"value": "suburb"
Expand Down
4 changes: 4 additions & 0 deletions dist/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -3705,6 +3705,10 @@
"name": "Neighborhood",
"terms": "neighbourhood"
},
"place/square": {
"name": "Square",
"terms": ""
},
"place/suburb": {
"name": "Borough",
"terms": "Boro,Quarter"
Expand Down

0 comments on commit 104262e

Please sign in to comment.