Hi All
I post again my problem as I received no comment. This is my problem:
I just upgraded my GS to version 2.1.RC4 and faced with coverage style problem.
I defined a sld file for a coverage as follow:
##
<sld:NamedLayer>
<sld:Name>testprob</sld:Name>
<sld:UserStyle>
<sld:Name>testprob</sld:Name>
<sld:Title>testprob</sld:Title>
<sld:FeatureTypeStyle>
<sld:Name>name</sld:Name>
<sld:Rule>
<sld:RasterSymbolizer>
<sld:Geometry>
<ogc:PropertyName>geom</ogc:PropertyName>
</sld:Geometry>
<sld:ColorMap>
<sld:ColorMapEntry color="#FFFFFF" opacity="0" quantity="-9999"
label="NoData"/>
<sld:ColorMapEntry color="#CCFFCC" opacity="0.1"
quantity="0.3199939" label="0.31"/>
<sld:ColorMapEntry color="#FA5858" opacity="0.1"
quantity="0.5491409" label="0.54"/>
</sld:ColorMap>
</sld:RasterSymbolizer>
</sld:Rule>
</sld:FeatureTypeStyle>
</sld:UserStyle>
</sld:NamedLayer>
##
When I use wms request, the retrieved picture has correct colors but wrong
opacity. I tried different opacities and the result is the same. It only works
when opacity is "0". I need to mention that when I use the "Layer preview" of
GS the retrieved picture has correct colors and opacities.
Any suggestion?
Thanks,
Manouchehr
------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve
application availability and disaster protection. Learn more about boosting
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users