Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] strange behavior on importing from OpenstreetMap

when running netconvert, an outdated typemap was used (probably because SUMO_HOME still points to another directory).
In older versions of SUMO,  edge types were interpreted as bi-directional by default if the type declaration did not specify anything. In later versions this default was modified to 'one-way'.
Hence, newer typemaps specify explicitly that edge types such as 'highway.primary' should be interpreted as bidirectional by setting _oneway_="0".
In your case, osm edges that did not specify if they are oneway or not (in the osm file) were using the wrong default.
Please make sure to update SUMO_HOME or set the typemap explicitly using option
--type-files data/typemap/osmNetconvert.typ.xml

To check which type definitions were used, check the top of your net.xml file for declerations such as :
 <type id="highway.primary" priority="9" numLanes="2" speed="27.78" disallow="tram rail_urban rail rail_electric ship" _oneway_="0"/>


2017-10-24 20:01 GMT+02:00 <michel.souweine@xxxxxxx>:
Please, find enclosed the net.xml file
Before to send, I look at it thourougly once more to avoid useless work for you but I couldn't find any hint..
I would be deeply disappointed if I wrongly either import or netconvert.
Thanks once more

De: "Jakob Erdmann" <namdre.sumo@xxxxxxxxxxxxxx>
À: "Michel Souweine" <michel.souweine@xxxxxxx>
Envoyé: Mardi 24 Octobre 2017 11:28:08

Objet: Re: [sumo-user] strange behavior on importing from OpenstreetMap

the net looks different when I import it with version 0.31.0 (all edges at the roundabout are two-way). Furthermore, the log output of netconvert has fewer warnings. Please send me the .net.xml file that you generated so that I can try to figure out the source of the difference.
best regards,

2017-10-24 8:33 GMT+02:00 <michel.souweine@xxxxxxx>:
Thanks for your answer :
I use netconvert coming from Sumo-win64-031.0.msi
No, I think I don't use any specific option : please, see map_openstreetmap.jpg for my request on openstreemap
No, I don't use any custom file
In addition to osm file as request (, please find enclosed messages_netconvert.jpg resulting from running netconvert, and with puzzling warning.
Finaly, here's an example of wrong Lane : 32233996#0_1 visible on screen copy 'roundabout_with_wrong_lane.jpg. Incoming lanes to the roundabout are wrong too
Thanks once more for your kind help

De: "Jakob Erdmann" <namdre.sumo@xxxxxxxxxxxxxx>
À: "Sumo project User discussions" <sumo-user@xxxxxxxxxxx>, "Michel Souweine" <michel.souweine@xxxxxxx>
Envoyé: Mardi 24 Octobre 2017 00:46:48
Objet: Re: [sumo-user] strange behavior on importing from OpenstreetMap

- what version of netconvert did you use for the import?
- what options did you use for importing?
- did you specify a custom type file? (this is the only thing that should be able to influence one-way/two-way importing)
If running netconvert 0.31.0 with minimal options (--osm-files) produces faulty results, please send me the osm file along with an edge ID that should be two-way but isn't.

2017-10-23 20:49 GMT+02:00 <michel.souweine@xxxxxxx>:


Please, it would be very pleased if I could  receive some hint on the above topic :
Previously, I was able to import and convert maps perfectly fo many years…

Now, after some absence on this matter, I import an area quite  the same I used to work on, and on the file resulting from convert, some roads have all their edges on the same direction which is not correct (road has kept edges on both direction...)

Of course, I am reluctant to edit all the wrong edges by hand….

Thank you very much for any answer which will be deeply appreciated
Michel Souweine

sumo-user mailing list
To change your delivery options, retrieve your password, or unsubscribe from this list, visit

Back to the top