matsim-org / pt2matsim

Package to create a multi-modal MATSim network and schedule from public transit data (GTFS or HAFAS) and an OSM map of the area.
http://www.ivt.ethz.ch/publikationen/studenten/530.html
GNU General Public License v2.0
49 stars 68 forks source link

Create DisallowedNextLinks attributes for turn restrictions #202

Closed marecabo closed 6 months ago

marecabo commented 8 months ago

This enables the OsmMultimodalNetworkConverter to attach DisallowedNextLinks (https://github.com/matsim-org/matsim-libs/pull/2855) attributes to links containing OSM turn restriction information.

This is part of an effort in supporting turn restrictions in MATSim, see https://github.com/matsim-org/matsim-libs/issues/2829 and thus might fix #75.

Enable this feature with

OsmConverterConfigGroup osmConfig = OsmConverterConfigGroup.createDefaultConfig();
osmConfig.parseTurnRestrictions = true;
marecabo commented 6 months ago

When #204 has been merged, I will update these tests to JUnit 5, too.

polettif commented 6 months ago

The version bump PRs are ok 👍 and probably long overdue

marecabo commented 6 months ago

Thanks for your comments, they should be addressed so far.