Hello, 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
For more information regarding typemaps see http://sumo.dlr.de/wiki/Networks/Import/OpenStreetMap#Recommended_Typemaps 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"/> regards, Jakob 2017-10-24 20:01 GMT+02:00 <[email protected]>: > Hello, > 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 > Michel > > ------------------------------ > *De: *"Jakob Erdmann" <[email protected]> > *À: *"Michel Souweine" <[email protected]> > *Envoyé: *Mardi 24 Octobre 2017 11:28:08 > > *Objet: *Re: [sumo-user] strange behavior on importing from OpenstreetMap > > Hello, > 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, > Jakob > > 2017-10-24 8:33 GMT+02:00 <[email protected]>: > >> Hello, >> 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 (map_osm_file.zip), 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 >> Michel >> >> *De: *"Jakob Erdmann" <[email protected]> >> *À: *"Sumo project User discussions" <[email protected]>, "Michel >> Souweine" <[email protected]> >> *Envoyé: *Mardi 24 Octobre 2017 00:46:48 >> *Objet: *Re: [sumo-user] strange behavior on importing from OpenstreetMap >> >> >> Hello, >> - 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. >> regards, >> Jakob >> >> 2017-10-23 20:49 GMT+02:00 <[email protected]>: >> >>> Hello, >>> >>> 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 >>> [email protected] >>> To change your delivery options, retrieve your password, or unsubscribe >>> from this list, visit >>> https://dev.eclipse.org/mailman/listinfo/sumo-user >>> >>> >> >> > >
_______________________________________________ sumo-user mailing list [email protected] To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/sumo-user
