[Mapserver-users] Raster geotiff turns background yellow

Ed McNierney ed at topozone.com
Mon Jan 27 12:41:58 EST 2003


Randy -

Is it possible for you to make the GeoTIFF available?  Thanks.

	- Ed

Ed McNierney
President and Chief Mapmaker
TopoZone.com / Maps a la carte, Inc.
73 Princeton Street, Suite 305
North Chelmsford, MA  01863
ed at topozone.com
(978) 251-4242 

-----Original Message-----
From: randy james [mailto:rjames57 at yahoo.com]
Sent: Monday, January 27, 2003 12:35 PM
To: Mapserver Users
Subject: Re: [Mapserver-users] Raster geotiff turns background yellow


Hi List

I checked the geotiff file in the GIMP and it did not
have any yellow in the image. But than i checked the
image created by Mapserver and it has the yellow
background on it. Soo i assume that the cgi is
creating the yellow. Also i noticed that the polygon
layer loaded before the geotiff has changed to the
grayscale color of the geotiff.

I am sending the rendered imaged created by mapserver
cgi for review.

Cheers
Randy

--- woodbri at swoodbridge.com wrote:
> 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
> > 
> 
> 
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com




More information about the mapserver-users mailing list