From ae1782cdc5cae35abba8d5227a0cc5d304f4054a Mon Sep 17 00:00:00 2001 From: Tobias Date: Sat, 10 Aug 2024 06:38:51 +0200 Subject: [PATCH] Add `operator:type=public|private|nil` to some `highway` presets --- data/fields/operator/type_check.json | 12 ++++++++++++ data/presets/highway/bridleway.json | 3 ++- data/presets/highway/cycleway.json | 3 ++- data/presets/highway/footway.json | 3 ++- data/presets/highway/path.json | 3 ++- data/presets/highway/pedestrian_area.json | 3 ++- data/presets/highway/pedestrian_line.json | 3 ++- data/presets/highway/residential.json | 3 ++- data/presets/highway/service.json | 3 ++- data/presets/highway/steps.json | 3 ++- data/presets/highway/track.json | 3 ++- 11 files changed, 32 insertions(+), 10 deletions(-) create mode 100644 data/fields/operator/type_check.json diff --git a/data/fields/operator/type_check.json b/data/fields/operator/type_check.json new file mode 100644 index 000000000..122d68443 --- /dev/null +++ b/data/fields/operator/type_check.json @@ -0,0 +1,12 @@ +{ + "key": "operator:type", + "type": "check", + "label": "Operator Type", + "strings": { + "options": { + "public": "Public (Default)", + "private": "Private", + "undefined": "Assumed Public" + } + } +} diff --git a/data/presets/highway/bridleway.json b/data/presets/highway/bridleway.json index d24cf38c4..d21c773c9 100644 --- a/data/presets/highway/bridleway.json +++ b/data/presets/highway/bridleway.json @@ -16,7 +16,8 @@ "maxweight_bridge", "smoothness", "stroller", - "wheelchair" + "wheelchair", + "operator/type_check" ], "icon": "maki-horse-riding", "geometry": [ diff --git a/data/presets/highway/cycleway.json b/data/presets/highway/cycleway.json index a800ba1fc..ca3c7cb75 100644 --- a/data/presets/highway/cycleway.json +++ b/data/presets/highway/cycleway.json @@ -19,7 +19,8 @@ "maxweight_bridge", "not/name", "stroller", - "wheelchair" + "wheelchair", + "operator/type_check" ], "geometry": [ "line" diff --git a/data/presets/highway/footway.json b/data/presets/highway/footway.json index 0d4b5d49a..f129b3e94 100644 --- a/data/presets/highway/footway.json +++ b/data/presets/highway/footway.json @@ -20,7 +20,8 @@ "smoothness", "stroller", "tactile_paving", - "wheelchair" + "wheelchair", + "operator/type_check" ], "geometry": [ "line" diff --git a/data/presets/highway/path.json b/data/presets/highway/path.json index 580d1bac1..c730793ef 100644 --- a/data/presets/highway/path.json +++ b/data/presets/highway/path.json @@ -27,7 +27,8 @@ "smoothness", "stroller", "trail_visibility", - "wheelchair" + "wheelchair", + "operator/type_check" ], "geometry": [ "line" diff --git a/data/presets/highway/pedestrian_area.json b/data/presets/highway/pedestrian_area.json index 44b86017b..297ba7f6c 100644 --- a/data/presets/highway/pedestrian_area.json +++ b/data/presets/highway/pedestrian_area.json @@ -9,7 +9,8 @@ "access" ], "moreFields": [ - "bridge/ref" + "bridge/ref", + "operator/type_check" ], "geometry": [ "area" diff --git a/data/presets/highway/pedestrian_line.json b/data/presets/highway/pedestrian_line.json index cd3a6c645..022e9c0e4 100644 --- a/data/presets/highway/pedestrian_line.json +++ b/data/presets/highway/pedestrian_line.json @@ -14,7 +14,8 @@ "covered_no", "incline", "maxweight_bridge", - "smoothness" + "smoothness", + "operator/type_check" ], "geometry": [ "line" diff --git a/data/presets/highway/residential.json b/data/presets/highway/residential.json index 0a9746fae..b679d21c4 100644 --- a/data/presets/highway/residential.json +++ b/data/presets/highway/residential.json @@ -33,7 +33,8 @@ "smoothness", "traffic_calming_road", "trolley_wire", - "width" + "width", + "operator/type_check" ], "geometry": [ "line" diff --git a/data/presets/highway/service.json b/data/presets/highway/service.json index a7f225f71..a5139435d 100644 --- a/data/presets/highway/service.json +++ b/data/presets/highway/service.json @@ -27,7 +27,8 @@ "parking/side/orientation", "smoothness", "trolley_wire", - "width" + "width", + "operator/type_check" ], "geometry": [ "line" diff --git a/data/presets/highway/steps.json b/data/presets/highway/steps.json index cda872fa1..d8dc6ef85 100644 --- a/data/presets/highway/steps.json +++ b/data/presets/highway/steps.json @@ -21,7 +21,8 @@ "ref", "ramp", "stroller", - "wheelchair" + "wheelchair", + "operator/type_check" ], "geometry": [ "line" diff --git a/data/presets/highway/track.json b/data/presets/highway/track.json index 97daf67df..edbaed643 100644 --- a/data/presets/highway/track.json +++ b/data/presets/highway/track.json @@ -21,7 +21,8 @@ "mtb/scale/uphill", "oneway", "stroller", - "wheelchair" + "wheelchair", + "operator/type_check" ], "geometry": [ "line"