Hi Armin.

I just saw that units in UMN MapServer 5.6 have changed [1]. It was introduced 
a 'nauticalmiles' item with code 5, which belonged to decimal degrees before. 
The initmap.php file in incphp/init/ uses this code (I don't know if it's used 
in other files), so,  please change the lines:

689:
     $roundFact = ($map->units != 5 ? 0 : 6); 
     to: $roundFact = ($map->units != 6 ? 0 : 6);

733:
     $y_dgeo_m = ($this->mapUnits == 5 ? $y_dgeo * 111120 : $y_dgeo); 
     to:  $y_dgeo_m = ($this->mapUnits == 6 ? $y_dgeo * 111120 : $y_dgeo);

and 752:
     $dgeo['c'] = $this->map->units == 5 ? 111120 : 1;
     to: $dgeo['c'] = $this->map->units == 6 ? 111120 : 1;


Regards. 

Germán 

-----------------------
[1] http://mapserver.org/mapfile/map.html 

--
-----------
  |\__ 
(:>__)(
  |/ 

Soluciones Geoinformáticas Libres
http://geotux.tuxfamily.org/


 



------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users

Reply via email to