the command ought to be: netconvert --osm-files nai2.osm -o nai2.net.xml rather than netconvert --osm-files nai2.osm.xml -o nai2.net.xml
2017-03-21 12:43 GMT+01:00 KV Rop <[email protected]>: > Hi Jakob, > > The osm file is in the folder C:/src/sumo-0.25.0/projects/nai2 > The osm file itself is called nai2.osm > The command i was running is > > */c/src/sumo-0.25.0/projects/nai2$* netconvert --osm-files nai2.osm.xml > -o nai2.net.xml > > > From checking other websites, i have even tried; > > call netconvert --osm-files nai2.osm -o nai2.net.xml > > > but i get an error > > bash: call: command not found > > Could it be something to do with the path? The path i set under > environment variables/user variables is > > C:\src\sumo-0.25.0\bin\ > > > > Regards, > > Victor > > On Tue, Mar 21, 2017 at 2:20 PM, Jakob Erdmann <[email protected] > > wrote: > >> Hello, >> your explorer is set to hide file extensions. Maybe the file is called >> nai2.osm or something completely different. >> This does not look like a netconvert specific problem on first glance. >> regards, >> Jakob >> >> 2017-03-20 15:42 GMT+01:00 KV Rop <[email protected]>: >> >>> I am trying to convert .osm file i exported from openstreetmap but am >>> getting an error (attached) when i run netconvert --osm-files >>> nai2.osm.xml >>> -o nai2.net.xml >>> >>> Error: Could not open osm-file 'nai2.osm.xml'. >>> Error: No nodes loaded. >>> Quitting (on error). >>> >>> >>> Recently, i have been using it and it worked fine, only that i don't know >>> why am getting an error today and haven't changed anything. Am using >>> sumo-0.25.0, veins-4.4. and OMNeT++4.6. >>> >>> I have checked the osm file and it contains the normal codes e.g. nodes, >>> ways, etc. Also, i have tried with another map and still the same thing, >>> meaning posibly the problem is not with the .osm file. >>> >>> What could be the problem? Thanks >>> >>> Regards, >>> >>> Victor >>> >>> ------------------------------------------------------------ >>> ------------------ >>> Check out the vibrant tech community on one of the world's most >>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot >>> _______________________________________________ >>> sumo-user mailing list >>> [email protected] >>> https://lists.sourceforge.net/lists/listinfo/sumo-user >>> >>> >> > ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ sumo-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sumo-user
