<br><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Milo van der Linden</b> <span dir="ltr">&lt;<a href="mailto:milo@dogodigi.net">milo@dogodigi.net</a>&gt;</span><br>
Date: 2011/1/12<br>Subject: Re: [mapserver-users] Reporting lat/long from projected map units<br>To: &quot;Bistrais, Bob&quot; &lt;<a href="mailto:Bob.Bistrais@maine.gov">Bob.Bistrais@maine.gov</a>&gt;<br><br><br>Are you talking bout a web-app? Do you use a client like OpenLayers? What programming language(s) do you use? Is your datasource a database? Like postgis?<br>
<br>If you can get UTM coordinates from the mouseclick, the next best option (in my opinion) would be to use proj4js:<br>
<br><a href="http://proj4js.org/" target="_blank">http://proj4js.org/</a><br><br>Simply embed the js-library ad an event for mouse handling and convert: screen-&gt;utm-&gt;4326. <br><br><br><br><br><div class="gmail_quote">
2011/1/12 Bistrais, Bob <span dir="ltr">&lt;<a href="mailto:Bob.Bistrais@maine.gov" target="_blank">Bob.Bistrais@maine.gov</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="im">








<div link="blue" vlink="purple" lang="EN-US">

<div>

<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">This should be fairly straightforward, but I was wondering what
is the easiest and quickest way to convert coordinates on the fly.  All my data
is in UTM coordinates.  I want to report coordinates to the screen in
Lat/Long.  Changing the projections on the map files to lat/long (<i><i><font face="Arial"><span style="font-family: Arial; font-style: normal;">EPSG:4326)</span></font></i></i>
is not an option, as this will cause problems elsewhere.  So what I want to do
is take point coordinates, either from a mouse click or from UTM coordinates, project
to lat/long, which will be reported in a result window.  What is the quickest way
to do this?</span></font></p>

</div>

</div>


<br></div>_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
<br></blockquote></div><br>
</div><div style="margin: 0pt;" name="sig_3ae25cf131"></div><br>