Discrete ColorMap ignores the final ColorMap entry
--------------------------------------------------

                 Key: GEOS-3892
                 URL: http://jira.codehaus.org/browse/GEOS-3892
             Project: GeoServer
          Issue Type: Bug
          Components: WMS
    Affects Versions: 2.0.1
         Environment: Windows XP
            Reporter: Mike Pumphrey
            Assignee: Simone Giannecchini
            Priority: Minor
             Fix For: 2.0.2


Given the following SLD, one would expect three discrete colors in the 
resulting style.  However, the last (highest) entry is always ignored, so any 
values higher than 200 are rendered as blank.

<?xml version="1.0" encoding="ISO-8859-1"?>
<StyledLayerDescriptor version="1.0.0" 
    xsi:schemaLocation="http://www.opengis.net/sld StyledLayerDescriptor.xsd" 
    xmlns="http://www.opengis.net/sld"; 
    xmlns:ogc="http://www.opengis.net/ogc"; 
    xmlns:xlink="http://www.w3.org/1999/xlink"; 
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
  <NamedLayer>
    <UserStyle>
      <FeatureTypeStyle>
        <Rule>
          <RasterSymbolizer>
            <ColorMap type="intervals">
              <ColorMapEntry color="#008000" quantity="150" />
              <ColorMapEntry color="#000000" quantity="200" />
              <ColorMapEntry color="#663333" quantity="256" />
            </ColorMap>
          </RasterSymbolizer>
        </Rule>
      </FeatureTypeStyle>
    </UserStyle>
  </NamedLayer>
</StyledLayerDescriptor>


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to