Hello,
the projection parameters can be found in the projParameter attribute of
the <location> element in the generated file.
This can be used to initialize a projection algorithm
For a python example refer to the functions getGeoProj, convertLonLat2XY
in
https://svn.code.sf.net/p/sumo/code/trunk/sumo/tools/sumolib/net/__init__.py
Sumo gives additional support for conversion if polyconvert was used with a
network file (option -n)
In this case above python library can be used to perform lon,lat->x,y
conversions that mirror those in the network.
regards,
Jakob

2017-03-16 11:57 GMT+01:00 Angelo <[email protected]>:

> Hi, I converted an osm file with polyconvert through this command:
>
> polyconvert --osm-files ${OSM_FILE} -o ${OSM_FILE_POLY}
>
> At this point I need to convert some lat-lon coordinate points in
> cartesian coordinates, using the same conversion made by the previous
> command. Is there any way to do this?
>
> Thank you
>    Angelo T.
>
> ------------------------------------------------------------
> ------------------
> 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
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/sumo-user
>
------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user

Reply via email to