-
Notifications
You must be signed in to change notification settings - Fork 164
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #590 from openstreetmap/crossing_markings
refactor crossing presets to use approved "crossing:markings" tag: add field for the new tag, change "Marked Crosswalk" presets to use "crossing=uncontrolled" tag and add preset for "Cycle Crossing With Traffic Signals"
- Loading branch information
Showing
23 changed files
with
278 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,17 @@ | ||
{ | ||
"key": "crossing", | ||
"type": "combo", | ||
"label": "Type" | ||
"label": "Type", | ||
"options": [ | ||
"traffic_signals", | ||
"uncontrolled", | ||
"unmarked" | ||
], | ||
"strings": { | ||
"options": { | ||
"traffic_signals": "Crossing With Traffic Signals", | ||
"uncontrolled": "Only Road Markings", | ||
"unmarked": "No Road Markings or Traffic Signals" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ | ||
"key": "crossing:markings", | ||
"type": "combo", | ||
"label": "Crossing Markings", | ||
"strings": { | ||
"options": { | ||
"zebra": "Longitudinal Bars", | ||
"lines": "Transverse Lines", | ||
"no": "Unmarked", | ||
"ladder": "Ladder With Longitudinal Bars", | ||
"dots": "Dotted Transverse Lines", | ||
"dashes": "Dashed Transverse Lines", | ||
"yes": "Marked Somehow", | ||
"surface": "Surface Treatment Only", | ||
"ladder:skewed": "Ladder With Diagonal Bars", | ||
"pictograms": "Painted Pictograms", | ||
"lines:paired": "Double Transverse Lines", | ||
"zebra:double": "Triple-Four", | ||
"zebra:paired": "Paired Longitudinal Bars", | ||
"zebra:bicolour": "Longitudinal Bars With Alternating Colors", | ||
"ladder:paired": "Ladder With Paired Longitudinal Bars" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
{ | ||
"icon": "temaki-cyclist_crosswalk", | ||
"fields": [ | ||
"crossing", | ||
"surface", | ||
"tactile_paving", | ||
"crossing/island", | ||
"crossing/markings", | ||
"crossing_raised", | ||
"access" | ||
], | ||
"geometry": [ | ||
"line" | ||
], | ||
"tags": { | ||
"highway": "cycleway", | ||
"cycleway": "crossing", | ||
"crossing": "marked" | ||
}, | ||
"reference": { | ||
"key": "crossing", | ||
"value": "marked" | ||
}, | ||
"matchScore": 0.95, | ||
"name": "Marked Cycle Crossing", | ||
"searchable": false | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
34 changes: 34 additions & 0 deletions
34
data/presets/highway/cycleway/crossing/traffic_signals.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{ | ||
"icon": "fas-biking", | ||
"fields": [ | ||
"crossing", | ||
"surface", | ||
"tactile_paving", | ||
"crossing/island", | ||
"crossing_raised", | ||
"button_operated", | ||
"traffic_signals/sound", | ||
"traffic_signals/vibration", | ||
"access" | ||
], | ||
"geometry": [ | ||
"line" | ||
], | ||
"tags": { | ||
"highway": "cycleway", | ||
"cycleway": "crossing", | ||
"crossing": "traffic_signals" | ||
}, | ||
"reference": { | ||
"key": "crossing", | ||
"value": "traffic_signals" | ||
}, | ||
"terms": [ | ||
"cycle path crossing", | ||
"cycleway crossing", | ||
"bicycle crossing", | ||
"bike crossing" | ||
], | ||
"matchScore": 0.95, | ||
"name": "Cycle Crossing With Traffic Signals" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{ | ||
"icon": "temaki-pedestrian_crosswalk", | ||
"fields": [ | ||
"crossing", | ||
"surface", | ||
"tactile_paving", | ||
"crossing/island", | ||
"crossing/markings", | ||
"crossing_raised", | ||
"access" | ||
], | ||
"moreFields": [ | ||
"flashing_lights" | ||
], | ||
"geometry": [ | ||
"line" | ||
], | ||
"tags": { | ||
"highway": "footway", | ||
"footway": "crossing", | ||
"crossing": "marked" | ||
}, | ||
"reference": { | ||
"key": "crossing", | ||
"value": "marked" | ||
}, | ||
"name": "Marked Crossing", | ||
"searchable": false | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.