Hi Tanuja,
your approach sounds correct although I do not understand the part about
updating. The easiest way to obtain the coordinates without running sumo
is probably to use sumolib, especially the function convertXY2LonLat in
sumolib.net.Net. You can also have a look at the code in
tools/sumolib/net/__init__.py

Best regards
Michael

Am 14.04.2018 um 20:20 schrieb Tanuja S via sumo-user:
> Hi,
> 
> I wish to obtain the original lat, long of the nodes which are projected
> (UTM) in the .net file. I read in the documentation (
> http://sumo.dlr.de/userdoc/Networks/SUMO_Road_Networks.html) that, the
> offset should be applied to the X, Y values in the .net file first,
> followed by the inverse projection (pj_inv) function to obtain the original
> lat, long of the nodes.
> 
> I presume, applying the offset to an individual node is done by extracting
> the X, Y values from .net file by using a simple program. Following the
> offset, the new values are updated back in the .net file, an inverse
> projection is later employed on this .net file with X, Y values being the
> new values (X-netoffset). Can you suggest me is my understanding of the
> approach correct?
> 
> 
> Regards,
> Tanuja S
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> sumo-user mailing list
> sumo-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sumo-user
> _______________________________________________
> sumo-user mailing list
> sumo-u...@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe from 
> this list, visit
> https://dev.eclipse.org/mailman/listinfo/sumo-user
> 


Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
sumo-user mailing list
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user

Reply via email to