[Proj] cs2cs - specifying UTM zone on command line

Martin Desruisseaux martin.desruisseaux at geomatys.com
Mon Oct 29 13:03:27 PDT 2018


>> 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


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/proj/attachments/20181029/9e41117f/attachment.html>


More information about the Proj mailing list