mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-15 21:48:20 +02:00
Add usage voltage frequency fields to several rail presets
(closes #4919)
This commit is contained in:
@@ -1563,6 +1563,22 @@ en:
|
||||
label: Type
|
||||
# tunnel field placeholder
|
||||
placeholder: Default
|
||||
usage_rail:
|
||||
# usage=*
|
||||
label: Usage Type
|
||||
options:
|
||||
# usage=branch
|
||||
branch: Branch
|
||||
# usage=industrial
|
||||
industrial: Industrial
|
||||
# usage=main
|
||||
main: Main
|
||||
# usage=military
|
||||
military: Military
|
||||
# usage=test
|
||||
test: Test
|
||||
# usage=tourism
|
||||
tourism: Tourism
|
||||
vending:
|
||||
# vending=*
|
||||
label: Type of Goods
|
||||
|
||||
@@ -2112,6 +2112,21 @@
|
||||
"label": "Type",
|
||||
"placeholder": "Default"
|
||||
},
|
||||
"usage_rail": {
|
||||
"key": "usage",
|
||||
"type": "combo",
|
||||
"label": "Usage Type",
|
||||
"strings": {
|
||||
"options": {
|
||||
"main": "Main",
|
||||
"branch": "Branch",
|
||||
"industrial": "Industrial",
|
||||
"military": "Military",
|
||||
"test": "Test",
|
||||
"tourism": "Tourism"
|
||||
}
|
||||
}
|
||||
},
|
||||
"vending": {
|
||||
"key": "vending",
|
||||
"type": "combo",
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"key": "usage",
|
||||
"type": "combo",
|
||||
"label": "Usage Type",
|
||||
"strings": {
|
||||
"options": {
|
||||
"main": "Main",
|
||||
"branch": "Branch",
|
||||
"industrial": "Industrial",
|
||||
"military": "Military",
|
||||
"test": "Test",
|
||||
"tourism": "Tourism"
|
||||
}
|
||||
}
|
||||
}
|
||||
+70
-50
@@ -15499,17 +15499,18 @@
|
||||
},
|
||||
"railway/abandoned": {
|
||||
"icon": "railway-abandoned",
|
||||
"fields": [
|
||||
"name",
|
||||
"structure",
|
||||
"service_rail",
|
||||
"usage_rail"
|
||||
],
|
||||
"geometry": [
|
||||
"line"
|
||||
],
|
||||
"tags": {
|
||||
"railway": "abandoned"
|
||||
},
|
||||
"fields": [
|
||||
"name",
|
||||
"structure",
|
||||
"service_rail"
|
||||
],
|
||||
"terms": [],
|
||||
"name": "Abandoned Railway"
|
||||
},
|
||||
@@ -15562,16 +15563,17 @@
|
||||
},
|
||||
"railway/disused": {
|
||||
"icon": "railway-disused",
|
||||
"fields": [
|
||||
"structure",
|
||||
"service_rail",
|
||||
"usage_rail"
|
||||
],
|
||||
"geometry": [
|
||||
"line"
|
||||
],
|
||||
"tags": {
|
||||
"railway": "disused"
|
||||
},
|
||||
"fields": [
|
||||
"structure",
|
||||
"service_rail"
|
||||
],
|
||||
"terms": [],
|
||||
"name": "Disused Railway"
|
||||
},
|
||||
@@ -15617,19 +15619,22 @@
|
||||
},
|
||||
"railway/light_rail": {
|
||||
"icon": "railway-light-rail",
|
||||
"fields": [
|
||||
"name",
|
||||
"structure",
|
||||
"gauge",
|
||||
"electrified",
|
||||
"service_rail",
|
||||
"usage_rail",
|
||||
"voltage",
|
||||
"frequency"
|
||||
],
|
||||
"geometry": [
|
||||
"line"
|
||||
],
|
||||
"tags": {
|
||||
"railway": "light_rail"
|
||||
},
|
||||
"fields": [
|
||||
"name",
|
||||
"structure",
|
||||
"gauge",
|
||||
"electrified",
|
||||
"service_rail"
|
||||
],
|
||||
"terms": [
|
||||
"light rail",
|
||||
"streetcar",
|
||||
@@ -15679,36 +15684,42 @@
|
||||
},
|
||||
"railway/monorail": {
|
||||
"icon": "railway-monorail",
|
||||
"fields": [
|
||||
"name",
|
||||
"structure",
|
||||
"electrified",
|
||||
"service_rail",
|
||||
"usage_rail",
|
||||
"voltage",
|
||||
"frequency"
|
||||
],
|
||||
"geometry": [
|
||||
"line"
|
||||
],
|
||||
"tags": {
|
||||
"railway": "monorail"
|
||||
},
|
||||
"fields": [
|
||||
"name",
|
||||
"structure",
|
||||
"electrified",
|
||||
"service_rail"
|
||||
],
|
||||
"terms": [],
|
||||
"name": "Monorail"
|
||||
},
|
||||
"railway/narrow_gauge": {
|
||||
"icon": "railway-rail",
|
||||
"fields": [
|
||||
"name",
|
||||
"structure",
|
||||
"gauge",
|
||||
"electrified",
|
||||
"service_rail",
|
||||
"usage_rail",
|
||||
"voltage",
|
||||
"frequency"
|
||||
],
|
||||
"geometry": [
|
||||
"line"
|
||||
],
|
||||
"tags": {
|
||||
"railway": "narrow_gauge"
|
||||
},
|
||||
"fields": [
|
||||
"name",
|
||||
"structure",
|
||||
"gauge",
|
||||
"electrified",
|
||||
"service_rail"
|
||||
],
|
||||
"terms": [
|
||||
"narrow gauge railway",
|
||||
"narrow gauge railroad"
|
||||
@@ -15717,20 +15728,23 @@
|
||||
},
|
||||
"railway/rail": {
|
||||
"icon": "railway-rail",
|
||||
"geometry": [
|
||||
"line"
|
||||
],
|
||||
"tags": {
|
||||
"railway": "rail"
|
||||
},
|
||||
"fields": [
|
||||
"name",
|
||||
"structure",
|
||||
"gauge",
|
||||
"electrified",
|
||||
"maxspeed",
|
||||
"service_rail"
|
||||
"service_rail",
|
||||
"usage_rail",
|
||||
"voltage",
|
||||
"frequency"
|
||||
],
|
||||
"geometry": [
|
||||
"line"
|
||||
],
|
||||
"tags": {
|
||||
"railway": "rail"
|
||||
},
|
||||
"terms": [],
|
||||
"name": "Rail"
|
||||
},
|
||||
@@ -15774,19 +15788,22 @@
|
||||
},
|
||||
"railway/subway": {
|
||||
"icon": "railway-subway",
|
||||
"fields": [
|
||||
"name",
|
||||
"structure",
|
||||
"gauge",
|
||||
"electrified",
|
||||
"service_rail",
|
||||
"usage_rail",
|
||||
"voltage",
|
||||
"frequency"
|
||||
],
|
||||
"geometry": [
|
||||
"line"
|
||||
],
|
||||
"tags": {
|
||||
"railway": "subway"
|
||||
},
|
||||
"fields": [
|
||||
"name",
|
||||
"structure",
|
||||
"gauge",
|
||||
"electrified",
|
||||
"service_rail"
|
||||
],
|
||||
"terms": [
|
||||
"metro",
|
||||
"transit"
|
||||
@@ -15829,19 +15846,22 @@
|
||||
},
|
||||
"railway/tram": {
|
||||
"icon": "railway-light-rail",
|
||||
"fields": [
|
||||
"name",
|
||||
"structure",
|
||||
"gauge",
|
||||
"electrified",
|
||||
"service_rail",
|
||||
"usage_rail",
|
||||
"voltage",
|
||||
"frequency"
|
||||
],
|
||||
"geometry": [
|
||||
"line"
|
||||
],
|
||||
"tags": {
|
||||
"railway": "tram"
|
||||
},
|
||||
"fields": [
|
||||
"name",
|
||||
"structure",
|
||||
"gauge",
|
||||
"electrified",
|
||||
"service_rail"
|
||||
],
|
||||
"terms": [
|
||||
"light rail",
|
||||
"streetcar",
|
||||
|
||||
@@ -1,16 +1,17 @@
|
||||
{
|
||||
"icon": "railway-abandoned",
|
||||
"fields": [
|
||||
"name",
|
||||
"structure",
|
||||
"service_rail",
|
||||
"usage_rail"
|
||||
],
|
||||
"geometry": [
|
||||
"line"
|
||||
],
|
||||
"tags": {
|
||||
"railway": "abandoned"
|
||||
},
|
||||
"fields": [
|
||||
"name",
|
||||
"structure",
|
||||
"service_rail"
|
||||
],
|
||||
"terms": [],
|
||||
"name": "Abandoned Railway"
|
||||
}
|
||||
|
||||
@@ -1,15 +1,16 @@
|
||||
{
|
||||
"icon": "railway-disused",
|
||||
"fields": [
|
||||
"structure",
|
||||
"service_rail",
|
||||
"usage_rail"
|
||||
],
|
||||
"geometry": [
|
||||
"line"
|
||||
],
|
||||
"tags": {
|
||||
"railway": "disused"
|
||||
},
|
||||
"fields": [
|
||||
"structure",
|
||||
"service_rail"
|
||||
],
|
||||
"terms": [],
|
||||
"name": "Disused Railway"
|
||||
}
|
||||
|
||||
@@ -1,18 +1,21 @@
|
||||
{
|
||||
"icon": "railway-light-rail",
|
||||
"fields": [
|
||||
"name",
|
||||
"structure",
|
||||
"gauge",
|
||||
"electrified",
|
||||
"service_rail",
|
||||
"usage_rail",
|
||||
"voltage",
|
||||
"frequency"
|
||||
],
|
||||
"geometry": [
|
||||
"line"
|
||||
],
|
||||
"tags": {
|
||||
"railway": "light_rail"
|
||||
},
|
||||
"fields": [
|
||||
"name",
|
||||
"structure",
|
||||
"gauge",
|
||||
"electrified",
|
||||
"service_rail"
|
||||
],
|
||||
"terms": [
|
||||
"light rail",
|
||||
"streetcar",
|
||||
|
||||
@@ -1,17 +1,20 @@
|
||||
{
|
||||
"icon": "railway-monorail",
|
||||
"fields": [
|
||||
"name",
|
||||
"structure",
|
||||
"electrified",
|
||||
"service_rail",
|
||||
"usage_rail",
|
||||
"voltage",
|
||||
"frequency"
|
||||
],
|
||||
"geometry": [
|
||||
"line"
|
||||
],
|
||||
"tags": {
|
||||
"railway": "monorail"
|
||||
},
|
||||
"fields": [
|
||||
"name",
|
||||
"structure",
|
||||
"electrified",
|
||||
"service_rail"
|
||||
],
|
||||
"terms": [],
|
||||
"name": "Monorail"
|
||||
}
|
||||
|
||||
@@ -1,18 +1,21 @@
|
||||
{
|
||||
"icon": "railway-rail",
|
||||
"fields": [
|
||||
"name",
|
||||
"structure",
|
||||
"gauge",
|
||||
"electrified",
|
||||
"service_rail",
|
||||
"usage_rail",
|
||||
"voltage",
|
||||
"frequency"
|
||||
],
|
||||
"geometry": [
|
||||
"line"
|
||||
],
|
||||
"tags": {
|
||||
"railway": "narrow_gauge"
|
||||
},
|
||||
"fields": [
|
||||
"name",
|
||||
"structure",
|
||||
"gauge",
|
||||
"electrified",
|
||||
"service_rail"
|
||||
],
|
||||
"terms": [
|
||||
"narrow gauge railway",
|
||||
"narrow gauge railroad"
|
||||
|
||||
@@ -1,19 +1,22 @@
|
||||
{
|
||||
"icon": "railway-rail",
|
||||
"geometry": [
|
||||
"line"
|
||||
],
|
||||
"tags": {
|
||||
"railway": "rail"
|
||||
},
|
||||
"fields": [
|
||||
"name",
|
||||
"structure",
|
||||
"gauge",
|
||||
"electrified",
|
||||
"maxspeed",
|
||||
"service_rail"
|
||||
"service_rail",
|
||||
"usage_rail",
|
||||
"voltage",
|
||||
"frequency"
|
||||
],
|
||||
"geometry": [
|
||||
"line"
|
||||
],
|
||||
"tags": {
|
||||
"railway": "rail"
|
||||
},
|
||||
"terms": [],
|
||||
"name": "Rail"
|
||||
}
|
||||
|
||||
@@ -1,18 +1,21 @@
|
||||
{
|
||||
"icon": "railway-subway",
|
||||
"fields": [
|
||||
"name",
|
||||
"structure",
|
||||
"gauge",
|
||||
"electrified",
|
||||
"service_rail",
|
||||
"usage_rail",
|
||||
"voltage",
|
||||
"frequency"
|
||||
],
|
||||
"geometry": [
|
||||
"line"
|
||||
],
|
||||
"tags": {
|
||||
"railway": "subway"
|
||||
},
|
||||
"fields": [
|
||||
"name",
|
||||
"structure",
|
||||
"gauge",
|
||||
"electrified",
|
||||
"service_rail"
|
||||
],
|
||||
"terms": [
|
||||
"metro",
|
||||
"transit"
|
||||
|
||||
@@ -1,18 +1,21 @@
|
||||
{
|
||||
"icon": "railway-light-rail",
|
||||
"fields": [
|
||||
"name",
|
||||
"structure",
|
||||
"gauge",
|
||||
"electrified",
|
||||
"service_rail",
|
||||
"usage_rail",
|
||||
"voltage",
|
||||
"frequency"
|
||||
],
|
||||
"geometry": [
|
||||
"line"
|
||||
],
|
||||
"tags": {
|
||||
"railway": "tram"
|
||||
},
|
||||
"fields": [
|
||||
"name",
|
||||
"structure",
|
||||
"gauge",
|
||||
"electrified",
|
||||
"service_rail"
|
||||
],
|
||||
"terms": [
|
||||
"light rail",
|
||||
"streetcar",
|
||||
|
||||
Vendored
+11
@@ -2664,6 +2664,17 @@
|
||||
"label": "Type",
|
||||
"placeholder": "Default"
|
||||
},
|
||||
"usage_rail": {
|
||||
"label": "Usage Type",
|
||||
"options": {
|
||||
"main": "Main",
|
||||
"branch": "Branch",
|
||||
"industrial": "Industrial",
|
||||
"military": "Military",
|
||||
"test": "Test",
|
||||
"tourism": "Tourism"
|
||||
}
|
||||
},
|
||||
"vending": {
|
||||
"label": "Type of Goods"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user