[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [sumo-user] TRACI geo coordinates
|
If the files are completely identical regardless of whether you added option --fcd-output.geo or not, it means that your network is not geo-referenced.
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 .
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
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.
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
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”
_______________________________________________
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