[GRASSLIST:4520] Re: grass and Mapserver
Richard Greenwood
richard.greenwood at gmail.com
Wed Oct 13 09:09:58 EDT 2004
On Wed, 13 Oct 2004 11:03:16 +0200, Ljiljana <ljiljana at fesb.hr> wrote:
>
>
>
> Hi everyone!
>
>
> I am trying to start grass mapserver demo, with spearfish location for
> some time and i realy don't know what else to do.
> I am using :
>
> linux suse 9.0 with apache2 web serever, PHP 4.3.9 configured as CGI,
>
> libgrass5-1.0.0,
>
> gdal 1.2.3 configured with-libgrass
>
> mapserver -4.2.3 configured wit folowing arguments:
>
> ./configure --with-eppl --with-threads --with-proj
> --with-gdal=/usr/local/bin/gdal-config --with-ogr=/usr/local/bin/gdal-config
> --with-php=/root/php-4.3.9 --with-gd=/usr/local --with-freetype=/usr/bin
> --with-pdf
>
> I have installed grass57 and i copied .grassrc57 i htdocs directory, but I
> still recive message
>
> msDrawMap(): Image handling error. Failed to draw layer named 'soils'.
> msDrawRaster(): Image handling error. Unrecognized or unsupported image
> format
> drawEPP(): Image handling error.
> /srv/www/grassdata/spearfish/PERMANENT/cellhd/soils is not an EPPL file.
>
> when I try to display soils layer directly from the grass location.
>
> All other layers are displaying corectly.
> I get the folowing outputs for the tests
>
> #./mapserv -v
> MapServer version 4.2.3 OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP SUPPORTS=PROJ
> SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER INPUT=EPPL7 INPUT=OGR INPUT=GDAL
> INPUT=SHAPEFILE
> # ldd /usr/local/lib/libgdal.so
> libodbc.so.1 => /usr/local/lib/libodbc.so.1 (0x4032c000)
> libxerces-c1_6_0.so => /usr/local/lib/libxerces-c1_6_0.so
> (0x4038a000)
> libpthread.so.0 => /lib/i686/libpthread.so.0 (0x405b7000)
> libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x40609000)
> libpng.so.3 => /usr/lib/libpng.so.3 (0x40629000)
> libgrass5.so.0 => /usr/local/lib/libgrass5.so.0 (0x40657000)
> libz.so.1 => /lib/libz.so.1 (0x406dd000)
> libdl.so.2 => /lib/libdl.so.2 (0x406ec000)
> libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x406ef000)
> libm.so.6 => /lib/i686/libm.so.6 (0x407b0000)
> libc.so.6 => /lib/i686/libc.so.6 (0x407d3000)
> libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x40906000)
> /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
> libnsl.so.1 => /lib/libnsl.so.1 (0x4090e000)
> # /usr/local/bin/gdal-config --formats
> gxf gtiff hfa aigrid aaigrid ceos ceos2 iso8211 xpm sdts raw dted mem jdem
> envisat elas fit vrt usgsdem l1b nitf bmp pcidsk bsb gif jpeg png grass
>
> What else could go wrong??
>
> best regards
>
> Ljiljana Bodrozic
>
>
>
Try renaming the .grassrc57 in htdocs to just ".grassrc5" or ".grassrc"
--
Richard Greenwood
richard.greenwood at gmail.com
www.greenwoodmap.com
More information about the grass-user
mailing list