Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Import whole route as a .gpx file in SUMO

Hi,

you can use functions from sumolib,
see in the wiki
a)
https://sumo.dlr.de/wiki/Tools/Sumolib#locate_nearby_edges_based_on_the_geo-coordinate
b) https://sumo.dlr.de/wiki/Tools/Sumolib#coordinate_transformations
You need to parse your gpx file with python, find the matching edges and
append them to a list for your route file

Greetings, Harald

Am 16.07.19 um 03:03 schrieb Mohsin Memon:
> Hi.. I want to use .gpx file as my network file so that i don't have to copy
> paste edges name every time into route file to create a route in SUMO
> network. Do we have any simple or other ways to create a route other than
> selecting each edges name or lane name into route for assigning a route in
> SUMO network. The main problem is : In future, If I want to use another
> route or very big route, I need to copy paste each edges name again into
> route file. Is there any other ways to create a route in SUMO?  Any help or
> solutions would be helpful for my Thesis work.
>
>
>
> --
> Sent from: http://sumo-user-mailing-list.90755.n8.nabble.com/
> _______________________________________________
> sumo-user mailing list
> sumo-user@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>



Back to the top