Skip to content

Commit

Permalink
Allow subway entrance on vertex geometry, update terms
Browse files Browse the repository at this point in the history
(closes #4122)
  • Loading branch information
bhousel committed Jul 7, 2017
1 parent c7c8849 commit 218fffa
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 8 deletions.
2 changes: 2 additions & 0 deletions data/presets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3718,10 +3718,12 @@ en:
railway/subway:
# railway=subway
name: Subway
# 'terms: metro,transit'
terms: '<translate with synonyms or related terms for ''Subway'', separated by commas>'
railway/subway_entrance:
# railway=subway_entrance
name: Subway Entrance
# 'terms: metro,transit'
terms: '<translate with synonyms or related terms for ''Subway Entrance'', separated by commas>'
railway/tram:
# railway=tram
Expand Down
13 changes: 10 additions & 3 deletions data/presets/presets.json
Original file line number Diff line number Diff line change
Expand Up @@ -10202,12 +10202,16 @@
"railway/subway_entrance": {
"icon": "entrance",
"geometry": [
"point"
"point",
"vertex"
],
"tags": {
"railway": "subway_entrance"
},
"terms": [],
"terms": [
"metro",
"transit"
],
"name": "Subway Entrance"
},
"railway/subway": {
Expand All @@ -10224,7 +10228,10 @@
"electrified",
"service_rail"
],
"terms": [],
"terms": [
"metro",
"transit"
],
"name": "Subway"
},
"railway/tram_stop": {
Expand Down
5 changes: 4 additions & 1 deletion data/presets/presets/railway/subway.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
"electrified",
"service_rail"
],
"terms": [],
"terms": [
"metro",
"transit"
],
"name": "Subway"
}
8 changes: 6 additions & 2 deletions data/presets/presets/railway/subway_entrance.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
{
"icon": "entrance",
"geometry": [
"point"
"point",
"vertex"
],
"tags": {
"railway": "subway_entrance"
},
"terms": [],
"terms": [
"metro",
"transit"
],
"name": "Subway Entrance"
}
4 changes: 2 additions & 2 deletions dist/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -4369,11 +4369,11 @@
},
"railway/subway_entrance": {
"name": "Subway Entrance",
"terms": ""
"terms": "metro,transit"
},
"railway/subway": {
"name": "Subway",
"terms": ""
"terms": "metro,transit"
},
"railway/tram_stop": {
"name": "Tram Stop",
Expand Down

0 comments on commit 218fffa

Please sign in to comment.