Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
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
34 changes: 34 additions & 0 deletions data/fields/sidewalk.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"key": "sidewalk:both",
"keys": [
"sidewalk:left",
"sidewalk:right"
],
"reference": {
"key": "sidewalk"
},
"type": "directionalCombo",
"label": "Sidewalks",
"placeholder": "Yes, No, Mapped using separate ways",
Comment thread
tordans marked this conversation as resolved.
Outdated
"strings": {
"types": {
"sidewalk:left": "Left Side",
"sidewalk:right": "Right Side"
},
"options": {
"yes": {
"title": "Yes",
"description": "There is a sidewalk"
},
"no": {
"title": "No",
"description": "No sidewalk"
},
"separate": {
"title": "Sidewalk Mapped Separately",
Comment thread
tordans marked this conversation as resolved.
Outdated
"description": "The sidewalk is mapped using separate ways"
}
}
},
"autoSuggestions": false
}
1 change: 1 addition & 0 deletions data/presets/highway/living_street.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"bicycle_road",
"cyclestreet-BE-NL",
"cycleway",
"sidewalk",
"flood_prone",
"junction_line",
"lit",
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 @@ -15,6 +15,7 @@
"charge_toll",
"covered_no",
"cycleway",
"sidewalk",
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

and say tertiary is inheriting from primary fields

Copy link
Copy Markdown
Collaborator Author

@tordans tordans Nov 16, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right, we only need to change this one place; it follows the same pattern that cycleway has.

"expressway-US",
"flood_prone",
"incline",
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 @@ -16,6 +16,7 @@
"charge_toll",
"covered_no",
"cycleway",
"sidewalk",
"destination/symbol_oneway",
"flood_prone",
"incline",
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 @@ -16,6 +16,7 @@
"charge_toll",
"covered_no",
"cycleway",
"sidewalk",
"destination/symbol_oneway",
"flood_prone",
"incline",
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 @@ -13,6 +13,7 @@
"bridge/ref",
"covered_no",
"cycleway",
"sidewalk",
"bicycle_road",
"cyclestreet-BE-NL",
"flood_prone",
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 @@ -12,6 +12,7 @@
"moreFields": [
"bridge/ref",
"covered_no",
"sidewalk",
"flood_prone",
"incline",
"lanes",
Expand Down