Displaying grass cell files
Dylan Keon
keon at NACSE.ORG
Wed Oct 6 16:27:41 PDT 2004
On 10/06/2004 04:21 PM, Michal Krupička wrote:
>>On 10/06/2004 03:59 PM, Michal Krupička wrote:
>>
>>>Hi all,
>>> this is my first question here. I am trying to display grass cell file.
>>> The only thing i see in my browser is this:
>>>
>>> msDrawMap(): Image handling error. Failed to draw layer named 'edges'.
>>> msDrawRaster(): Image handling error. Unrecognized or unsupported image format
>>> drawEPP(): Image handling error. /home/michal/grass/global/PERMANENT/cell/edges
>>>is not an EPPL file.
>>>
>>> this is declaration in my .map file:
>>>
>>> LAYER
>>> NAME edges
>>> TYPE raster
>>> STATUS ON
>>> DATA "/home/michal/grass/global/PERMANENT/cell/edges"
>>>END
>>>
>>>
>>>after command ./mapserv -v :
>>>
>>>MapServer version 4.0 OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP SUPPORTS=PROJ
>>>SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_CLIENT
>>>INPUT=TIFF INPUT=EPPL7 INPUT=JPEG INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE
>>>
>>>Could anyone please help me with this problem?
>>>Thanks for your time.
>>
>>
>>Always compile --without-tiff if you're compiling --with-gdal. Give
>>that a try first.
>>
>
> Ok, i am going to try, but will i be able to display .tiff images if i use
> --without-tiff option?
> Thanks Mike
Yes, if you compile GDAL with libtiff and libgeotiff support. I always
compile GDAL using --with-libtiff=internal and --with-geotiff=internal.
Actually, I'm not sure if those declarations are necessary, or whether
GDAL has tiff support built-in by default. In any case, it's a good
idea to use GDAL's internal tiff support.
--Dylan
More information about the MapServer-users
mailing list