mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-15 21:48:20 +02:00
Combo network type field for bike/hike routes
Replaced the generic network field (network) with a specialized network type field (network) in the bicycle, foot, and hiking route relation presets. Added a network (cycle_network) field to the bicycle route relation preset.
This commit is contained in:
@@ -269,6 +269,9 @@ en:
|
||||
currency_multi:
|
||||
# 'currency:=*'
|
||||
label: Currency Types
|
||||
cycle_network:
|
||||
# cycle_network=*
|
||||
label: Network
|
||||
cycleway:
|
||||
# 'cycleway:left=*, cycleway:right=*'
|
||||
label: Bike Lanes
|
||||
@@ -628,6 +631,34 @@ en:
|
||||
network:
|
||||
# network=*
|
||||
label: Network
|
||||
network_bicycle:
|
||||
# network=*
|
||||
label: Network Type
|
||||
options:
|
||||
# network=icn
|
||||
icn: International
|
||||
# network=lcn
|
||||
lcn: Local
|
||||
# network=ncn
|
||||
ncn: National
|
||||
# network=rcn
|
||||
rcn: Regional
|
||||
# network_bicycle field placeholder
|
||||
placeholder: 'Local, Regional, National, International'
|
||||
network_foot:
|
||||
# network=*
|
||||
label: Network Type
|
||||
options:
|
||||
# network=iwn
|
||||
iwn: International
|
||||
# network=lwn
|
||||
lwn: Local
|
||||
# network=nwn
|
||||
nwn: National
|
||||
# network=rwn
|
||||
rwn: Regional
|
||||
# network_foot field placeholder
|
||||
placeholder: 'Local, Regional, National, International'
|
||||
note:
|
||||
# note=*
|
||||
label: Note
|
||||
|
||||
@@ -352,6 +352,11 @@
|
||||
"type": "multiCombo",
|
||||
"label": "Currency Types"
|
||||
},
|
||||
"cycle_network": {
|
||||
"key": "cycle_network",
|
||||
"type": "combo",
|
||||
"label": "Network"
|
||||
},
|
||||
"cycleway": {
|
||||
"keys": [
|
||||
"cycleway:left",
|
||||
@@ -841,6 +846,34 @@
|
||||
"type": "typeCombo",
|
||||
"label": "Natural"
|
||||
},
|
||||
"network_bicycle": {
|
||||
"key": "network",
|
||||
"type": "combo",
|
||||
"label": "Network Type",
|
||||
"placeholder": "Local, Regional, National, International",
|
||||
"strings": {
|
||||
"options": {
|
||||
"lcn": "Local",
|
||||
"rcn": "Regional",
|
||||
"ncn": "National",
|
||||
"icn": "International"
|
||||
}
|
||||
}
|
||||
},
|
||||
"network_foot": {
|
||||
"key": "network",
|
||||
"type": "combo",
|
||||
"label": "Network Type",
|
||||
"placeholder": "Local, Regional, National, International",
|
||||
"strings": {
|
||||
"options": {
|
||||
"lwn": "Local",
|
||||
"rwn": "Regional",
|
||||
"nwn": "National",
|
||||
"iwn": "International"
|
||||
}
|
||||
}
|
||||
},
|
||||
"network": {
|
||||
"key": "network",
|
||||
"type": "text",
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"key": "cycle_network",
|
||||
"type": "combo",
|
||||
"label": "Network"
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"key": "network",
|
||||
"type": "combo",
|
||||
"label": "Network Type",
|
||||
"placeholder": "Local, Regional, National, International",
|
||||
"strings": {
|
||||
"options": {
|
||||
"lcn": "Local",
|
||||
"rcn": "Regional",
|
||||
"ncn": "National",
|
||||
"icn": "International"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"key": "network",
|
||||
"type": "combo",
|
||||
"label": "Network Type",
|
||||
"placeholder": "Local, Regional, National, International",
|
||||
"strings": {
|
||||
"options": {
|
||||
"lwn": "Local",
|
||||
"rwn": "Regional",
|
||||
"nwn": "National",
|
||||
"iwn": "International"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -10650,7 +10650,8 @@
|
||||
"icon": "route-bicycle",
|
||||
"fields": [
|
||||
"ref",
|
||||
"network"
|
||||
"network_bicycle",
|
||||
"cycle_network"
|
||||
]
|
||||
},
|
||||
"type/route/bus": {
|
||||
@@ -10712,7 +10713,7 @@
|
||||
"fields": [
|
||||
"ref",
|
||||
"operator",
|
||||
"network"
|
||||
"network_foot"
|
||||
]
|
||||
},
|
||||
"type/route/hiking": {
|
||||
@@ -10728,7 +10729,7 @@
|
||||
"fields": [
|
||||
"ref",
|
||||
"operator",
|
||||
"network"
|
||||
"network_foot"
|
||||
]
|
||||
},
|
||||
"type/route/horse": {
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
"icon": "route-bicycle",
|
||||
"fields": [
|
||||
"ref",
|
||||
"network"
|
||||
"network_bicycle",
|
||||
"cycle_network"
|
||||
]
|
||||
}
|
||||
@@ -11,6 +11,6 @@
|
||||
"fields": [
|
||||
"ref",
|
||||
"operator",
|
||||
"network"
|
||||
"network_foot"
|
||||
]
|
||||
}
|
||||
@@ -11,6 +11,6 @@
|
||||
"fields": [
|
||||
"ref",
|
||||
"operator",
|
||||
"network"
|
||||
"network_foot"
|
||||
]
|
||||
}
|
||||
|
||||
Vendored
+23
@@ -864,6 +864,9 @@
|
||||
"currency_multi": {
|
||||
"label": "Currency Types"
|
||||
},
|
||||
"cycle_network": {
|
||||
"label": "Network"
|
||||
},
|
||||
"cycleway": {
|
||||
"label": "Bike Lanes",
|
||||
"placeholder": "none",
|
||||
@@ -1168,6 +1171,26 @@
|
||||
"natural": {
|
||||
"label": "Natural"
|
||||
},
|
||||
"network_bicycle": {
|
||||
"label": "Network Type",
|
||||
"placeholder": "Local, Regional, National, International",
|
||||
"options": {
|
||||
"lcn": "Local",
|
||||
"rcn": "Regional",
|
||||
"ncn": "National",
|
||||
"icn": "International"
|
||||
}
|
||||
},
|
||||
"network_foot": {
|
||||
"label": "Network Type",
|
||||
"placeholder": "Local, Regional, National, International",
|
||||
"options": {
|
||||
"lwn": "Local",
|
||||
"rwn": "Regional",
|
||||
"nwn": "National",
|
||||
"iwn": "International"
|
||||
}
|
||||
},
|
||||
"network": {
|
||||
"label": "Network"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user