Display Geotiff-Data: Problems

Oliver Wesp wesp at GDV.COM
Mon May 23 08:29:13 PDT 2005


Hi,

I guess you're using 256 color output so the rgb image is mapped to 256
colors. Switching to rgb output should solve the problem. Put something
like this in your mapfile

IMAGETYPE PNGRGB
OUTPUTFORMAT
 NAME PNGRGB
 DRIVER "GD/PNG"
 IMAGEMODE RGB
 TRANSPARENT OFF
END

Oliver

Wolfgang Qual schrieb:

> Hello List,
> I have created a mapserver map with a small Geotiff in it and the map
> can be openend, when I click on the
> link(http://dream.lrrl.arch.tu-muenchen.de/cgi-bin/M3.cgi?map=geotiff2.dfo.map).
>
> However, the image is not displayed correctly: it is quite grainy and
> the colours are odd (compared to the picture I get on my local computer
> with kuickshow). Does anybody know the answer to this problem? Thanks
> again!
>
> Wolfgang



--
Dipl.-Geogr. Oliver Wesp
Gesellschaft fuer geografische Datenverarbeitung
Binger Strasse 49-51
D-55218 Ingelheim
fon: +49 6132 714818
fax: +49 6132 714828
http: www.gdv.com



More information about the MapServer-users mailing list