Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Guidance on Exporting as OpenDRIVE (.xodr)

For importing OSM, see https://sumo.dlr.de/docs/Networks/Import/OpenStreetMap.html
There is no direct way to transfer attributes from on network file to another network file so your best approach may be to open both networks in parallel netedit instances and then transfer attributes manually between them.
See also https://sumo.dlr.de/docs/Tutorials/ScenarioGuide.html#modifying_the_network as an alternative.




Am Mi., 5. Feb. 2025 um 16:36 Uhr schrieb Milad Sasha via sumo-user <sumo-user@xxxxxxxxxxx>:
Thank you for your prompt response.

Actually I don’t want to export an osm map. I want to import it into net edit which I think is possible. Then I want to edit the lane width and traffic regulations of that map inside SUMO based on data from a .xodr file of that map. 
Could you please guide me with this?

Thanks


On Wed, Feb 5, 2025 at 10:05 AM Jakob Erdmann via sumo-user <sumo-user@xxxxxxxxxxx> wrote:
- netedit cannot export OSM so "editing an OSM map" is not feasible.
- xodr supports roads with varying lane widths whereas netedit only supports a constant width (and you have to split the edge to change widths).
Please refer to the documentation on supported formats: https://sumo.dlr.de/docs/netconvert.html#supported_network_formats


Am Mi., 5. Feb. 2025 um 15:48 Uhr schrieb Milad Sasha via sumo-user <sumo-user@xxxxxxxxxxx>:
Thank you so much for your help and guidance. Actually I need to know one more thing. Is it possible if I import a .xodr file into net edit and modify an existing osm (open street map) of that network inside net edit based on the lane width data of the .xodr ? 
I mean how can I set up a process to edit an osm map and add details from opendrive file into it inside the net edit?

Your help is much appreciated


On Wed, Feb 5, 2025 at 2:56 AM Jakob Erdmann via sumo-user <sumo-user@xxxxxxxxxxx> wrote:
You can save to .xodr from netedit by using F10->output->opendrive-output->FILE
Or you can convert a map from the command line with 'netconvert -s old.net.xml --opendrive-output new.xodr'
The generated .xodr will not have mesh information.

Am Mi., 5. Feb. 2025 um 02:04 Uhr schrieb Milad Sasha via sumo-user <sumo-user@xxxxxxxxxxx>:
I needed to add one more concern and I will appreciate it if you answer this too, if it is possible to export the .xodr format from SUMO's netEdit, does it lack mesh information?

On Tue, Feb 4, 2025 at 7:38 PM Milad Sasha <milad.sasha70@xxxxxxxxx> wrote:

Dear SUMO Team,

I am working on a project where I import OpenStreetMap (.osm) files into SUMO NetEdit using netconvert. After importing, I modify the network within NetEdit to adjust road attributes and intersections.

I would like to know if there is a way to export the modified SUMO network as an OpenDRIVE (.xodr) file. If direct export is not possible, what alternative methods do you recommend for converting a SUMO network into OpenDRIVE?

Thank you for your guidance.

Best regards

_______________________________________________
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