Hello Michele,
in your case for each mosaic you need to take into account two specific
Coverage Parameters:

InputTransparentColor and OutputTransparentColor.

The first one allows you to avoid overlapping of non-transparent areas
between the tiles of the same mosaic.

The second one allows you to avoid overlapping of non-transparent areas
between different layers (i.e. considering the whole mosaic).

In your case setting the OutputTransparentColor to #FFFFFF (white) you
should be able to get transparency among the mosaics.
This is why the output of a mosaic is mapped on a new RGB image against the
RasterSymboilzer. This is why you loose the original alpha channel of the
granules.

Of course you can tweak the output of an ImageMosaic layer by playing with
Coverage Parameters and SLDs, but this really dependes on the nature of
your data and on what you want to achieve.

Regards,
        Alessio.

-------------------------------------------------------
Ing. Alessio Fabiani
Founder / CTO GeoSolutions S.A.S.

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: (+39) 0584 96.23.13
fax:     (+39) 0584 96.23.13
mobile:(+39) 331 62.33.686

http://www.geo-solutions.it
http://geo-solutions.blogspot.com
http://www.linkedin.com/in/alessiofabiani
https://twitter.com/alfa7961
http://twitter.com/geosolutions_it
-------------------------------------------------------



On Wed, May 16, 2012 at 11:08 AM, Michele Mastrogiovanni <
[email protected]> wrote:

> Hi guys,
>     I have geoserver 2.1.3 with three image mosaik layers mounted together
> in a layer group one over another with some transparente areas that does
> not work.
>
> Each layer is a satellite image at different resolution.
>
> zoom > 200k - show layer 1
> zoom <= 200k - show layer 1 and 2 (2 is upper layer)
> zoom <= 20k - show layer 1, 2 and 3 (3 is upper layer)
>
> To do this I'm using raster.sld with MaxScaleDenominator:
>     - 200000 for layer 2
>     - 25000 for layer 3
>
> Layer 2 and 3 has alpha channel and should be transparent in some areas
> (and show layer underneath) but transparence channel mapping in the
> layer panel does not work with me.
>
> I mounted the 3 layers in a layer group and try to see with the preview
> in tiled version with PNG24bit output but it does not work.
>
> I see layer 1 up to 200000 of zoom, and after layer 2 overwrite the
> whole layer
> 1 and is white when it should be transparent. And so the layer 3.
>
> Can you help me to understand what configuration will allows me to
> make the transparence: the online manual does not work with me
> (
> http://docs.geoserver.org/latest/en/user/tutorials/image_mosaic_plugin/imagemosaic.html
> )
> in particular "Coverage Parameters" section seems a black box.
>
> Thanks in advance for your help or reference.
>
> Michele Mastrogiovanni
>
>
>
>
>
> ------------------------------------------------------------------------------
> 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
>
------------------------------------------------------------------------------
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