Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add field bridge:name=* and tunnel:name=* #1273

Open
wants to merge 37 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
b916a1c
Create name
SteveLz Jun 26, 2024
ddf61cc
Create name
SteveLz Jun 26, 2024
d3d8ef8
Rename name to name.json
SteveLz Jun 26, 2024
a82b4d6
Rename name to name.json
SteveLz Jun 26, 2024
85a62ca
Update name.json
SteveLz Jun 26, 2024
d9fc122
Update name.json
SteveLz Jun 26, 2024
62914c4
Update name.json
SteveLz Jun 26, 2024
2599e71
Update name.json
SteveLz Jun 26, 2024
80ad2fa
Update name.json
SteveLz Jun 26, 2024
25d1fac
Update name.json
SteveLz Jun 26, 2024
3bb2b63
Update motorway.json
SteveLz Jul 23, 2024
fe2512c
Update construction.json
SteveLz Jul 23, 2024
ab4e094
Update primary.json
SteveLz Jul 23, 2024
0509d10
Update motorway.json
SteveLz Jul 23, 2024
a664115
Update primary.json
SteveLz Jul 23, 2024
fc09381
Update trunk.json
SteveLz Jul 23, 2024
77862b8
Update residential.json
SteveLz Jul 23, 2024
f0c5caa
Update light_rail.json
SteveLz Jul 23, 2024
6c20a95
Update construction.json
SteveLz Jul 23, 2024
ea8637b
Update canal.json
SteveLz Jul 23, 2024
29c74ad
Update busway.json
SteveLz Jul 23, 2024
6a0dc97
Update construction.json
SteveLz Jul 23, 2024
409d206
Update cycleway.json
SteveLz Jul 23, 2024
756ecd9
Update bridleway.json
SteveLz Jul 23, 2024
590a418
Update footway.json
SteveLz Jul 23, 2024
564522c
Update living_street.json
SteveLz Jul 23, 2024
42bede5
Update motorway_link.json
SteveLz Jul 23, 2024
a4ccc7b
Update path.json
SteveLz Jul 23, 2024
7db8021
Update pedestrian_area.json
SteveLz Jul 23, 2024
b36f439
Update primary_link.json
SteveLz Jul 23, 2024
d43a60f
Update service.json
SteveLz Jul 23, 2024
eddc047
Update service_area.json
SteveLz Jul 23, 2024
00cf9b3
Update track.json
SteveLz Jul 23, 2024
54d16d4
Update structure_waterway.json
SteveLz Feb 3, 2025
105e1b2
Update structure_waterway.json
SteveLz Feb 25, 2025
01f8b6f
Update name.json
SteveLz Feb 25, 2025
f3bbb21
flip order of structure_waterway keys
tyrasd Feb 26, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions data/fields/bridge/name.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"key": "bridge:name",
"type": "localized",
"label": "Bridge Name",
"reference": {
"key": "bridge"
},
"prerequisiteTag": {
"key": "bridge",
"valueNot": "no"
}
}
6 changes: 4 additions & 2 deletions data/fields/structure_waterway.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
{
"type": "structureRadio",
"keys": [
"tunnel"
"tunnel",
"bridge"
],
"label": "Structure",
"placeholder": "Unknown",
"strings": {
"options": {
"tunnel": "Tunnel"
"tunnel": "Tunnel",
"bridge": "Bridge"
}
}
}
8 changes: 8 additions & 0 deletions data/fields/tunnel/name.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"key": "tunnel:name",
"type": "localized",
"label": "Tunnel Name",
"prerequisiteTag": {
"key": "tunnel"
}
}
2 changes: 2 additions & 0 deletions data/presets/highway/bridleway.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@
"surface",
"width",
"structure",
"tunnel/name",
"access",
"incline",
"horse_scale"
],
"moreFields": [
"bridge/name",
"bridge/ref",
"covered_no",
"dog",
Expand Down
2 changes: 2 additions & 0 deletions data/presets/highway/busway.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,11 @@
"surface",
"operator",
"structure",
"tunnel/name",
"covered"
],
"moreFields": [
"bridge/name",
"bridge/ref",
"lit",
"maxaxleload_bridge",
Expand Down
2 changes: 2 additions & 0 deletions data/presets/highway/construction.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,11 @@
"access",
"oneway",
"structure",
"tunnel/name",
"note"
],
"moreFields": [
"bridge/name",
"bridge/ref"
],
"geometry": [
Expand Down
2 changes: 2 additions & 0 deletions data/presets/highway/cycleway.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,12 @@
"smoothness",
"width",
"structure",
"tunnel/name",
"access",
"incline"
],
"moreFields": [
"bridge/name",
"bridge/ref",
"covered_no",
"dog",
Expand Down
2 changes: 2 additions & 0 deletions data/presets/highway/footway.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@
"surface",
"width",
"structure",
"tunnel/name",
"access",
"incline"
],
"moreFields": [
"bridge/name",
"bridge/ref",
"covered_no",
"dog",
Expand Down
2 changes: 2 additions & 0 deletions data/presets/highway/living_street.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,11 @@
"lanes",
"surface",
"structure",
"tunnel/name",
"access"
],
"moreFields": [
"bridge/name",
"bridge/ref",
"covered_no",
"bicycle_road",
Expand Down
2 changes: 2 additions & 0 deletions data/presets/highway/motorway.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,11 @@
"lanes",
"surface",
"structure",
"tunnel/name",
"access"
],
"moreFields": [
"bridge/name",
"bridge/ref",
"charge_toll",
"covered_no",
Expand Down
2 changes: 2 additions & 0 deletions data/presets/highway/motorway_link.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,11 @@
"lanes",
"surface",
"structure",
"tunnel/name",
"access"
],
"moreFields": [
"bridge/name",
"bridge/ref",
"charge_toll",
"covered_no",
Expand Down
2 changes: 2 additions & 0 deletions data/presets/highway/path.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@
"surface",
"width",
"structure",
"tunnel/name",
"access",
"incline"
],
"moreFields": [
"bridge/name",
"bridge/ref",
"covered_no",
"dog",
Expand Down
1 change: 1 addition & 0 deletions data/presets/highway/pedestrian_area.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"access"
],
"moreFields": [
"bridge/name",
"bridge/ref"
],
"geometry": [
Expand Down
2 changes: 2 additions & 0 deletions data/presets/highway/primary.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,12 @@
"lanes",
"surface",
"structure",
"tunnel/name",
"ref_road_number",
"access"
],
"moreFields": [
"bridge/name",
"bridge/ref",
"charge_toll",
"covered_no",
Expand Down
2 changes: 2 additions & 0 deletions data/presets/highway/primary_link.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,11 @@
"lanes",
"surface",
"structure",
"tunnel/name",
"access"
],
"moreFields": [
"bridge/name",
"bridge/ref",
"charge_toll",
"covered_no",
Expand Down
2 changes: 2 additions & 0 deletions data/presets/highway/residential.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,12 @@
"lanes",
"surface",
"structure",
"tunnel/name",
"access"
],
"moreFields": [
"bridge/ref",
"bridge/name",
"covered_no",
"cycleway",
"bicycle_road",
Expand Down
2 changes: 2 additions & 0 deletions data/presets/highway/service.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,11 @@
"maxspeed",
"surface",
"structure",
"tunnel/name",
"access"
],
"moreFields": [
"bridge/name",
"bridge/ref",
"covered_no",
"flood_prone",
Expand Down
1 change: 1 addition & 0 deletions data/presets/highway/service_area.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"access"
],
"moreFields": [
"bridge/name",
"bridge/ref",
"covered_no",
"flood_prone",
Expand Down
2 changes: 2 additions & 0 deletions data/presets/highway/track.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,13 @@
"surface",
"width",
"structure",
"tunnel/name",
"access",
"incline",
"smoothness"
],
"moreFields": [
"bridge/name",
"bridge/ref",
"covered_no",
"flood_prone",
Expand Down
2 changes: 2 additions & 0 deletions data/presets/highway/trunk.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,12 @@
"expressway-US",
"surface",
"structure",
"tunnel/name",
"access"
],
"moreFields": [
"bridge/ref",
"bridge/name",
"charge_toll",
"covered_no",
"incline",
Expand Down
2 changes: 2 additions & 0 deletions data/presets/railway/construction.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,12 @@
"check_date",
"note",
"structure",
"tunnel/name",
"gauge",
"electrified"
],
"moreFields": [
"bridge/name",
"bridge/ref",
"covered_no",
"frequency_electrified",
Expand Down
2 changes: 2 additions & 0 deletions data/presets/railway/light_rail.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,14 @@
"name",
"operator",
"structure",
"tunnel/name",
"gauge",
"electrified",
"service_rail",
"usage_rail"
],
"moreFields": [
"bridge/name",
"bridge/ref",
"covered_no",
"frequency_electrified",
Expand Down
2 changes: 2 additions & 0 deletions data/presets/waterway/canal.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,14 @@
"fields": [
"name",
"structure_waterway",
"tunnel/name",
"width",
"usage_waterway",
"intermittent",
"lock"
],
"moreFields": [
"bridge/name",
"fishing",
"gnis/feature_id-US",
"salt",
Expand Down