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 <[email protected]>, 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 > > <[email protected]>: > > > 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 <[email protected]>, > > > wrote: > > > > Maybe what you are looking for is this: > > > > --fcd-output fcd.xml --fcd-output.geo > > > > > > > > (see https://sumo.dlr.de/docs/Simulation/Output/FCDOutput.html) > > > > > > > > > Am So., 10. Mai 2020 um 04:39 Uhr schrieb nithin reddy > > > > > <[email protected]>: > > > > > > 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 > > > > > > <[email protected]>, wrote: > > > > > > > https://sumo.dlr.de/docs/TraCI/Interfacing_TraCI_from_Python.html#coordinate_transformations > > > > > > > > > > > > > > > Am Sa., 9. Mai 2020 um 17:37 Uhr schrieb nithin reddy > > > > > > > > <[email protected]>: > > > > > > > > > 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 > > > > > > > > > [email protected] > > > > > > > > > To unsubscribe from this list, visit > > > > > > > > > https://www.eclipse.org/mailman/listinfo/sumo-user > > > > > > > _______________________________________________ > > > > > > > sumo-user mailing list > > > > > > > [email protected] > > > > > > > To unsubscribe from this list, visit > > > > > > > https://www.eclipse.org/mailman/listinfo/sumo-user > > > > > > _______________________________________________ > > > > > > sumo-user mailing list > > > > > > [email protected] > > > > > > To unsubscribe from this list, visit > > > > > > https://www.eclipse.org/mailman/listinfo/sumo-user > > > > _______________________________________________ > > > > sumo-user mailing list > > > > [email protected] > > > > To unsubscribe from this list, visit > > > > https://www.eclipse.org/mailman/listinfo/sumo-user > > > _______________________________________________ > > > sumo-user mailing list > > > [email protected] > > > To unsubscribe from this list, visit > > > https://www.eclipse.org/mailman/listinfo/sumo-user > _______________________________________________ > sumo-user mailing list > [email protected] > To unsubscribe from this list, visit > https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________ sumo-user mailing list [email protected] To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
