Skip to content

Commit 3d12b86

Browse files
authored
Add fields for bridge:name and tunnel:name tags (#1273)
1 parent 4e72468 commit 3d12b86

23 files changed

+62
-2
lines changed

data/fields/bridge/name.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"key": "bridge:name",
3+
"type": "localized",
4+
"label": "Bridge Name",
5+
"reference": {
6+
"key": "bridge"
7+
},
8+
"prerequisiteTag": {
9+
"key": "bridge",
10+
"valueNot": "no"
11+
}
12+
}
Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
{
22
"type": "structureRadio",
33
"keys": [
4-
"tunnel"
4+
"tunnel",
5+
"bridge"
56
],
67
"label": "Structure",
78
"placeholder": "Unknown",
89
"strings": {
910
"options": {
10-
"tunnel": "Tunnel"
11+
"tunnel": "Tunnel",
12+
"bridge": "Bridge"
1113
}
1214
}
1315
}

data/fields/tunnel/name.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"key": "tunnel:name",
3+
"type": "localized",
4+
"label": "Tunnel Name",
5+
"prerequisiteTag": {
6+
"key": "tunnel"
7+
}
8+
}

data/presets/highway/bridleway.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,13 @@
44
"surface",
55
"width",
66
"structure",
7+
"tunnel/name",
78
"access",
89
"incline",
910
"horse_scale"
1011
],
1112
"moreFields": [
13+
"bridge/name",
1214
"bridge/ref",
1315
"covered_no",
1416
"dog",

data/presets/highway/busway.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,11 @@
88
"surface",
99
"operator",
1010
"structure",
11+
"tunnel/name",
1112
"covered"
1213
],
1314
"moreFields": [
15+
"bridge/name",
1416
"bridge/ref",
1517
"lit",
1618
"maxaxleload_bridge",

data/presets/highway/construction.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,11 @@
88
"access",
99
"oneway",
1010
"structure",
11+
"tunnel/name",
1112
"note"
1213
],
1314
"moreFields": [
15+
"bridge/name",
1416
"bridge/ref"
1517
],
1618
"geometry": [

data/presets/highway/cycleway.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,12 @@
77
"smoothness",
88
"width",
99
"structure",
10+
"tunnel/name",
1011
"access",
1112
"incline"
1213
],
1314
"moreFields": [
15+
"bridge/name",
1416
"bridge/ref",
1517
"covered_no",
1618
"dog",

data/presets/highway/footway.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,12 @@
55
"surface",
66
"width",
77
"structure",
8+
"tunnel/name",
89
"access",
910
"incline"
1011
],
1112
"moreFields": [
13+
"bridge/name",
1214
"bridge/ref",
1315
"covered_no",
1416
"dog",

data/presets/highway/living_street.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,11 @@
77
"lanes",
88
"surface",
99
"structure",
10+
"tunnel/name",
1011
"access"
1112
],
1213
"moreFields": [
14+
"bridge/name",
1315
"bridge/ref",
1416
"covered_no",
1517
"bicycle_road",

data/presets/highway/motorway.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,11 @@
88
"lanes",
99
"surface",
1010
"structure",
11+
"tunnel/name",
1112
"access"
1213
],
1314
"moreFields": [
15+
"bridge/name",
1416
"bridge/ref",
1517
"charge_toll",
1618
"covered_no",

0 commit comments

Comments
 (0)