[mapserver-users] how to specify the location of projection library, how to do it not in map file?

JK Chen jk.chen at sdl.usu.edu
Thu Sep 8 14:05:19 PDT 2011


Hi,

I specify the location proj library in the map file, which points to apache cgin-bin dirs.. Because we have 32 bit and 64 bit machines, and the paths of the apache software on those two types machines are not the same, I end up having two map files. 
That creates installation problems for us. I'm wondering if there is more elegant way to specify the path to proj library? 

In basegn.x32.map 
     CONFIG "PROJ_LIB" "C:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin/"
In basegn.x64.map
   CONFIG "PROJ_LIB" "C:/Program Files (x86)/Apache Software Foundation/Apache2.2/cgi-bin/"

Thanks.

JK







More information about the MapServer-users mailing list