[Mapserver-users] Raster geotiff turns background yellow
Dylan Keon
keon@nacse.org
Wed, 29 Jan 2003 15:13:32 -0800
Randy, what versions of GD and GDAL are you using? I believe there are
issues with vector layers and the use of GD < 2.0.11 with MS 3.7. Since
you're using MS 3.7 you should probably also be using GD 2.0.11 and GDAL
1.1.8.
Yes, both tiled and single raster layers can be made transparent. There
are also new ways to handle transparency and image output in 3.7, via
use of the OUTPUTFORMAT object. Take a look at
http://mapserver.gis.umn.edu/cgi-bin/wiki.pl?MigrationGuide for more info.
randy james wrote:
> Hi
>
> To answer my own question: Rasters can be made
> transparent using the TRANSPARENCY (0-100) tag.
>
> I have tried with a raster layer loaded through
> tileindex, but not with loading a raster the normal
> way yet.
>
> But i would hope that at some point i will be able to
> load the orthophotos under the vectors without been
> transparent, rather than on top of the vectors and
> transparent.
>
>
> --- randy james <rjames57@yahoo.com> wrote:
>
>>Hi
>>
>>Upgrading to 3.7 solved the problem of the tiff
>>image
>>turning the background yellow, but caused another
>>problem:
>>
>>Any vector layer that is loaded on top if the tiff
>>image now turns gray. When i load the vectors after
>>the tiff nothing changes color at least, but i
>>cannot
>>see the vector layers.
>>
>>Can Raster layers be transparent?
>>
>>Cheers
>>Randy
>>
>>
>>--- Frank Warmerdam <warmerdam@pobox.com> wrote:
>>
>>>randy james wrote:
>>>
>>>>Hi
>>>>--- Ed McNierney <ed@topozone.com> wrote:
>>>>
>>>>
>>>>>Randy -
>>>>>
>>>>>Can you describe exactly what you did
>>>>
>>differently
>>
>>>>>between those two images?
>>>>>
>>>>
>>>>Well the difference is:
>>>>the tif that does not work has: a 256 RGB,
>>>>colorinterp=palette, is projected on the fly,
>>>
>>and
>>
>>>is a
>>>
>>>>newer version of an orthophoto.
>>>>I have used tiff2bw and gdal_translate to make
>>>
>>it
>>
>>>>grayscale, so i have a few versions of the file
>>>
>>>(5),
>>>
>>>>and all make the same error.
>>>
>>>Randy,
>>>
>>>I haven't been following this issue closely, but
>>
>>if
>>
>>>the problem occurs in
>>>3.7 and if you can prepare a small test case that
>>>demonstrates the problem
>>>just using "shp2img" then please file it in
>>
>>bugzilla
>>
>>>(attaching the small
>>>sample map file and data file(s)) and assign to
>>
>>me.
>>
>>>Best regards,
>>>
>>>--
>>>
>>
> ---------------------------------------+--------------------------------------
>
>>>I set the clouds in motion - turn up | Frank
>>>Warmerdam, warmerdam@pobox.com
>>>light and sound - activate the windows |
>>>http://pobox.com/~warmerdam
>>>and watch the world go round - Rush |
>>
>>Geospatial
>>
>>>Programmer for Rent
>>>
>>>
>>
>>
>>__________________________________________________
>>Do you Yahoo!?
>>Yahoo! Mail Plus - Powerful. Affordable. Sign up
>>now.
>>http://mailplus.yahoo.com
>>_______________________________________________
>>Mapserver-users mailing list
>>Mapserver-users@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
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users@lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
--
************************************************
Dylan Keon
GIS/Database Research Specialist
Northwest Alliance for Computational
Science and Engineering (NACSE)
Oregon State University
Corvallis, OR 97331
keon@nacse.org (541) 737-6608
************************************************
_______________________________________________
Mapserver-users mailing list
Mapserver-users@lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users