Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] OSM file questions - extension of osm file

Hi Ali,

using osmWebWizard.py you need not to call netconvert directly.

In your screenshot this is just an example.  In SUMO the convention is that all xml-files ends with .xml . The bext-to-last extension indicates usually the type of the file .

Unless you have experience with the command line you should stick to the WebWizard.

Regards, Harald

Am 15.07.2021 um 16:16 schrieb ali mirzaei:
Hi Harald,
Don't you think the xml extension underlined in red, needs to be converted to osm extension?
Regards, Ali

On Thu, Jul 15, 2021 at 1:57 AM ali mirzaei <alimrz222@xxxxxxxxx> wrote:
Hi Harald,
As I understand, you mean that by using the "https://sumo.dlr.de/docs/Tutorials/OSMWebWizard.html", I get to the output file (osm.net.xml) directly and there is no need to use cmd. Am I right?

Regards, Ali

On Thu, Jul 15, 2021 at 1:13 AM Harald Schaefer <fechsaer@xxxxxxxxx> wrote:

Hi Ali,

my understanding for osmWebWizard.y is:

the osm file is named osm.bbox.osm.xml.

netconvert with the config file osm.netccfg generates the SUMO file osm.net.xml, You can edit this file with netedit.

Regards, Harald

Am 14.07.21 um 13:59 schrieb ali mirzaei:
.Hi Harald,
Thank you so much for replying. 
I am using the 1.9.2 version. The problem was solved when I figured out the file is storing in "C:\Users\username\Sumo". Before that, I was checking the "C:\Program Files (x86)\Eclipse\Sumo\tools" path.
I have another question. The manual says: "OSM data must be converted before it can be used with Sumo (See networks/import/OpenStreetMap)...". After running the scenario and checking the directory, I didn't find any file like ~.osm.xml which needs to be converted and. Is it possible? Is there any problem with my job?

Regards, Ali.

On Wed, Jul 14, 2021 at 1:56 AM Harald Schaefer <fechsaer@xxxxxxxxx> wrote:

Hi Ali,

see below

Am 13.07.2021 um 13:15 schrieb ali mirzaei:
Hi everyone,
1- I want to know if it is possible to manipulate an OSM file by TraCI?

I have no answer for this, I guess it is not possible.

You can use traci to close certain edges.

2-  I've done the instructions step by step in https://sumo.dlr.de/docs/Tutorials/OSMWebWizard.html, but at the end of the simulation, there is neither an output stored in the tools directory nor the ~sumo/... . What's wrong with it?

for me it works ffrom the command line (cmd) with

   python3 "%PYTHONPATH%\osmWebWizard.py"

and  the latest development version

Which version are you using?

The results are in the current directory

Regards, Harald



Regards,
Ali

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

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

_______________________________________________
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