[Mapserver-users] GTiff/RGB-Output resulting in yellow image

Oliver Wesp wesp at gdv.com
Tue Apr 29 05:41:28 PDT 2003


Maybe this is a bug, maybe just my fault. I'm using Mapserver 3.7 to write 
GeoTiff-Files using the following definition

OUTPUTFORMAT
   NAME GTiff
   DRIVER "GDAL/GTiff"
   MIMETYPE "image/tiff"
   IMAGEMODE RGB
END

The image that is written turns out to be completly covered by a yellow 
layer on top of it, with the actual mapfeatures shining through (checked 
with ArcView 3.2, Photoshop6).

If I switch to

OUTPUTFORMAT
   NAME GTiff
   DRIVER "GDAL/GTiff"
   MIMETYPE "image/tiff"
   IMAGEMODE PC256
END

the output image is o.k.

Maybe this is general problem with geotiff. Randy James mentioned similar 
problems with GeoTiff as raster input earlier

( 
http://mapserver.gis.umn.edu/data2/wilma/mapserver-users/0301/msg00508.html ).

Here's my setup:

Mapserver 3.7 - nightly
GDAL-cvs-030226
GD-2.0.11




More information about the MapServer-users mailing list