Projection problem

Bart van den Eijnden (OSGIS) bartvde at XS4ALL.NL
Thu Jan 19 13:01:03 PST 2006


Maybe you should set the PROJ_LIB environment variable to the root dir 
of your PROJ install. If you use Apache, use SetEnv in the httpd.conf. 
You can also use the following in the MAP file (as of Mapserver 4.4 I 
think) at the MAP object:

CONFIG PROJ_LIB /ms4w/apps/stragisweb/proj

Your PROJECTION object should look like:

  PROJECTION
    "init=epsg:28992"
  END

Best regards,
Bart

Apeksha Bhambhani wrote:

> hiii all,
> We first installed PROJ.4 library in "/var/www/html/" , and all the 
> subdirectories like :bin , include , etc exist now in the path 
> specified above .
> Then we configured mapserver with projection as follows :
>
> ./configure --with-proj=/var/www/html/
>
> Then we include the Projection parameters in our mapfile like :
>
> Projection
> init:epsg=26915
> END
>
> And when we run the mapfile on the browser , we get this error :
>
> loadProjection(): Projection library error. Projection support is not 
> available.
>
> Plz help us out with this .
> Thanks in advance
>
> Regards
> Apeksha
>
> ------------------------------------------------------------------------
> Yahoo! Photos
> Got holiday prints? See all the ways 
> <http://us.rd.yahoo.com/mail_us/taglines/holidayprints/*http://pa.yahoo.com/*http://us.rd.yahoo.com/mail_us/taglines/photos/evt=38089/*http://pg.photos.yahoo.com/ph//print_splash> 
> to get quality prints in your hands ASAP. 



-- 
Bart van den Eijnden
OSGIS, Open Source GIS
http://www.osgis.nl



More information about the MapServer-users mailing list