[Proj] cs2cs - specifying UTM zone on command line
support at mnspoint.com
support at mnspoint.com
Thu Nov 1 04:26:15 PDT 2018
Hello,
looks like the following quote is the main reason to avoid the "auto"
implementations unless the method used for the source material is well
known:
"However, it is often convenient or necessary to measure a series of
locations on a single grid when some are located in two adjacent zones."
source:
https://en.wikipedia.org/wiki/Universal_Transverse_Mercator_coordinate_system#Overlapping_grids
Janne.
-------------------------
Robb Main kirjoitti 2018-10-29 17:30:
> When converting many lat,long coordinates to UTM, is there some way to setup cs2cs to calculate the UTM zone based on the longitude of the source cordinate system, rather than having to specify the zone on the command line?
>
> What I'm looking for is something like: instead of this:
> cs2cs +proj=latlong +data=NAD83 +to +proj=utm +zone=10 +datum=NAD27 ./input.data
> you could instead specify:
>
> cs2cs +proj=latlong +data=NAD83 +to +proj=utm +zone=auto +datum=NAD27 ./input.data where 'zone=auto' might tell the algorithm to figure the zone out based on longitude of the input coordinate. This would ensure the output data would be correct, even if the input data file contains coordinates that span multiple UTM zones.
> _______________________________________________
> Proj mailing list
> Proj at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/proj
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/proj/attachments/20181101/b155739b/attachment.html>
More information about the Proj
mailing list