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?
Regards, Felix
From: [email protected] [mailto:[email protected]] On Behalf Of Andrea
Aime
Sent: Sunday, June 24, 2012 9:16 AM
To: Felix Mayer
Cc: [email protected]
Subject: Re: [Geoserver-users] Color/Contrast Loss in Layer Group
On Wed, Jun 20, 2012 at 4:45 PM, Felix Mayer
<[email protected]<mailto:[email protected]>> wrote:
I have 2 ImageMosaic layers in GeoServer 2.1.1 with a few 8-bit large GeoTIFF
images in each; one layer has 1m resolution, the other 10cm resolution, both
have embedded pyramid/overview images. When I look at the layers by themselves
(e.g. with the preview), they have good color and contrast. However, when I add
both layers to a layer group and look at that, the resulting image loses almost
all color and contrast; it becomes mostly grey with just a little color left. I
tried debugging, but could not find the code where the actual painting happens.
What could cause this loss of color and contrast? Is there any way to control
the rendering in a layer group?
The paintng code for a case with two or more raster layers is back in Geotools.
Do you have a sampler of the data? If so please open a report on
jira.codehaus.org<http://jira.codehaus.org> and attach a sample
of the two mosaics that results in color degradation when a WMS request is made
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
------------------------------------------------------------------------------
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