-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Description
This issue describes an improvement to how StreetEdge
objects are named to support crosswalks. Right now, crosswalks are named "path" (or "bike path", etc), making turn-by-turn instructions difficult to follow. To make turn-by-turn instructions easier to follow, I suggest that crosswalks are named "crossing over Main Street" or similar. If certain kinds of streets can be identified, such as turn lanes, they can be named as such as well.
OTP has access to the the OSM data during graph build time, so that would be the better time to produce the crossing names.
Assumptions
An OSM way is a crossing if it is a footway (attribute highway=footway
) and includes the attribute footway=crossing
.
Crosswalks should be marked (attribute crossing:markings!=no
, if the attribute is absent, assume the crosswalk is marked).
The cross street ("e.g. Main Street") of a crosswalk should share a node with the crosswalk itself. If so, use the name of the cross street in building the name of the crossing. Otherwise, retain the default "path" naming.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status