[mapserver-users] Test shape files with shp2img

Fawcett, David David.Fawcett at state.mn.us
Thu Mar 12 09:18:43 EDT 2009


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: mapserver-users-bounces at lists.osgeo.org
[mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of
Jean-Daniel JDG. GONON
	Sent: Thursday, March 12, 2009 4:16 AM
	To: mapserver-users at lists.osgeo.org
	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/mapserver-users@lists.umn.edu/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

	 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20090312/e989beb4/attachment.html


More information about the mapserver-users mailing list