<div dir="ltr"><div><div><div>Charles,<br><br></div>thank you! excellent tool<br><br></div>Cheers,<br></div>Margherita<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Dec 17, 2014 at 2:45 PM, Charles Karney <span dir="ltr">&lt;<a href="mailto:charles.karney@sri.com" target="_blank">charles.karney@sri.com</a>&gt;</span> wrote:<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">The GeoConvert utility from GeographicLib might serve your needs.  For<br>
example:<br>
<br>
$ echo 33.3N 44.4E | GeoConvert -u -p 3<br>
38n 444140.545 3684706.356<br>
<br>
Here is the man page<br>
<br>
   <a href="http://geographiclib.sourceforge.net/html/GeoConvert.1.html" target="_blank">http://geographiclib.sourceforge.net/html/GeoConvert.1.html</a><br>
<br>
Visit<br>
<br>
   <a href="http://geographiclib.sourceforge.net/cgi-bin/GeoConvert" target="_blank">http://geographiclib.sourceforge.net/cgi-bin/GeoConvert</a><br>
<br>
to try it out.  This page also has a link for downloading GeographicLib.<br>
<span class=""><br>
On 12/17/2014 08:34 AM, Margherita Di Leo wrote:<br>
&gt; Hi,<br>
&gt;<br>
&gt; I need to convert any pairs of geographic coordinates (latlon) into UTM.<br>
&gt; This needs to run automatically so that I need an automatic tool to tell<br>
&gt; for any pairs which UTM zone it belongs to before converting. Of course<br>
&gt; I can encode in my script all possible cases, but before reinventing the<br>
&gt; wheel i wanted to ask if there is such tool already within proj.4 library.<br>
&gt;<br>
&gt; Thank you in advance<br>
&gt;<br>
&gt; --<br>
&gt; Best regards,<br>
&gt;<br>
&gt; Dr. Margherita DI LEO<br>
&gt; Scientific / technical project officer<br>
<br>
<br>
</span>_______________________________________________<br>
Proj mailing list<br>
<a href="mailto:Proj@lists.maptools.org">Proj@lists.maptools.org</a><br>
<a href="http://lists.maptools.org/mailman/listinfo/proj" target="_blank">http://lists.maptools.org/mailman/listinfo/proj</a><br>
</blockquote></div><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr"><div><font color="#666666">Best regards,</font></div><div><font color="#666666"><br></font></div><div><font color="#666666">Dr. Margherita DI LEO    </font></div><div><span style="color:rgb(102,102,102);font-family:arial;font-size:small">Scientific / technical project officer</span><br></div><div><font color="#666666"><br></font></div><div><font color="#666666">European Commission - DG JRC </font></div><div><font color="#666666">Institute for Environment and Sustainability (IES)</font></div><div><font color="#666666">Via Fermi, 2749</font></div><div><font color="#666666">I-21027 Ispra (VA) - Italy - TP 261</font></div><div><font color="#666666">       </font></div><div><font color="#666666">Tel. +39 0332 78 3600   </font></div><div><font color="#666666"><a href="mailto:margherita.di-leo@jrc.ec.europa.eu" target="_blank">margherita.di-leo@jrc.ec.europa.eu</a></font></div><div><font color="#666666"><br></font></div><div><font color="#666666">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.</font></div></div></div>
</div>