[Proj] cs2cs - specifying UTM zone on command line

Kristian Evers kreve at sdfe.dk
Mon Oct 29 13:14:46 PDT 2018


Okay, so basically encoding the zone in the easting? Better, but I still think it is weird. At least it produces somewhat sane output.

Is that operation used by any CRS in the EPSG database?

/Kristian

On 29 Oct 2018, at 21:03, Martin Desruisseaux <martin.desruisseaux at geomatys.com<mailto:martin.desruisseaux at geomatys.com>> wrote:


On 29 Oct 2018, at 20:20, Robb Main <rmain.mws at gmail.com<mailto:rmain.mws at gmail.com>> wrote:

(…snip…) I'd consider the UTM zone a part of the OUTPUT, whereas you seem to consider it part of the required input (lat, long & UTM zone).

So in my case:
 in: lat & long
out: UTM zone, easting & northing.

so the process would look more like:
$ echo 6 51 | proj +proj=utm +zone=auto
31    710488.86       5654109.18


Actually such operation already exists in EPSG database (not sure if it exists in Proj4 however). This is the Operation Method EPSG::9824 - Transverse Mercator Zoned Grid System. The output is basically:

E = Z*10^6 + (result of projection for zone Z)

This is not widely used however.

    Martin


_______________________________________________
Proj mailing list
Proj at lists.maptools.org<mailto: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/20181029/d9ca68ed/attachment.html>


More information about the Proj mailing list