mirror of
https://github.com/FoggedLens/iD.git
synced 2026-04-21 11:16:36 +02:00
improve railway presets
* add preset for funiculars * add preset for narrow gauge railways * add gauge field to some railway presets * add "electrified" field to some railway presets
This commit is contained in:
@@ -133,6 +133,8 @@ en:
|
||||
label: Denotation
|
||||
description:
|
||||
label: Description
|
||||
electrified:
|
||||
label: Electrification
|
||||
elevation:
|
||||
label: Elevation
|
||||
emergency:
|
||||
@@ -148,6 +150,8 @@ en:
|
||||
label: Type
|
||||
fixme:
|
||||
label: Fix Me
|
||||
gauge:
|
||||
label: Gauge
|
||||
generator/method:
|
||||
label: Method
|
||||
generator/source:
|
||||
@@ -1322,6 +1326,9 @@ en:
|
||||
railway/disused:
|
||||
name: Disused Railway
|
||||
terms: "<translate with synonyms or related terms for 'Disused Railway', separated by commas>"
|
||||
railway/funicular:
|
||||
name: Funicular
|
||||
terms: "<translate with synonyms or related terms for 'Funicular', separated by commas>"
|
||||
railway/halt:
|
||||
name: Railway Halt
|
||||
terms: "<translate with synonyms or related terms for 'Railway Halt', separated by commas>"
|
||||
@@ -1331,6 +1338,9 @@ en:
|
||||
railway/monorail:
|
||||
name: Monorail
|
||||
terms: "<translate with synonyms or related terms for 'Monorail', separated by commas>"
|
||||
railway/narrow_gauge:
|
||||
name: Narrow Gauge Rail
|
||||
terms: "<translate with synonyms or related terms for 'Narrow Gauge Rail', separated by commas>"
|
||||
railway/platform:
|
||||
name: Railway Platform
|
||||
terms: "<translate with synonyms or related terms for 'Railway Platform', separated by commas>"
|
||||
|
||||
@@ -10,4 +10,4 @@
|
||||
"railway/disused",
|
||||
"railway/abandoned"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -293,6 +293,17 @@
|
||||
"type": "textarea",
|
||||
"label": "Description"
|
||||
},
|
||||
"electrified": {
|
||||
"key": "electrified",
|
||||
"type": "combo",
|
||||
"label": "Electrification",
|
||||
"options": [
|
||||
"contact_line",
|
||||
"rail",
|
||||
"yes",
|
||||
"no"
|
||||
]
|
||||
},
|
||||
"elevation": {
|
||||
"key": "ele",
|
||||
"type": "number",
|
||||
@@ -337,6 +348,11 @@
|
||||
"type": "textarea",
|
||||
"label": "Fix Me"
|
||||
},
|
||||
"gauge": {
|
||||
"key": "gauge",
|
||||
"type": "combo",
|
||||
"label": "Gauge"
|
||||
},
|
||||
"generator/method": {
|
||||
"key": "generator:method",
|
||||
"type": "combo",
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"key": "electrified",
|
||||
"type": "combo",
|
||||
"label": "Electrification",
|
||||
"options": [
|
||||
"contact_line",
|
||||
"rail",
|
||||
"yes",
|
||||
"no"
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"key": "gauge",
|
||||
"type": "combo",
|
||||
"label": "Gauge"
|
||||
}
|
||||
@@ -5505,6 +5505,27 @@
|
||||
"terms": [],
|
||||
"name": "Disused Railway"
|
||||
},
|
||||
"railway/funicular": {
|
||||
"geometry": [
|
||||
"line"
|
||||
],
|
||||
"terms": [
|
||||
"venicular",
|
||||
"cliff railway",
|
||||
"cable car",
|
||||
"cable railway",
|
||||
"funicular railway"
|
||||
],
|
||||
"fields": [
|
||||
"structure",
|
||||
"gauge"
|
||||
],
|
||||
"tags": {
|
||||
"railway": "funicular"
|
||||
},
|
||||
"icon": "railway-rail",
|
||||
"name": "Funicular"
|
||||
},
|
||||
"railway/halt": {
|
||||
"icon": "rail",
|
||||
"geometry": [
|
||||
@@ -5550,11 +5571,31 @@
|
||||
"railway": "monorail"
|
||||
},
|
||||
"fields": [
|
||||
"structure"
|
||||
"structure",
|
||||
"electrified"
|
||||
],
|
||||
"terms": [],
|
||||
"name": "Monorail"
|
||||
},
|
||||
"railway/narrow_gauge": {
|
||||
"icon": "railway-rail",
|
||||
"geometry": [
|
||||
"line"
|
||||
],
|
||||
"tags": {
|
||||
"railway": "narrow_gauge"
|
||||
},
|
||||
"fields": [
|
||||
"structure",
|
||||
"gauge",
|
||||
"electrified"
|
||||
],
|
||||
"terms": [
|
||||
"narrow gauge railway",
|
||||
"narrow gauge railroad"
|
||||
],
|
||||
"name": "Narrow Gauge Rail"
|
||||
},
|
||||
"railway/platform": {
|
||||
"geometry": [
|
||||
"point",
|
||||
@@ -5576,7 +5617,9 @@
|
||||
"railway": "rail"
|
||||
},
|
||||
"fields": [
|
||||
"structure"
|
||||
"structure",
|
||||
"gauge",
|
||||
"electrified"
|
||||
],
|
||||
"terms": [],
|
||||
"name": "Rail"
|
||||
@@ -5600,7 +5643,9 @@
|
||||
"railway/subway": {
|
||||
"icon": "railway-subway",
|
||||
"fields": [
|
||||
"structure"
|
||||
"structure",
|
||||
"gauge",
|
||||
"electrified"
|
||||
],
|
||||
"geometry": [
|
||||
"line"
|
||||
@@ -5631,7 +5676,9 @@
|
||||
"railway": "tram"
|
||||
},
|
||||
"fields": [
|
||||
"structure"
|
||||
"structure",
|
||||
"gauge",
|
||||
"electrified"
|
||||
],
|
||||
"terms": [
|
||||
"streetcar"
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"geometry": [
|
||||
"line"
|
||||
],
|
||||
"terms": [
|
||||
"venicular",
|
||||
"cliff railway",
|
||||
"cable car",
|
||||
"cable railway",
|
||||
"funicular railway"
|
||||
],
|
||||
"fields": [
|
||||
"structure",
|
||||
"gauge"
|
||||
],
|
||||
"tags": {
|
||||
"railway": "funicular"
|
||||
},
|
||||
"icon": "railway-rail",
|
||||
"name": "Funicular"
|
||||
}
|
||||
@@ -7,7 +7,8 @@
|
||||
"railway": "monorail"
|
||||
},
|
||||
"fields": [
|
||||
"structure"
|
||||
"structure",
|
||||
"electrified"
|
||||
],
|
||||
"terms": [],
|
||||
"name": "Monorail"
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"icon": "railway-rail",
|
||||
"geometry": [
|
||||
"line"
|
||||
],
|
||||
"tags": {
|
||||
"railway": "narrow_gauge"
|
||||
},
|
||||
"fields": [
|
||||
"structure",
|
||||
"gauge",
|
||||
"electrified"
|
||||
],
|
||||
"terms": [
|
||||
"narrow gauge railway",
|
||||
"narrow gauge railroad"
|
||||
],
|
||||
"name": "Narrow Gauge Rail"
|
||||
}
|
||||
@@ -7,8 +7,10 @@
|
||||
"railway": "rail"
|
||||
},
|
||||
"fields": [
|
||||
"structure"
|
||||
"structure",
|
||||
"gauge",
|
||||
"electrified"
|
||||
],
|
||||
"terms": [],
|
||||
"name": "Rail"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,7 +1,9 @@
|
||||
{
|
||||
"icon": "railway-subway",
|
||||
"fields": [
|
||||
"structure"
|
||||
"structure",
|
||||
"gauge",
|
||||
"electrified"
|
||||
],
|
||||
"geometry": [
|
||||
"line"
|
||||
|
||||
@@ -7,7 +7,9 @@
|
||||
"railway": "tram"
|
||||
},
|
||||
"fields": [
|
||||
"structure"
|
||||
"structure",
|
||||
"gauge",
|
||||
"electrified"
|
||||
],
|
||||
"terms": ["streetcar"],
|
||||
"name": "Tram"
|
||||
|
||||
Vendored
+14
@@ -586,6 +586,9 @@
|
||||
"description": {
|
||||
"label": "Description"
|
||||
},
|
||||
"electrified": {
|
||||
"label": "Electrification"
|
||||
},
|
||||
"elevation": {
|
||||
"label": "Elevation"
|
||||
},
|
||||
@@ -608,6 +611,9 @@
|
||||
"fixme": {
|
||||
"label": "Fix Me"
|
||||
},
|
||||
"gauge": {
|
||||
"label": "Gauge"
|
||||
},
|
||||
"generator/method": {
|
||||
"label": "Method"
|
||||
},
|
||||
@@ -2192,6 +2198,10 @@
|
||||
"name": "Disused Railway",
|
||||
"terms": ""
|
||||
},
|
||||
"railway/funicular": {
|
||||
"name": "Funicular",
|
||||
"terms": "venicular,cliff railway,cable car,cable railway,funicular railway"
|
||||
},
|
||||
"railway/halt": {
|
||||
"name": "Railway Halt",
|
||||
"terms": "break,interrupt,rest,wait,interruption"
|
||||
@@ -2204,6 +2214,10 @@
|
||||
"name": "Monorail",
|
||||
"terms": ""
|
||||
},
|
||||
"railway/narrow_gauge": {
|
||||
"name": "Narrow Gauge Rail",
|
||||
"terms": "narrow gauge railway,narrow gauge railroad"
|
||||
},
|
||||
"railway/platform": {
|
||||
"name": "Railway Platform",
|
||||
"terms": ""
|
||||
|
||||
Reference in New Issue
Block a user