[Proj] convert latlon to UTM without knowing the zone beforehand

Margherita Di Leo diregola at gmail.com
Wed Dec 17 09:03:51 EST 2014


Charles,

thank you! excellent tool

Cheers,
Margherita

On Wed, Dec 17, 2014 at 2:45 PM, Charles Karney <charles.karney at sri.com>
wrote:
>
> The GeoConvert utility from GeographicLib might serve your needs.  For
> example:
>
> $ echo 33.3N 44.4E | GeoConvert -u -p 3
> 38n 444140.545 3684706.356
>
> Here is the man page
>
>    http://geographiclib.sourceforge.net/html/GeoConvert.1.html
>
> Visit
>
>    http://geographiclib.sourceforge.net/cgi-bin/GeoConvert
>
> to try it out.  This page also has a link for downloading GeographicLib.
>
> On 12/17/2014 08:34 AM, Margherita Di Leo wrote:
> > Hi,
> >
> > I need to convert any pairs of geographic coordinates (latlon) into UTM.
> > This needs to run automatically so that I need an automatic tool to tell
> > for any pairs which UTM zone it belongs to before converting. Of course
> > I can encode in my script all possible cases, but before reinventing the
> > wheel i wanted to ask if there is such tool already within proj.4
> library.
> >
> > Thank you in advance
> >
> > --
> > Best regards,
> >
> > Dr. Margherita DI LEO
> > Scientific / technical project officer
>
>
> _______________________________________________
> Proj mailing list
> Proj at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/proj
>


-- 
Best regards,

Dr. Margherita DI LEO
Scientific / technical project officer

European Commission - DG JRC
Institute for Environment and Sustainability (IES)
Via Fermi, 2749
I-21027 Ispra (VA) - Italy - TP 261

Tel. +39 0332 78 3600
margherita.di-leo at jrc.ec.europa.eu

Disclaimer: The views expressed are purely those of the writer and may not
in any circumstance be regarded as stating an official position of the
European Commission.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/proj/attachments/20141217/29ccc2ee/attachment.htm 


More information about the Proj mailing list