Merge pull request #4196 from openstreetmap/railway_presets

Adding some more railway presets
This commit is contained in:
JamesKingdom
2017-07-31 21:48:07 +01:00
committed by GitHub
11 changed files with 246 additions and 0 deletions
+30
View File
@@ -730,6 +730,11 @@ en:
maxweight:
# maxweight=*
label: Max Weight
milestone_position:
# 'railway:position=*'
label: Milestone Position
# milestone_position field placeholder
placeholder: Distance to one decimal (123.4)
mtb/scale:
# 'mtb:scale=*'
label: Mountain Biking Difficulty
@@ -3760,6 +3765,11 @@ en:
name: Railway Crossing (Path)
# 'terms: crossing,pedestrian crossing,railroad crossing,level crossing,grade crossing,path through railroad,train crossing'
terms: '<translate with synonyms or related terms for ''Railway Crossing (Path)'', separated by commas>'
railway/derail:
# railway=derail
name: Railway Derailer
# 'terms: derailer'
terms: '<translate with synonyms or related terms for ''Railway Derailer'', separated by commas>'
railway/disused:
# railway=disused
name: Disused Railway
@@ -3779,6 +3789,11 @@ en:
name: Railway Crossing (Road)
# 'terms: crossing,railroad crossing,level crossing,grade crossing,road through railroad,train crossing'
terms: '<translate with synonyms or related terms for ''Railway Crossing (Road)'', separated by commas>'
railway/milestone:
# railway=milestone
name: Railway Milestone
# 'terms: milestone,marker'
terms: '<translate with synonyms or related terms for ''Railway Milestone'', separated by commas>'
railway/monorail:
# railway=monorail
name: Monorail
@@ -3796,6 +3811,11 @@ en:
# railway=rail
name: Rail
terms: '<translate with synonyms or related terms for ''Rail'', separated by commas>'
railway/signal:
# railway=signal
name: Railway Signal
# 'terms: signal,lights'
terms: '<translate with synonyms or related terms for ''Railway Signal'', separated by commas>'
railway/station:
# railway=station
name: Railway Station
@@ -3811,6 +3831,16 @@ en:
name: Subway Entrance
# 'terms: metro,transit'
terms: '<translate with synonyms or related terms for ''Subway Entrance'', separated by commas>'
railway/switch:
# railway=switch
name: Railway Switch
# 'terms: switch,points'
terms: '<translate with synonyms or related terms for ''Railway Switch'', separated by commas>'
railway/train_wash:
# railway=wash
name: Train Wash
# 'terms: wash,clean'
terms: '<translate with synonyms or related terms for ''Train Wash'', separated by commas>'
railway/tram:
# railway=tram
name: Tram
+6
View File
@@ -1028,6 +1028,12 @@
"label": "Max Weight",
"snake_case": false
},
"milestone_position": {
"key": "railway:position",
"type": "text",
"placeholder": "Distance to one decimal (123.4)",
"label": "Milestone Position"
},
"mtb/scale": {
"key": "mtb:scale",
"type": "combo",
@@ -0,0 +1,6 @@
{
"key": "railway:position",
"type": "text",
"placeholder": "Distance to one decimal (123.4)",
"label": "Milestone Position"
}
+80
View File
@@ -10313,6 +10313,19 @@
],
"name": "Railway Crossing (Path)"
},
"railway/derail": {
"icon": "roadblock",
"geometry": [
"vertex"
],
"tags": {
"railway": "derail"
},
"terms": [
"derailer"
],
"name": "Railway Derailer"
},
"railway/disused": {
"icon": "railway-disused",
"geometry": [
@@ -10386,6 +10399,24 @@
],
"name": "Railway Crossing (Road)"
},
"railway/milestone": {
"icon": "triangle-stroked",
"geometry": [
"point",
"vertex"
],
"fields": [
"milestone_position"
],
"tags": {
"railway": "milestone"
},
"terms": [
"milestone",
"marker"
],
"name": "Railway Milestone"
},
"railway/monorail": {
"icon": "railway-monorail",
"geometry": [
@@ -10457,6 +10488,21 @@
"terms": [],
"name": "Rail"
},
"railway/signal": {
"icon": "poi-junction",
"geometry": [
"point",
"vertex"
],
"tags": {
"railway": "signal"
},
"terms": [
"signal",
"lights"
],
"name": "Railway Signal"
},
"railway/station": {
"icon": "rail",
"fields": [
@@ -10517,6 +10563,40 @@
],
"name": "Subway"
},
"railway/switch": {
"icon": "poi-junction",
"geometry": [
"vertex"
],
"tags": {
"railway": "switch"
},
"terms": [
"switch",
"points"
],
"name": "Railway Switch"
},
"railway/train_wash": {
"icon": "rail",
"geometry": [
"point",
"vertex",
"area"
],
"fields": [
"operator",
"building_area"
],
"tags": {
"railway": "wash"
},
"terms": [
"wash",
"clean"
],
"name": "Train Wash"
},
"railway/tram_stop": {
"icon": "rail-light",
"fields": [
+13
View File
@@ -0,0 +1,13 @@
{
"icon": "roadblock",
"geometry": [
"vertex"
],
"tags": {
"railway": "derail"
},
"terms": [
"derailer"
],
"name": "Railway Derailer"
}
@@ -0,0 +1,18 @@
{
"icon": "triangle-stroked",
"geometry": [
"point",
"vertex"
],
"fields": [
"milestone_position"
],
"tags": {
"railway": "milestone"
},
"terms": [
"milestone",
"marker"
],
"name": "Railway Milestone"
}
+15
View File
@@ -0,0 +1,15 @@
{
"icon": "poi-junction",
"geometry": [
"point",
"vertex"
],
"tags": {
"railway": "signal"
},
"terms": [
"signal",
"lights"
],
"name": "Railway Signal"
}
+14
View File
@@ -0,0 +1,14 @@
{
"icon": "poi-junction",
"geometry": [
"vertex"
],
"tags": {
"railway": "switch"
},
"terms": [
"switch",
"points"
],
"name": "Railway Switch"
}
@@ -0,0 +1,20 @@
{
"icon": "rail",
"geometry": [
"point",
"vertex",
"area"
],
"fields": [
"operator",
"building_area"
],
"tags": {
"railway": "wash"
},
"terms": [
"wash",
"clean"
],
"name": "Train Wash"
}
+20
View File
@@ -2137,6 +2137,10 @@
"key": "railway",
"value": "crossing"
},
{
"key": "railway",
"value": "derail"
},
{
"key": "railway",
"value": "disused"
@@ -2153,6 +2157,10 @@
"key": "railway",
"value": "level_crossing"
},
{
"key": "railway",
"value": "milestone"
},
{
"key": "railway",
"value": "monorail"
@@ -2169,6 +2177,10 @@
"key": "railway",
"value": "rail"
},
{
"key": "railway",
"value": "signal"
},
{
"key": "railway",
"value": "station"
@@ -2181,6 +2193,14 @@
"key": "railway",
"value": "subway"
},
{
"key": "railway",
"value": "switch"
},
{
"key": "railway",
"value": "wash"
},
{
"key": "railway",
"value": "tram_stop"
+24
View File
@@ -1707,6 +1707,10 @@
"maxweight": {
"label": "Max Weight"
},
"milestone_position": {
"label": "Milestone Position",
"placeholder": "Distance to one decimal (123.4)"
},
"mtb/scale": {
"label": "Mountain Biking Difficulty",
"placeholder": "0, 1, 2, 3...",
@@ -4404,6 +4408,10 @@
"name": "Railway Crossing (Path)",
"terms": "crossing,pedestrian crossing,railroad crossing,level crossing,grade crossing,path through railroad,train crossing"
},
"railway/derail": {
"name": "Railway Derailer",
"terms": "derailer"
},
"railway/disused": {
"name": "Disused Railway",
"terms": ""
@@ -4420,6 +4428,10 @@
"name": "Railway Crossing (Road)",
"terms": "crossing,railroad crossing,level crossing,grade crossing,road through railroad,train crossing"
},
"railway/milestone": {
"name": "Railway Milestone",
"terms": "milestone,marker"
},
"railway/monorail": {
"name": "Monorail",
"terms": ""
@@ -4436,6 +4448,10 @@
"name": "Rail",
"terms": ""
},
"railway/signal": {
"name": "Railway Signal",
"terms": "signal,lights"
},
"railway/station": {
"name": "Railway Station",
"terms": "train station,station"
@@ -4448,6 +4464,14 @@
"name": "Subway",
"terms": "metro,transit"
},
"railway/switch": {
"name": "Railway Switch",
"terms": "switch,points"
},
"railway/train_wash": {
"name": "Train Wash",
"terms": "wash,clean"
},
"railway/tram_stop": {
"name": "Tram Stop",
"terms": "light rail,streetcar,tram,trolley"