mirror of
https://github.com/openstreetmap/id-tagging-schema.git
synced 2025-11-03 00:03:51 +01:00
Introduce bicycle_road presets with special access field
https://github.com/openstreetmap/id-tagging-schema/issues/1013
This commit is contained in:
parent
6de5f5fde8
commit
fa944f8870
6 changed files with 148 additions and 1 deletions
23
data/fields/access_vehicle.json
Normal file
23
data/fields/access_vehicle.json
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
{
|
||||
"key": "vehicle",
|
||||
"type": "defaultCheck",
|
||||
"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
data/presets/highway/bicycle_road/_path.json
Normal file
31
data/presets/highway/bicycle_road/_path.json
Normal file
|
|
@ -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
data/presets/highway/bicycle_road/_service.json
Normal file
31
data/presets/highway/bicycle_road/_service.json
Normal file
|
|
@ -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
data/presets/highway/bicycle_road/cycleway.json
Normal file
30
data/presets/highway/bicycle_road/cycleway.json
Normal file
|
|
@ -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
data/presets/highway/bicycle_road/residential.json
Normal file
30
data/presets/highway/bicycle_road/residential.json
Normal file
|
|
@ -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
dist/preset_categories.json
vendored
4
dist/preset_categories.json
vendored
|
|
@ -76,6 +76,8 @@
|
|||
"highway/unclassified",
|
||||
"highway/residential",
|
||||
"highway/living_street",
|
||||
"highway/bicycle_road/cycleway",
|
||||
"highway/bicycle_road/residential",
|
||||
"highway/service",
|
||||
"highway/track"
|
||||
]
|
||||
|
|
@ -235,4 +237,4 @@
|
|||
"barrier"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue