Serge

if you can live with a display of lat/lon in decimal degrees then it's 
quite straightforward:

- add to your config_xxxx.xml the plugin
   <plugins>proj4js</plugins>

- uncomment the following parts in js_config.php

Proj4js.defs["EPSG:3035"]="+proj=laea +lat_0=52.00000000 
+lon_0=10.0000000 +x_0=4321000 +y_0=3210000 +ellps=GRS80 +units=m 
+no_defs ";
PM.ZoomBox.coordsDisplayReproject = true;
PM.ZoomBox.coordsDisplaySrcPrj = "EPSG:3035";
PM.ZoomBox.coordsDisplayDstPrj = "EPSG:4326";
PM.ZoomBox.coordsDisplayRfactor = 4;


You need to adapt the values according to your UTM projection, should be 
something like

Proj4js.defs["EPSG:32632"]="+proj=utm +zone=32 +ellps=WGS84 +datum=WGS84 
+units=m +no_defs ";
PM.ZoomBox.coordsDisplayReproject = true;
PM.ZoomBox.coordsDisplaySrcPrj = "EPSG:32632";
PM.ZoomBox.coordsDisplayDstPrj = "EPSG:4326";
PM.ZoomBox.coordsDisplayRfactor = 4;


If you need to have deg-min-sec notation then you must overwrite the 
function "displayCoordinates" in "pm.zoombox.js" (see the FAQ for 
customizations for best practice how to do that) and reformat the 
decimal degrees to d-m-s.

armin


On 04/11/2011 05:01, Rafanoharana Serge Claudio wrote:
> Dear all,
>
> I would like to change the X and Y coordinates at the bottom left of the
> browser to Degree Minutes Seconds. My data are in UTM and the information
> about X and Y is also in UTM.
>
> Any idea?
>
> Regards,
>

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users

Reply via email to