Test out full modified copy of access fields for bicycle_road|s

This requires to remove the "copy fields from parent" in order to remove the original `access` field
This commit is contained in:
Tobias 2024-04-29 21:47:52 +02:00
parent fa944f8870
commit 83414d189c
6 changed files with 94 additions and 31 deletions

View file

@ -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"
}
}
}
}

View file

@ -1,23 +0,0 @@
{
"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"
}
}
}
}

View file

@ -1,8 +1,12 @@
{
"icon": "fas-biking",
"fields": [
"{highway/path}",
"access_vehicle"
"name",
"surface",
"width",
"structure",
"access/access_vehicle",
"incline"
],
"moreFields": [
"{highway/path}"

View file

@ -1,8 +1,13 @@
{
"icon": "iD-highway-service",
"fields": [
"{highway/service}",
"access_vehicle"
"name",
"service",
"oneway",
"maxspeed",
"surface",
"structure",
"access/access_vehicle"
],
"moreFields": [
"{highway/service}"

View file

@ -1,8 +1,14 @@
{
"icon": "fas-biking",
"fields": [
"{highway/cycleway}",
"access_vehicle"
"name",
"oneway",
"surface",
"smoothness",
"width",
"structure",
"access/access_vehicle",
"incline"
],
"moreFields": [
"{highway/cycleway}"

View file

@ -1,8 +1,13 @@
{
"icon": "iD-highway-residential",
"fields": [
"{highway/residential}",
"access_vehicle"
"name",
"oneway",
"maxspeed",
"lanes",
"surface",
"structure",
"access/access_vehicle"
],
"moreFields": [
"{highway/residential}"