[Geoserver-devel] [jira] Created: (GEOS-4720) Opacity of the underlying layer affects the upper layer in Geoserver 2.1.x.

Opacity of the underlying layer affects the upper layer in Geoserver 2.1.x.
---------------------------------------------------------------------------

                 Key: GEOS-4720
                 URL: https://jira.codehaus.org/browse/GEOS-4720
             Project: GeoServer
          Issue Type: Bug
          Components: PostGIS, WMS
    Affects Versions: 2.1.1, 2.1.0
            Reporter: Per Reinholdt
            Assignee: Andrea Aime
            Priority: Blocker
         Attachments: orto_sankmark_fk_from_Geoserver_2.0.2.png, orto_sankmark_fk_from_Geoserver_2.1.x.png

I created a WMS request with two layers.
-sankmark_fk (Vector Data Source)
-orto_farg_sweref99 (Grid Data Source)

WMS request is as follows:

http://geotest.vic-metria.nu/geoserver/ows/?service=WMS&version=1.1.0&REQUEST=GetMap&srs=EPSG%3A3006&transparent=true&LAYERS=metria:Sankmark_FK,metria%3Aorto_farg_sweref99&STYLES=&BBOX=795056.6326084589%2C7180890.7965068%2C798008.3800062612%2C7183021.946104601&width=982&height=709&format=image%2Fpng

The underlying layer sankmark_fk using fill-opacity in the SLD: a as follows.

<sld:PolygonSymbolizer>
   <sld:Fill>
      <sld:CssParameter name="fill">#F0EBCF</sld:CssParameter>
      <sld:CssParameter name="fill-opacity">0.5</sld:CssParameter>
   </sld:Fill>
</sld:PolygonSymbolizer>

The Geoserver 2.1.x affect the contrast of the orthophoto (upper layer) if fill-opacity is less than 1.0 in the underlying layer. In previous versions Geoserver 2.0.2 the upper layer is not affected. See attachments

Per R

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira