You can also try adding another line to your map file.
 
In the MAP object, add a line like the one below to tell MapServer where
the epsg database is:
 
CONFIG "PROJ_LIB" "C:/somedir/proj/nad/"
 
David.


        -----Original Message-----
        From: [email protected]
[mailto:[email protected]] On Behalf Of
Jean-Daniel JDG. GONON
        Sent: Thursday, March 12, 2009 4:16 AM
        To: [email protected]
        Subject: [mapserver-users] Test shape files with shp2img
        
        

        Hi all

         

        I want to test my map file (including .ecw and shape files) with
shp2img.

        I have added "C:\ms4w\Apache\cgi-bin" in environment path (in
Windows XP SP2).

         

        But the cmd shp2img -m map.map -o test.png returns this error :
"msProcessProjection(): Projection library error. No such file or
directory <br>"

         

        I see on this page
(http://www.mail-archive.com/[email protected]/msg04811.html
) I have to set environment PATH and PROJ_LIB.

         

        I already add "C:\ms4w\Apache\cgi-bin" in environment path, what
and how do I add another ??

         

        Thank you for answers.

        JDG

         

_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to