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

Create connections from OSM relation exceptions (netconvert) #12645

Closed
gladysmcgan opened this issue Feb 17, 2023 · 2 comments
Closed

Create connections from OSM relation exceptions (netconvert) #12645

gladysmcgan opened this issue Feb 17, 2023 · 2 comments

Comments

@gladysmcgan
Copy link

I am trying to fix disconnected routes in public transport vehicles, and some disconnects are arising from missing connections between adjacent edges. I am guessing the reason is that netconvert does not read exceptions in OSM restriction relations.

Example of OSM restriction relation in the Zurich network. Here, except=psv (in other instances, except=bus) connections-tag
connections-milchbuck-osm

If it doesn't already exist, a useful option would be to write bus-specific connections to the network during netconvert. My fix now is to add the additional bus-specific connection (as below) to the connection file, to then patch the network file.

<connection from="576411466" to="38101627" fromLane="0" toLane="0" allow="bus"/>
<connection from="576411466" to="38101627" fromLane="1" toLane="1" allow="bus"/>

The option to teleport vehicles on disconnected routes (--time-to-teleport.disconnected) works, but the vehicles would not interact with car traffic realistically, e.g. if the edge to teleport the bus is full, the bus skips to the next edge and it might miss stops.

Eclipse SUMO netconvert Version 1.15.0

@namdre
Copy link
Contributor

namdre commented Feb 17, 2023

slightly related to #10406 and #6767 but looks like a distinct thing (exceptions in connection restrictions).
Back when the code for handling connection restrictions was added, connections didn't yet allow for custom permissions that differed from the road permissions.

@namdre namdre self-assigned this Feb 17, 2023
namdre added a commit that referenced this issue Feb 18, 2023
namdre added a commit that referenced this issue Feb 18, 2023
namdre added a commit that referenced this issue Feb 18, 2023
@namdre namdre closed this as completed in 326c192 Feb 18, 2023
namdre added a commit that referenced this issue Feb 18, 2023
namdre added a commit that referenced this issue Feb 19, 2023
@gladysmcgan
Copy link
Author

Awesome, thank you!

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

No branches or pull requests

4 participants