Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OSM: support for access & turn restrictions #75

Closed
ait-energy opened this issue Dec 18, 2018 · 1 comment · Fixed by #202
Closed

OSM: support for access & turn restrictions #75

ait-energy opened this issue Dec 18, 2018 · 1 comment · Fixed by #202

Comments

@ait-energy
Copy link
Contributor

Is it correct that pt2matsim currently ignores access restrictions and turn restrictions and are there plans to implement them?

I figure the implementation of access restrictions is straight-forward in OsmMultimodalNetworkConverter.java. For turn restrictions we could use NetworkExpandNode - similar to NetworkTeleatlasAddManeuverRestrictions

@polettif
Copy link
Contributor

Correct, both access and turn restrictions are not considered by the osm network converter (except oneway streets). There are currently no plans to implement them, feel free to open a pull request.

Ways with access restrictions could be ignored or filtered out while links are created. NetworkExpandNode does seem like the best way to implement turn restrictions. However, I'm not familiar with the class and I don't really have time to develop and test such a feature addition. I'd guess it's possible to add expanded nodes after the network has been created by going through all relevant relations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant