Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Error in Opposite Lane Generation with netconvert

The network contains invalid opposite-edge information an will raise the above error even when calling
netconvert --sumo-net-file network.net.xml --output-file dummy.net.xml
It ought to be possible to fix the network by reprocessing it with --ignore-errors but this currently does not work (https://github.com/eclipse-sumo/sumo/issues/17280) 
As a work-around you can open the network in netedit and save it under a new name.
Then call netconvert again with option --opposites.guess.

regards,
Jakob

Am Mi., 29. Okt. 2025 um 06:15 Uhr schrieb Rohan Verma via sumo-user <sumo-user@xxxxxxxxxxx>:

Dear community,

I’m currently working on generating opposite-direction lanes in a SUMO network using the following command:

netconvert --sumo-net-file network.net.xml --opposites.guess true --output-file opposite.net.xml

However, I’m encountering the following errors during the conversion process:

Error: Opposite lane '8_0' does not reverse-connect the same nodes as edge '11'! Error: Opposite lane '24_0' does not reverse-connect the same nodes as edge '15'! Error: Opposite lane '25_0' does not reverse-connect the same nodes as edge '152'! Error: Opposite lane '41_0' does not reverse-connect the same nodes as edge '196'! Error: Opposite lane '46_0' does not reverse-connect the same nodes as edge '216'!

From what I can tell, these lanes are not neighbors in the network, so I’m unsure why the tool identifies them as opposite lanes or why the reverse connections don’t align.

Could you please help me understand why this might be happening and how to resolve it?
I’ll attach a sample of the network file (network.net.xml) for your reference.

Thank you very much for your time and assistance.

Kind regards,

Rohan

_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user

Back to the top