---------- Forwarded message ---------- From: Milo van der Linden <m...@dogodigi.net> Date: 2011/1/12 Subject: Re: [mapserver-users] Reporting lat/long from projected map units To: "Bistrais, Bob" <bob.bistr...@maine.gov>
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? If you can get UTM coordinates from the mouseclick, the next best option (in my opinion) would be to use proj4js: http://proj4js.org/ Simply embed the js-library ad an event for mouse handling and convert: screen->utm->4326. 2011/1/12 Bistrais, Bob <bob.bistr...@maine.gov> > 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 (* > EPSG:4326)* 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? > > _______________________________________________ > mapserver-users mailing list > mapserver-users@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > >
_______________________________________________ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users