Skip to content
Draft
Show file tree
Hide file tree
Changes from 1 commit
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
23 changes: 23 additions & 0 deletions data/fields/access_vehicle.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"key": "vehicle",
"type": "defaultCheck",
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

"label": "General vehicle access",
"geometry": [
"line"
],
"reference": {
"key": "access"
},
"strings": {
"options": {
"no": {
"title": "No vehicle allowed",
"description": "Access is prohibited for all vehicles"
},
"undefined": {
"title": "Other access restrictions",
"description": "Other access restrictions apply"
}
}
}
}
31 changes: 31 additions & 0 deletions data/presets/highway/bicycle_road/_path.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"icon": "fas-biking",
"fields": [
"{highway/path}",
"access_vehicle"
],
"moreFields": [
"{highway/path}"
],
"geometry": [
"line"
],
"tags": {
"highway": "path",
"bicycle_road": "yes"
},
"addTags": {
"bicycle": "designated"
},
"reference": {
"key": "bicycle_road",
"value": "yes"
},
"terms": [
"road",
"street",
"bicycle_road"
],
"name": "Bicycle Road (Path)",
"searchable": false
}
31 changes: 31 additions & 0 deletions data/presets/highway/bicycle_road/_service.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"icon": "iD-highway-service",
"fields": [
"{highway/service}",
"access_vehicle"
],
"moreFields": [
"{highway/service}"
],
"geometry": [
"line"
],
"tags": {
"highway": "service",
"bicycle_road": "yes"
},
"addTags": {
"bicycle": "designated"
},
"reference": {
"key": "bicycle_road",
"value": "yes"
},
"terms": [
"road",
"street",
"bicycle_road"
],
"name": "Shared Bicycle Road (Service Road)",
"searchable": false
}
30 changes: 30 additions & 0 deletions data/presets/highway/bicycle_road/cycleway.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"icon": "fas-biking",
"fields": [
"{highway/cycleway}",
"access_vehicle"
],
"moreFields": [
"{highway/cycleway}"
],
"geometry": [
"line"
],
"tags": {
"highway": "cycleway",
"bicycle_road": "yes"
},
"addTags": {
"bicycle": "designated"
},
"reference": {
"key": "bicycle_road",
"value": "yes"
},
"terms": [
"road",
"street",
"bicycle_road"
],
"name": "Bicycle Road (Cycleway)"
}
30 changes: 30 additions & 0 deletions data/presets/highway/bicycle_road/residential.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"icon": "iD-highway-residential",
"fields": [
"{highway/residential}",
"access_vehicle"
],
"moreFields": [
"{highway/residential}"
],
"geometry": [
"line"
],
"tags": {
"highway": "residential",
"bicycle_road": "yes"
},
"addTags": {
"bicycle": "designated"
},
"reference": {
"key": "bicycle_road",
"value": "yes"
},
"terms": [
"road",
"street",
"bicycle_road"
],
"name": "Shared Bicycle Road (Residential Road)"
}
4 changes: 3 additions & 1 deletion dist/preset_categories.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@
"highway/unclassified",
"highway/residential",
"highway/living_street",
"highway/bicycle_road/cycleway",
"highway/bicycle_road/residential",
"highway/service",
"highway/track"
]
Expand Down Expand Up @@ -235,4 +237,4 @@
"barrier"
]
}
}
}