PROJ support in MS 4.4.1 on IIS

Delfos, Jacob Jacob.Delfos at MAUNSELL.COM
Thu Jan 3 17:54:57 PST 2008


G'day Ben,
 
Normally, it looks for the "proj" directory on the root of the operating
system drive. For example, in my case it looks for "C:\proj\nad\epsg"
You could change it by setting the PROJ_LIB environment variable, like
so:
 
CONFIG "PROJ_LIB" "C:/somedir/proj/nad/" (see
http://mapserver.gis.umn.edu/docs/error/proj-nosuchfile)
 
Hope that fixes it.
 
regards,
 
Jacob
 
JACOB DELFOS
GIS ANALYST
Maunsell Australia Pty Ltd
629 Newcastle Street, Leederville, WA 6007 
PO Box 81, Leederville, WA 6902 
Western Australia 
ABN 20 093 846 925

Tel     + 61 8 9281 6185
Fax    + 61 8 9281 6297
jacob.delfos at maunsell.com 

 


________________________________

	From: UMN MapServer Users List
[mailto:MAPSERVER-USERS at LISTS.UMN.EDU] On Behalf Of Ben Madin
	Sent: 3 January 2008 23:12
	To: MAPSERVER-USERS at LISTS.UMN.EDU
	Subject: [UMN_MAPSERVER-USERS] PROJ support in MS 4.4.1 on IIS
	
	
	G'day all, 

	I am adding some functionality to system (Windows NT  5.2 /
Microsoft-IIS/6.0) on which I can change very little outside the web
tree. The system has php/mapscript 4.4.1 and SUPPORTS=PROJ.

	However, when I try :

	$projInObj = ms_newprojectionobj("init=epsg:$from_proj");

	I get :

	Fatal error: [MapServer Error]: msProcessProjection(): No such
file or directory

	I gather from docs etc this is probably a path error to find the
proj directory, which can either be moved to somewhere in the path, or a
path setting made, or a PROJ_LIB environment variable set.

	Being an apache background myself, I was hoping someone might
know the most straightforward ways to:

	a) find the proj directory, and 

	b) address the issue of mapscript not being able to find it: can
I use the config parameter without calling a map file? (I only want to
reproject points on this page?)

	It is all working fine on the development machine, using the
ms4w 4.8 platform.


	Thanks In advance.

	cheers

	Ben

	
	-- 

	Ben Madin
	REMOTE INFORMATION

	t : +61 8 9192 5455
	f : +61 8 9192 5535
	m : 0448 887 220
	Broome   WA   6725

	ben at remoteinformation.com.au



	Out here, it pays to know...




This email and any attachments are intended solely for the named recipient and are confidential. The copying or distribution of them or any information they contain by anyone other than the named recipient is prohibited. If you have received this document in error, please notify the sender and delete all copies from your computer system and destroy all hard copies. It is the recipient's responsibility to check this email and any attachments to this email for viruses before use.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20080104/f11a80fe/attachment.htm>


More information about the MapServer-users mailing list