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

Failure to Replicate Bus Connections #14507

Closed
henrigrossmann opened this issue Mar 13, 2024 · 2 comments
Closed

Failure to Replicate Bus Connections #14507

henrigrossmann opened this issue Mar 13, 2024 · 2 comments
Assignees

Comments

@henrigrossmann
Copy link

Somewhat related to #14476:

Issue Description:
Netconvert fails to accurately implement bus only connections when two different lanes of the same edge target the same lane due to conflicting connections. Despite being achievable through netedit, netconvert does not replicate these conflicting connections.

Example:
Consider way ID 288968955 in the attached OSM file. In the backward direction, it features three turning lanes (turn:bus:lanes:backward = left|through|through;right). Consequently, the two rightmost lanes require a connection to go straight (one for cars, one for bus only). However, the target way has only one lane, resulting in netconvert creating only one lane for going straight, ignoring the second "through" in (turn:bus:lanes:backward = left|through|through;right). Additionally, no warning is issued when creating the net using netconvert, like for example "Warning: Cannot apply turn sign information for edge '-288968955#0' because the target edge '-288968953#2' has no suitable lanes"

Version:
v1_19_0+1227-3616da08d4d

OSM.zip

@henrigrossmann henrigrossmann changed the title Failure to Replicate Conflicting Bus Connections Failure to Replicate Bus Connections Mar 13, 2024
@namdre namdre self-assigned this Mar 13, 2024
@henrigrossmann
Copy link
Author

henrigrossmann commented Mar 20, 2024

Just a small update: If a bicycle lane and a bus lane merge into a single car lane it works perfectly fine. I attach an example where a bus (-13251973_1) and a bicycle lane (-13251973_0) merge into the same target lane (-1262633729_0).
example.zip

@namdre
Copy link
Contributor

namdre commented Mar 24, 2024

actually, there is a warning:
Warning: Cannot apply turn sign information for edge '-288968955#0' because the target edge '-29151276#5' has no suitable lanes
If one loads a typemap with

    <type id="highway.service"        numLanes="1" speed="5.56"  priority="1"  oneway="false" allow="delivery pedestrian bicycle passenger"/>

then the connection layout works fine (bus and passenger straight connections merge into a single lane)

namdre added a commit that referenced this issue Mar 24, 2024
@namdre namdre closed this as completed in e3c16f8 Mar 24, 2024
namdre added a commit that referenced this issue Mar 24, 2024
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

2 participants