[Mapserver-users] Raster geotiff turns background yellow

woodbri at swoodbridge.com woodbri at swoodbridge.com
Fri Jan 24 19:11:17 EST 2003


Randy,

I assume that the color change is taking place when view in a 
browser? Have you tried to view it in an image viewer?

Sometimes the browser pre allocates an bunch of colors and when you 
load the geotiff, it does not have enough slots in the color lookup 
table and has to assign the additional colors to existing ones. Some 
software is better at this than others, but it is typically the 
reason why your get the type of color change you described.

-Steve W.

On 24 Jan 2003 at 14:51, randy james wrote:

> Hi list
> 
> Has anyone experienced problems with a geotiff file
> making the image background turn yellow? (or any
> color)
> 
> The orthophoto (geotiff) that causes the problem is my
> fist attempt at projecting a raster on the fly. I have
> tried importing the ortho into GRASS and than
> exporting it again, but it did not make a difference.
> 
> The gdalinfo utility output is quite large for the
> ortho causing the problem, but once its exported from
> GRASS it is the same as the orthos that work (i think)
> 
> I'm wondering if its something to to with projecting a
>  raster or is it the file format. I will read and try
> the gdal_translate utility next i guess
> 
> MapServer version 3.6.4 OUTPUT=PNG OUTPUT=JPEG
> OUTPUT=WBMP SUPPORTS=PROJ SUPPORTS=TTF
> SUPPORTS=WMS_SERVER INPUT EPPL7 INPUT=JPEG
> INPUT=POSTGIS INPUT=GDAL INPUT=SHAPEFILE
> 
> Cheers
> Randy
> 
> 
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> http://mailplus.yahoo.com
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
> 





More information about the mapserver-users mailing list