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 prison preset #3073

Merged
merged 1 commit into from
Apr 25, 2016
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
5 changes: 5 additions & 0 deletions data/presets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1447,6 +1447,11 @@ en:
name: Post Office
# 'terms: letter,mail'
terms: "<translate with synonyms or related terms for 'Post Office', separated by commas>"
amenity/prison:
# amenity=prison
name: Prison Grounds
# 'terms: cell,jail'
terms: "<translate with synonyms or related terms for 'Prison Grounds', separated by commas>"
amenity/pub:
# amenity=pub
name: Pub
Expand Down
19 changes: 19 additions & 0 deletions data/presets/presets.json
Original file line number Diff line number Diff line change
Expand Up @@ -1507,6 +1507,25 @@
},
"name": "Post Office"
},
"amenity/prison": {
"icon": "prison",
"fields": [
"operator",
"access"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this should be address not access?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I made this change and merged..

],
"geometry": [
"point",
"area"
],
"terms": [
"cell",
"jail"
],
"tags": {
"amenity": "prison"
},
"name": "Prison Grounds"
},
"amenity/pub": {
"icon": "beer",
"fields": [
Expand Down
19 changes: 19 additions & 0 deletions data/presets/presets/amenity/prison.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"icon": "prison",
"fields": [
"operator",
"access"
],
"geometry": [
"point",
"area"
],
"terms": [
"cell",
"jail"
],
"tags": {
"amenity": "prison"
},
"name": "Prison Grounds"
}
4 changes: 4 additions & 0 deletions data/taginfo.json
Original file line number Diff line number Diff line change
Expand Up @@ -324,6 +324,10 @@
"key": "amenity",
"value": "post_office"
},
{
"key": "amenity",
"value": "prison"
},
{
"key": "amenity",
"value": "pub"
Expand Down
4 changes: 4 additions & 0 deletions dist/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -1857,6 +1857,10 @@
"name": "Post Office",
"terms": "letter,mail"
},
"amenity/prison": {
"name": "Prison Grounds",
"terms": "cell,jail"
},
"amenity/pub": {
"name": "Pub",
"terms": "dive,beer,bier,booze"
Expand Down