You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
TurnRestrictions: support multiple From or To ways #2136
Currently the class OSMTurnRelation only holds one from and one to id. However, OSM allows to have multiple from or to ways (see). I haven't see too many restrictions that have this, but it would be nice to support and it should be relatively easy to support.
I see two options to approach this. In OSMReader#createTurnRelation we could check if there are multiple from or to members and create multiple TurnRelations. This approach seems a bit easier to me. The other option would be to change the OSMTurnRelation to contain a List of from and to, but the overhead of a list is probably not worth the benefit?
Activity
[-]TurnRestrictions: support multple From or To ways[/-][+]TurnRestrictions: support multiple From or To ways[/+]