a-b-street / abstreet

Transportation planning and traffic simulation software for creating cities friendlier to walking, biking, and public transit
https://a-b-street.github.io/docs/
Apache License 2.0
7.7k stars 342 forks source link

Improvements to Design LTN : Improved shortcut detection #1112

Open andrewphilipsmith opened 1 year ago

andrewphilipsmith commented 1 year ago

Current behaviour:

When enumerating shortcuts in the LTN tool, it is possible to iterate through all of the potential shortcuts for a specific road segment.

The shortcut detection will respect will turn restrictions which are within a neighbourhood.

The shortcut detection ignore turn restriction at the boundary of a neighbourhood

If there are turn restrictions at the boundary of a neighbourhood, then the shortcut detection does not

Example

https://github.com/a-b-street/abstreet/assets/5346065/519aea45-1db8-4bb6-8fac-277fbe061556

The video shows an example of current behaviour whilst editing Elms Drive - Oxford.

Suggested improvement:

The shortcut detection should respect turn restrictions at the boundary of the neighbourhood.