Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Netedit doesn't load .osm file correctly

Your input contains plenty of invalid data (i.e. <tag k="maxspeed" v="nan" />)
If you remove all the "nan" lines, all edges are imported.

Am Mo., 4. Okt. 2021 um 14:02 Uhr schrieb Toprak Fırat <atoprakfirat@xxxxxxxxx>:
Hello,

After I download an osm file from open street map, edit and split the traffic network into smaller subnetworks, I save the subnetworks as .osm files, using osmnx and python.

However when I use the netconvert function

netconvert --osm-files map.osm --output-file map.net.xml

or

netconvert --osm-files map.osm --output-file map.net.xml --geometry.remove --roundabouts.guess --ramps.guess --junctions.join --tls.guess-signals --tls.discard-simple --tls.join

and I open the the .net.xml file on Netedit or Sumo-Gui, some roads doesn’t appear even though I’m confident that the file is alright because when I load the saved .osm file and plot it on python there is no problem.

I also tried importing .osm directly using the import foreign network function, but I still have the same result.
_______________________________________________
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