[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [sumo-user] #Sumolib #traci Conversion of X, Y co ordinates into Geo Co-ordinates (Longitude and Latitude)
|
Hi Mohsin,
is your network georeferenced? See
https://sumo.dlr.de/docs/Geo-Coordinates.html#checking_geo-coordinates
The option for --fcd-output.geo takes a boolean value. So you should
call sumo with
--fcd-output.geo true --fcd-output fdc.xml
The resulting fcd output has x,y attributes, but the values are
geo-coordinates!
Regards, Harald
Am 07.10.19 um 19:22 schrieb Mohsin Memon:
> Hi Harald,
>
> I got the file --fcd-output.geo as a output file. But in that also, I just
> got x,y co-ordinates and not geo co-ordinates(Long. and Lat.).
>
> That's why I was asking about the script to be written using Sumolib to get
> the converted co-ordinates.
>
> My question is: where should I write this script: lon, lat =
> net.convertXY2LonLat(x, y, True) ? In .sumocfg file?
>
> <http://sumo-user-mailing-list.90755.n8.nabble.com/file/t206/fcd-output.jpg>
>
> Can you help me as I don't have good programming knowledge or could you
> please share some example (written code) so that I edit it?
>
> Many Thanks.
>
>
>
> --
> 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