Skip to content

Commit 83414d1

Browse files
committed
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
1 parent fa944f8 commit 83414d1

File tree

6 files changed

+94
-31
lines changed

6 files changed

+94
-31
lines changed
Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
{
2+
"keys": [
3+
"access",
4+
"foot",
5+
"vehicle",
6+
"motor_vehicle",
7+
"bicycle"
8+
],
9+
"reference": {
10+
"key": "access"
11+
},
12+
"type": "access",
13+
"label": "Allowed Access",
14+
"placeholder": "Not Specified",
15+
"strings": {
16+
"types": {
17+
"access": "All",
18+
"foot": "Foot",
19+
"vehicle": "All Vehicles",
20+
"motor_vehicle": "Motor Vehicles",
21+
"bicycle": "Bicycles"
22+
},
23+
"options": {
24+
"yes": {
25+
"title": "Allowed",
26+
"description": "Access allowed by law; a right of way"
27+
},
28+
"no": {
29+
"title": "Prohibited",
30+
"description": "Access not allowed to the general public"
31+
},
32+
"permissive": {
33+
"title": "Permissive",
34+
"description": "Access allowed until such time as the owner revokes the permission"
35+
},
36+
"private": {
37+
"title": "Private",
38+
"description": "Access allowed only with permission of the owner on an individual basis"
39+
},
40+
"designated": {
41+
"title": "Designated",
42+
"description": "Access allowed according to signs or specific local laws"
43+
},
44+
"destination": {
45+
"title": "Destination",
46+
"description": "Access allowed only to reach a destination"
47+
},
48+
"customers": {
49+
"title": "Customers",
50+
"description": "Restricted to customers at the destination"
51+
},
52+
"dismount": {
53+
"title": "Dismount",
54+
"description": "Access allowed but rider must dismount"
55+
},
56+
"permit": {
57+
"title": "Permit",
58+
"description": "Access allowed only with a valid permit or license"
59+
},
60+
"unknown": {
61+
"title": "Unknown",
62+
"description": "Access conditions are unknown or unclear"
63+
}
64+
}
65+
}
66+
}

data/fields/access_vehicle.json

Lines changed: 0 additions & 23 deletions
This file was deleted.

data/presets/highway/bicycle_road/_path.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
{
22
"icon": "fas-biking",
33
"fields": [
4-
"{highway/path}",
5-
"access_vehicle"
4+
"name",
5+
"surface",
6+
"width",
7+
"structure",
8+
"access/access_vehicle",
9+
"incline"
610
],
711
"moreFields": [
812
"{highway/path}"

data/presets/highway/bicycle_road/_service.json

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
11
{
22
"icon": "iD-highway-service",
33
"fields": [
4-
"{highway/service}",
5-
"access_vehicle"
4+
"name",
5+
"service",
6+
"oneway",
7+
"maxspeed",
8+
"surface",
9+
"structure",
10+
"access/access_vehicle"
611
],
712
"moreFields": [
813
"{highway/service}"

data/presets/highway/bicycle_road/cycleway.json

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,14 @@
11
{
22
"icon": "fas-biking",
33
"fields": [
4-
"{highway/cycleway}",
5-
"access_vehicle"
4+
"name",
5+
"oneway",
6+
"surface",
7+
"smoothness",
8+
"width",
9+
"structure",
10+
"access/access_vehicle",
11+
"incline"
612
],
713
"moreFields": [
814
"{highway/cycleway}"

data/presets/highway/bicycle_road/residential.json

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
11
{
22
"icon": "iD-highway-residential",
33
"fields": [
4-
"{highway/residential}",
5-
"access_vehicle"
4+
"name",
5+
"oneway",
6+
"maxspeed",
7+
"lanes",
8+
"surface",
9+
"structure",
10+
"access/access_vehicle"
611
],
712
"moreFields": [
813
"{highway/residential}"

0 commit comments

Comments
 (0)