[Mapserver-users] Hard-coded path to the Proj directory

Frank Warmerdam warmerdam at pobox.com
Thu Dec 11 13:56:05 PST 2003


A P wrote:
> Hi,
> 
> I'm using a precompiled (for windows) MapServer cgi 4.0. I've realized 
> that I cannot put my "Proj" folder immediately under C (that is, 
> C:/Proj). Since this seems to be one of the requirements on the 
> MapServer, I don't think it will work.
> 
> How could I manage this? Do I have to compile MapServer myself, or is it 
> possible to do some configuration stuff?
> 
> I've tried to understand how to compile it, but I reall can't make it. 
> Has anyone done exactly what i want to do: use MapServer as is except 
> for the hard-coded path to the Proj directory?

Anders,

You can recompile the PROJ.DLL with a different path, or you can set
the PROJ_LIB environment variable to point to an alternate directory.
I would like to make it so you can set this from within a map file, but
haven't gotten around to that.

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent





More information about the MapServer-users mailing list