[Proj] cs2cs - specifying UTM zone on command line

Charles Karney charles at karney.com
Mon Oct 29 13:37:45 PDT 2018


Is there a provision for encoding the hemisphere (north/south) to
distinguish between
  40N       3E -> 31n 500000 4427757
  50.30230S 3E -> 31s 500000 4427757

On 10/29/18 4:03 PM, Martin Desruisseaux 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
> http://lists.maptools.org/mailman/listinfo/proj
> 



More information about the Proj mailing list