[GRASS5] Re: [GRASS5] [bug #1537] (grass) Can´t read GRASS locations using MapServer

Markus Neteler neteler at itc.it
Tue Jan 21 06:51:58 EST 2003

On Tue, Jan 21, 2003 at 10:49:06AM +0100, Request Tracker wrote:
> this bug's URL: http://intevation.de/rt/webrt?serial_num=1537
> -------------------------------------------------------------------------
> Subject: Can´t read GRASS locations using MapServer
> Platform: other
> grass obtained from: Trento Italy site
> grass binary for platform: Compiled from Sources
> GRASS Version: GRASS-5.0.0
> I can run GRASS5.0.0 and MapServer3.6.3, but I can´t read GRASS locations using MapServer. Following the installation instructions of the GRASS/MapServer Demo Site, I have installed:
> - libgrass5-1.0.0, 
> - gdal1.1.8 (--without-python --with-grass=/datos/others/libgrass5-1.0.0/gis), and 
> - mapserver3.6.3 (--with-proj --with-ogr --with-gdal --with-gd --with-png --with-php=../php-4.1.2/main)
> I have downloaded the sample server and I have put:
> - mapserv file in /var/www/cgi-bin/
> - mapserver.map (modified) in /datos/others/grass-5.0.0/grass5_mapserver/map-script/
> - start.html and spearfish.html (modified) in /datos/others/grass-5.0.0/grass5_mapserver/
> I can view the elevation (GeoTIFF), roads (SHAPE lines) and fields (SHAPE polygons) maps, but when I select the soil maps (GRASS) I get this message:
> 'msDrawRaster():Image handling error. Unrecognized or unsupported image format'
> Sonia R.

It seems that your mapserv and or GDAL do not yet support GRASS. I have
right now added a 'Troubleshooting' section to:

Please try out the suggestions to identify the problem.

Kind regards

 Markus Neteler

More information about the grass-dev mailing list