Skip to content
Draft
Show file tree
Hide file tree
Changes from all 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
66 changes: 66 additions & 0 deletions data/fields/access/access_vehicle.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
{
"keys": [
"access",
"foot",
"vehicle",
"motor_vehicle",
"bicycle"
],
"reference": {
"key": "access"
},
"type": "access",
"label": "Allowed Access",
"placeholder": "Not Specified",
"strings": {
"types": {
"access": "All",
"foot": "Foot",
"vehicle": "All Vehicles",
"motor_vehicle": "Motor Vehicles",
"bicycle": "Bicycles"
},
"options": {
"yes": {
"title": "Allowed",
"description": "Access allowed by law; a right of way"
},
"no": {
"title": "Prohibited",
"description": "Access not allowed to the general public"
},
"permissive": {
"title": "Permissive",
"description": "Access allowed until such time as the owner revokes the permission"
},
"private": {
"title": "Private",
"description": "Access allowed only with permission of the owner on an individual basis"
},
"designated": {
"title": "Designated",
"description": "Access allowed according to signs or specific local laws"
},
"destination": {
"title": "Destination",
"description": "Access allowed only to reach a destination"
},
"customers": {
"title": "Customers",
"description": "Restricted to customers at the destination"
},
"dismount": {
"title": "Dismount",
"description": "Access allowed but rider must dismount"
},
"permit": {
"title": "Permit",
"description": "Access allowed only with a valid permit or license"
},
"unknown": {
"title": "Unknown",
"description": "Access conditions are unknown or unclear"
}
}
}
}
35 changes: 35 additions & 0 deletions data/presets/highway/bicycle_road/_path.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"icon": "fas-biking",
"fields": [
"name",
"surface",
"width",
"structure",
"access/access_vehicle",
"incline"
],
"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
}
36 changes: 36 additions & 0 deletions data/presets/highway/bicycle_road/_service.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"icon": "iD-highway-service",
"fields": [
"name",
"service",
"oneway",
"maxspeed",
"surface",
"structure",
"access/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
}
36 changes: 36 additions & 0 deletions data/presets/highway/bicycle_road/cycleway.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"icon": "fas-biking",
"fields": [
"name",
"oneway",
"surface",
"smoothness",
"width",
"structure",
"access/access_vehicle",
"incline"
],
"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)"
}
35 changes: 35 additions & 0 deletions data/presets/highway/bicycle_road/residential.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"icon": "iD-highway-residential",
"fields": [
"name",
"oneway",
"maxspeed",
"lanes",
"surface",
"structure",
"access/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"
]
}
}
}