Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] TRACI geo coordinates

Great ... thanks Jacob that really helped . However I do not see any kind of difference when I use the .geo and the normal command .
Am I missing out on something here .

Thanks,
Nithin 
On 10 May 2020, 1:24 PM +0530, Jakob Erdmann <namdre.sumo@xxxxxxxxx>, wrote:
you need to set the options like this:
--fcd-output sumoout.xml --fcd-output.geo

Am So., 10. Mai 2020 um 09:48 Uhr schrieb nithin reddy <nithinreddyns@xxxxxxxxx>:
This is the error screenshot I am getting . Kindly check

Regards,
Nithin
“Not my Efforts, all by his Grace”
On 10 May 2020, 12:23 PM +0530, nithin reddy <nithinreddyns@xxxxxxxxx>, wrote:
Correct but when I use the fcd-output.geo I get error running simulation.

Regards,
Nithin
“Not my Efforts, all by his Grace”
On 10 May 2020, 12:20 PM +0530, Jakob Erdmann <namdre.sumo@xxxxxxxxx>, wrote:
When using the option --fcd-outputs.geo, the x,y attributes will already contain the lon,lat data you need.

Am So., 10. Mai 2020 um 08:48 Uhr schrieb nithin reddy <nithinreddyns@xxxxxxxxx>:
That will only provide me with the x and y coordinates . However what I need are geo coordinates in latitude and longitude converted using the x and y values. 
These lines must be put in Traci to convert.
x, y = traci.vehicle.getPosition(traci_veh)
lon, lat = traci.simulation.convertGeo(x, y)


Regards,
Nithin
“Not my Efforts, all by his Grace”
On 10 May 2020, 12:15 PM +0530, Jakob Erdmann <namdre.sumo@xxxxxxxxx>, wrote:
Maybe what you are looking for is this:
--fcd-output fcd.xml --fcd-output.geo


Am So., 10. Mai 2020 um 04:39 Uhr schrieb nithin reddy <nithinreddyns@xxxxxxxxx>:
Thanks Jacob . The issue is I have written a code for this alredy but I am not getting that output in tripsout.xml file.
However if I print those coordinates I can print them on the console .
Any idea how I can print the output into a file.
If you have the working  code how I can put those coordinates could you please me to edit as I am not great with programming please.

Regards,
Nithin
“Not my Efforts, all by his Grace”
On 10 May 2020, 1:58 AM +0530, Jakob Erdmann <namdre.sumo@xxxxxxxxx>, wrote:

Am Sa., 9. Mai 2020 um 17:37 Uhr schrieb nithin reddy <nithinreddyns@xxxxxxxxx>:
Dear all,

I would like to get the geo coordinates using Traci in SUMO. I am not very good with programming so kindly request Somone to share the code to convert the x,y coordinates to geo coordinates please.

Regards,
Nithin
“Not my Efforts, all by his Grace”
_______________________________________________
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
_______________________________________________
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