Hi all,

I am using geoserver 2.6.1 and have a problem with SLDs:
I created a new style as SLD (see below). Furthermore I have an imagemosaic layer with 32bit geotiffs where I put the created style as default style in the WMS settings.
When I start the OpenLayers LayerPreview the style is used in general but the problem is that values smaller 1 within the image are not displayed at first. It is necessary to zoom in until a scale of 1:150K. Then the values are displayed in the appropriate colors of the style.

Before I used geoserver 2.2.5 with the same setting and the same style and it was workling without problems.

Kinrd regards,
Sabine

SLD:
 
<?xml version="1.0" encoding="UTF-8"?>
<sld:StyledLayerDescriptor xmlns:ogc="http://www.opengis.net/ogc" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sld="http://www.opengis.net/sld" xmlns:gml="http://www.opengis.net/gml" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.0.0" xsi:schemaLocation="http://www.opengis.net/sld http://schemas.opengis.net/sld/1.0.0/StyledLayerDescriptor.xsd">
<sld:NamedLayer xmlns="http://www.opengis.net/sld"><sld:Name>4db8e899a3a245588c282af02e849433</sld:Name>
<sld:UserStyle><sld:Name>Style1</sld:Name>
<sld:Title>Water Mask</sld:Title>
<sld:Abstract/>
<sld:FeatureTypeStyle><sld:Name>Turbidity</sld:Name>
<sld:Title>Turbidity</sld:Title>
<sld:Abstract>;</sld:Abstract>
<sld:SemanticTypeIdentifier>generic:geometry</sld:SemanticTypeIdentifier>
<sld:Rule><sld:Name>Water Mask - </sld:Name>
<sld:Title>Water Mask - </sld:Title>
<sld:RasterSymbolizer><sld:ColorMap>
<sld:ColorMapEntry color="#808080" quantity="-6" opacity="0.0" label=""/>
<sld:ColorMapEntry color="#808080" quantity="-5" opacity="0.0" label=""/>
<sld:ColorMapEntry color="#808080" quantity="-4" opacity="0.0" label=""/>
<sld:ColorMapEntry color="#808080" quantity="-3" opacity="0.0" label=""/>
<sld:ColorMapEntry color="#808080" quantity="-2" opacity="0.0" label=""/>
<sld:ColorMapEntry color="#808080" quantity="-1" opacity="0.0" label=""/>
<sld:ColorMapEntry color="#808080" quantity="0" opacity="0.0" label=""/>
<sld:ColorMapEntry color="#190019" quantity="0.001" opacity="1.0" label=""/>
<sld:ColorMapEntry color="#190019" quantity="0.1" opacity="1.0" label=""/>
<sld:ColorMapEntry color="#100059" quantity="0.124" opacity="1.0" label=""/>
<sld:ColorMapEntry color="#0600A1" quantity="0.169" opacity="1.0" label=""/>
<sld:ColorMapEntry color="#002ED2" quantity="0.229" opacity="1.0" label=""/>
<sld:ColorMapEntry color="#0080E4" quantity="0.311" opacity="1.0" label=""/>
<sld:ColorMapEntry color="#00B3EF" quantity="0.423" opacity="1.0" label=""/>
<sld:ColorMapEntry color="#00E6FA" quantity="0.575" opacity="1.0" label=""/>
<sld:ColorMapEntry color="#00F4CC" quantity="0.782" opacity="1.0" label=""/>
<sld:ColorMapEntry color="#00DE66" quantity="1.063" opacity="1.0" label=""/>
<sld:ColorMapEntry color="#00C800" quantity="1.445" opacity="1.0" label=""/>
<sld:ColorMapEntry color="#66DE00" quantity="1.965" opacity="1.0" label=""/>
<sld:ColorMapEntry color="#CCF400" quantity="2.671" opacity="1.0" label=""/>
<sld:ColorMapEntry color="#FFCC00" quantity="3.631" opacity="1.0" label=""/>
<sld:ColorMapEntry color="#FF6600" quantity="4.936" opacity="1.0" label=""/>
<sld:ColorMapEntry color="#FF0000" quantity="6.709" opacity="1.0" label=""/>
<sld:ColorMapEntry color="#CC0033" quantity="9.12" opacity="1.0" label=""/>
<sld:ColorMapEntry color="#990066" quantity="12.397" opacity="1.0" label=""/>
<sld:ColorMapEntry color="#990099" quantity="16.853" opacity="1.0" label=""/>
<sld:ColorMapEntry color="#CC00CC" quantity="22.909" opacity="1.0" label=""/>
<sld:ColorMapEntry color="#FF00FF" quantity="31.141" opacity="1.0" label=""/>
<sld:ColorMapEntry color="#FF26FF" quantity="42.332" opacity="1.0" label=""/>
<sld:ColorMapEntry color="#FF49FF" quantity="57.544" opacity="1.0" label=""/>
<sld:ColorMapEntry color="#FF6AFF" quantity="78.223" opacity="1.0" label=""/>
<sld:ColorMapEntry color="#FF8EFF" quantity="106.333" opacity="1.0" label=""/>
<sld:ColorMapEntry color="#FFAFFF" quantity="144.544" opacity="1.0" label=""/>

</sld:ColorMap>
</sld:RasterSymbolizer>
</sld:Rule>
</sld:FeatureTypeStyle>
</sld:UserStyle>
</sld:NamedLayer>
</sld:StyledLayerDescriptor>



 
------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to