Skip to content

Commit

Permalink
Add Bridge Number field (#912)
Browse files Browse the repository at this point in the history
  • Loading branch information
arch0345 authored May 30, 2023
1 parent 547c4f5 commit 3446bc8
Show file tree
Hide file tree
Showing 29 changed files with 51 additions and 1 deletion.
12 changes: 12 additions & 0 deletions data/fields/bridge/ref.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"key": "bridge:ref",
"type": "text",
"label": "Bridge Number",
"reference": {
"key": "bridge"
},
"prerequisiteTag": {
"key": "bridge",
"valueNot": "no"
}
}
5 changes: 5 additions & 0 deletions data/fields/ref_bridge_number.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"key": "ref",
"type": "text",
"label": "{bridge/ref}"
}
3 changes: 3 additions & 0 deletions data/presets/golf/path.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
"access",
"incline"
],
"moreFields": [
"bridge/ref"
],
"geometry": [
"line"
],
Expand Down
1 change: 1 addition & 0 deletions data/presets/highway/bridleway.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"horse_scale"
],
"moreFields": [
"bridge/ref",
"covered_no",
"dog",
"lit",
Expand Down
1 change: 1 addition & 0 deletions data/presets/highway/bus_guideway.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"structure"
],
"moreFields": [
"bridge/ref",
"covered_no",
"trolley_wire",
"width"
Expand Down
1 change: 1 addition & 0 deletions data/presets/highway/busway.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"covered"
],
"moreFields": [
"bridge/ref",
"trolley_wire"
],
"geometry": [
Expand Down
3 changes: 3 additions & 0 deletions data/presets/highway/construction.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
"structure",
"note"
],
"moreFields": [
"bridge/ref"
],
"geometry": [
"line"
],
Expand Down
1 change: 1 addition & 0 deletions data/presets/highway/cycleway.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"incline"
],
"moreFields": [
"bridge/ref",
"covered_no",
"dog",
"lit",
Expand Down
1 change: 1 addition & 0 deletions data/presets/highway/footway.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"incline"
],
"moreFields": [
"bridge/ref",
"covered_no",
"dog",
"informal",
Expand Down
1 change: 1 addition & 0 deletions data/presets/highway/living_street.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"access"
],
"moreFields": [
"bridge/ref",
"covered_no",
"bicycle_road",
"cyclestreet-BE-NL",
Expand Down
1 change: 1 addition & 0 deletions data/presets/highway/motorway.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"access"
],
"moreFields": [
"bridge/ref",
"charge_toll",
"covered_no",
"incline",
Expand Down
1 change: 1 addition & 0 deletions data/presets/highway/motorway_link-US-CA.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"access"
],
"moreFields": [
"bridge/ref",
"charge_toll",
"covered_no",
"destination/symbol_oneway",
Expand Down
1 change: 1 addition & 0 deletions data/presets/highway/motorway_link.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"access"
],
"moreFields": [
"bridge/ref",
"charge_toll",
"covered_no",
"destination/symbol_oneway",
Expand Down
1 change: 1 addition & 0 deletions data/presets/highway/path.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"incline"
],
"moreFields": [
"bridge/ref",
"covered_no",
"dog",
"gnis/feature_id-US",
Expand Down
3 changes: 3 additions & 0 deletions data/presets/highway/pedestrian_area.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
"structure",
"access"
],
"moreFields": [
"bridge/ref"
],
"geometry": [
"area"
],
Expand Down
1 change: 1 addition & 0 deletions data/presets/highway/pedestrian_line.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"access"
],
"moreFields": [
"bridge/ref",
"covered_no",
"incline",
"maxweight_bridge",
Expand Down
1 change: 1 addition & 0 deletions data/presets/highway/primary.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"access"
],
"moreFields": [
"bridge/ref",
"charge_toll",
"covered_no",
"cycleway",
Expand Down
1 change: 1 addition & 0 deletions data/presets/highway/primary_link-US-CA.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"access"
],
"moreFields": [
"bridge/ref",
"charge_toll",
"covered_no",
"cycleway",
Expand Down
1 change: 1 addition & 0 deletions data/presets/highway/primary_link.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"access"
],
"moreFields": [
"bridge/ref",
"charge_toll",
"covered_no",
"cycleway",
Expand Down
1 change: 1 addition & 0 deletions data/presets/highway/residential.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"access"
],
"moreFields": [
"bridge/ref",
"covered_no",
"cycleway",
"bicycle_road",
Expand Down
1 change: 1 addition & 0 deletions data/presets/highway/service.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"access"
],
"moreFields": [
"bridge/ref",
"covered_no",
"flood_prone",
"incline",
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/ref",
"covered_no",
"flood_prone",
"lit",
Expand Down
1 change: 1 addition & 0 deletions data/presets/highway/track.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"smoothness"
],
"moreFields": [
"bridge/ref",
"covered_no",
"flood_prone",
"horse_scale",
Expand Down
1 change: 1 addition & 0 deletions data/presets/highway/trunk.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"access"
],
"moreFields": [
"bridge/ref",
"charge_toll",
"covered_no",
"incline",
Expand Down
3 changes: 2 additions & 1 deletion data/presets/man_made/bridge.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"name",
"bridge_combo",
"layer",
"maxweight"
"maxweight",
"ref_bridge_number"
],
"moreFields": [
"gnis/feature_id-US",
Expand Down
1 change: 1 addition & 0 deletions data/presets/railway/abandoned.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"usage_rail"
],
"moreFields": [
"bridge/ref",
"covered_no",
"incline"
],
Expand Down
1 change: 1 addition & 0 deletions data/presets/railway/construction.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"electrified"
],
"moreFields": [
"bridge/ref",
"covered_no",
"frequency_electrified",
"highspeed",
Expand Down
1 change: 1 addition & 0 deletions data/presets/railway/funicular.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"service_rail"
],
"moreFields": [
"bridge/ref",
"covered_no",
"electrified",
"frequency_electrified",
Expand Down
1 change: 1 addition & 0 deletions data/presets/railway/light_rail.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"usage_rail"
],
"moreFields": [
"bridge/ref",
"covered_no",
"frequency_electrified",
"incline",
Expand Down

0 comments on commit 3446bc8

Please sign in to comment.