I've seen this before with RGBA in GeoServer.  In my experience, the
solutions include specifying the bands rather than using the default raster
SLD, rendering as JPG which ignores the alpha channel, or reformatting the
data.

 

It's kind of an eerie effect, as the waters and heavy vegetation turn
transparent/white.

 

Best,

Steve

 

http://www.clemetparks.com/images/esig/cmp-ms-90x122.pngStephen Mather
Geographic Information Systems (GIS) Manager
(216) 635-3243

[email protected]
 <http://www.clemetparks.com/> clevelandmetroparks.com

 

 

 

 

From: Andrea Aime [mailto:[email protected]] 
Sent: Tuesday, June 26, 2012 10:31 AM
To: Felix Mayer
Cc: [email protected]
Subject: Re: [Geoserver-users] Color/Contrast Loss in Layer Group

 

On Tue, Jun 26, 2012 at 4:21 PM, Felix Mayer <[email protected]> wrote:

Hi Andrea,

 

Thanks for responding. In the meantime, I found out that the problem is
caused by a 4th band with NIR in the GeoTIFF images. When I removed that
band with gdal_translate, the problem went away. Is that a known issue?

 

Hmm.. yes and no. This specific use case has never been reported, but I know
the only 4 bands structure supported by the

rendering code is RGBA, out of it you have to use raster symbolizers band
selection abilities to indicate which channel

plays which role

 

Cheers

Andrea

 

-- 
Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead

Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584 962313
fax:      +39 0584 962313
mob:    +39 339 8844549

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf

<<image001.png>>

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to