Hello,
the command:
 netconvert -s map.net.xml --opendrive-output map.xodr
will do the trick.
Note, that there are some warnings about unconnected edges which you
probably want to fix (in map.net.xml) before doing the export.
regards,
Jakob

2017-05-20 1:07 GMT+02:00 Tobias Schneeberg <[email protected]>:

> Hello everybody,
>
>
>
> I got a problem trying to export my SUMO network as an OpenDRIVE file and I
> hope somebody can help me.
>
>
>
> My situation:
>
> 1. I exported the streets of a traffic training area located near Stuttgart
> in Germany from OpenStreetMap
> (http://www.openstreetmap.org/search?query=solitude%20ring#
> map=17/48.76725/9
> .04774)
>
> 2. Next, I edited the .osm file in JOSM to fix some lanes and junctions.
>
> 3. Then I converted this file containing data from OpenStreetMap to a SUMO
> network file. That went really well, so now I am able to simulate traffic
> on
> this training area in SUMO. Also I used NETEDIT to fix some last issues
> with
> the lanes and edges that could not be solved with JOSM.
>
>
>
> 4. The next step now is to export this SUMO network to the OpenDRIVE
> format.
> But when using the appropriate command
>
>                 --opendrive-output <filename.net.xml>
>
> I get the following message:
>
> "Error: No nodes loaded.
>
> Quitting (on error)."
>
>
>
> So what could be my problem?
>
> - Do I use the wrong file extension? Do I have to export the .sumo.cfg file
> instead of the .net.xml file? Trying this or any other extension I received
> the same error.
>
> - Is my file faulty? I attached my file, so you can have a look at it. Also
> I tried another file from the tutorial (
> <http://sumo.dlr.de/wiki/Tutorials/OSMActivityGen/eichstaett.osm>
> Tutorials/OSMActivityGen/eichstaett.osm). Using this file I received the
> same error.
>
>
>
> At this point I have no other ideas what to try..
>
>
>
> Best regards,
>
>
>
> Tobias.
>
>
> ------------------------------------------------------------
> ------------------
> 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

Reply via email to