[Mapserver-users] defining projection

Heiko.Kehlenbrink at vermes.fh-oldenburg.de Heiko.Kehlenbrink at vermes.fh-oldenburg.de
Wed Apr 9 09:18:02 PDT 2003


hi all 
 
i had to define the parameters for a projection according to the epsg 24600. 
using 
 PROJECTION 
      "init=epsg:24600"  
results in: 
 
Warning: MapServer Error in msProcessProjection(): no options found in 'init' file in 
/srv/www/htdocs/maplab-2.0rc3/projects/gmf_apps/world/wrapper/map_session.php on line 282 
  
 Fatal error: Failed to open map file /srv/www/htdocs/world/htdocs/world.map in 
/srv/www/htdocs/maplab-2.0rc3/projects/gmf_apps/world/wrapper/map_session.php on line 282 
 
 
so i try to define the region myself: 
 
    "proj=lcc"  
    "lat_1=32.500000000"  
    "lat_2=32.500000000"  
    "lat_0=32.500000000"  
    "lon_0=45.000000000"  
    "x_0=1500000"  
    "y_0=1166200"  
    "ellps=clrk80"  
    "units=m"  
    "no_defs"  
 
works pretty fine but my data was shifted to somewhere in the ukraine.... 
should be around kuwait city. 
any help welcome! 
 
the epsg parameters were: 
 
+proj=lcc  
+lat_1=32.5  
+lat_0=32.5  
+lon_0=45  
+k_0=0.998786407767  
+x_0=1500000  
+y_0=1166200  
+ellps=clrk80  
+units=m 
  
best regards 
 
heiko 
 




More information about the MapServer-users mailing list