Display Geotiff-Data: Problems

Wolfgang Qual Wolfgang.Qual at MUENCHEN.DE
Tue May 24 08:46:10 EDT 2005


Hi Oliver,
thank you very much! After pasting these seven lines into my mapfile,
the image was perfect. Great!

Oliver Wesp schrieb:

> 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
>

--
Wolfgang Qual
Landeshauptstadt München
Referat für Gesundheit und Umwelt
RGU-UW 11
Sg. 1 Gesundheits- und Umweltberichterstattung,
Energie und Klimaschutz
Bayerstr. 28a, 80335 München
Tel.: +49 (0)89 233-477 17
Fax.: +49 (0)89 233-477 05
E-Mail: wolfgang.qual at muenchen.de



More information about the mapserver-users mailing list