[Mapserver-users] GeoTiff output color problems

Frank Warmerdam warmerdam at pobox.com
Thu Jun 3 11:46:53 EDT 2004


Matthew Perry wrote:
> Frank,
> Thanks for the reply. 
> 
> I get the same strange colors when using IMAGEMODE
> RGBA. We are using the following setup:
> 
> GDAL 1.1.9.0, released 2003/06/27
> 
> MapServer version 4.0.1 OUTPUT=PNG OUTPUT=JPEG
> OUTPUT=WBMP SUPPORTS=PROJ SUPPORTS=FREETYPE
> SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT
> SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT INPUT=EPPL7
> INPUT=JPEG INPUT=POSTGIS INPUT=OGR INPUT=GDAL
> INPUT=SHAPEFILE
> 
> I noticed there is no OUTPUT=TIFF ??? Is this not
> shown since it is handled by the GDAL libs? 
> 
> Other than geotiff output, the setup works fine. I do
> not have administrative privleges on this server so I
> am not at liberty to experiment with 4.2. What would
> you suggest for next steps...  upgrade GDAL, upgrade
> Mapserver, or both?? 

Matt,

What platform are you working on?

I really don't know why things are screwed up.  I don't remember fixing
a bug about band packing in MapServer.  I doubt the issue would be in GDAL
though 1.1.9 is pretty antique.  If you can bundle up the mapfile and
dataset(s) to reproduce the problem I could try it here and see if it works
fine on my configuration.

In general, I would encourage upgrading to GDAL 1.2.0 and MapServer 4.2 when
you get a chance, but I am not convinced yet it will solve your problem.

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent




More information about the mapserver-users mailing list