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

Description

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 - 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.

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

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

Environment

None

Status

Assignee

Unassigned

Reporter

codehaus

Triage

None

Fix versions

Affects versions

Components

Priority

Highest
Configure