[Mapserver-users] mapserver using grass raster

Heiko.Kehlenbrink@vermes.fh-oldenburg.de Heiko.Kehlenbrink@vermes.fh-oldenburg.de
Thu, 24 Apr 2003 13:48:13 +0200 (CEST)


Quoting Frank Warmerdam <warmerdam@pobox.com>: 
 
hi frank, 
 
thank you for your support, 
using your advice i`ve got the mapserver-grass connection running. 
>  
> I am not sure why gdalinfo is finding the raster, but it isn't found 
> in MapServer.  Are you use you are using the same GDAL for both? 
yes there were only one gdal installation but as mentioned before 2 proj4 installations. 
i struggled because the rpm i used from the freegis cd used an upper case PROJ4.. title 
and my own builded a lower case (proj4...), mostly my fault... 
 
> Any possibility of permissions problems?  
nope... 
 
 
 
> Most likely GDAL doesn't know how to use dlopen() in your build, and 
> so 
> can't dynamically load libproj.so.  Does your gdal/port/gdal_config.h 
> file include "#define HAVE_LIBDL 1"?  If not, there was a configure 
> problem. 
 
No, cpl_config.h includes "#define HAVE_LIBDL 1" 
 
 
> This seems to be related to gcc 3.x inclusion of /usr/local/include in 
> the 
> default include path.  Are you using GDAL 1.1.8?  I thought it was fixed 
> in 
> that.  Perhaps you could try again with a nightly snapshot of GDAL. 
 
i had to erease both proj4 installations and reinstall  
proj-4.4.7 
doing so i could compile and install the gdal-cvs snapshoot against  libgrass 
and grass raster files could be detected. 
 
after putting the .grassrc5 in the /srv/www/htdocs/ directory (suse 8.1) i could access  
the grass raster file from the mapfile via  
 
 
LAYER 
    NAME "test" 
    STATUS DEFAULT  
    TYPE RASTER 
    DATA "earth8bit@world"  
END     
 
where world was the grass mapset. 
 
 
best regards 
 
heiko 
 

_______________________________________________
Mapserver-users mailing list
Mapserver-users@lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users