Hi,

According to the validity check in Geoserver this sld is valid, but when I try 
to render it I get an error.

It could be do to with the fact that the quantities do not flow from 1-10 in 
numerical order. Is this then invalid SLD?

<?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>
    <Name>Windpot_wgs84</Name>
    <UserStyle>
      <Title>Windpotential</Title>
      <FeatureTypeStyle>
        <Rule>
          <RasterSymbolizer>
            <ColorMap type="intervals">    
              <ColorMapEntry color="#000000" quantity="1" opacity="0" label="no 
Data"/>
              <ColorMapEntry color="#FFFFD2" quantity="2" label="unter 871 
MWh/a 
(5,6 m/s )"/>
              <ColorMapEntry color="#F9F9BB" quantity="5" label="871 bis 890 
MWh/a"/>
              <ColorMapEntry color="#E9E9B6" quantity="3" label="891 bis 910 
MWh/a"/>
              <ColorMapEntry color="#CADAA3" quantity="6" label="911 bis 930 
MWh/a"/>
              <ColorMapEntry color="#ADD581" quantity="10" label="931 bis 950 
MWh/a"/>
              <ColorMapEntry color="#8FE25C" quantity="4" label="951 bis 970 
MWh/a"/>
              <ColorMapEntry color="#6EFF78" quantity="11" label="971 bis 990 
MWh/a"/>
              <ColorMapEntry color="#41ED8E" quantity="7" label="991 bis 1010 
MWh/a"/>
              <ColorMapEntry color="#00A49F" quantity="8" label="1011 bis 1030 
MWh/a"/>
          <ColorMapEntry color="#3232FF" quantity="9" label="<1030 MWh/a"/>
            </ColorMap>
          </RasterSymbolizer>
        </Rule>
      </FeatureTypeStyle>
    </UserStyle>
  </NamedLayer>
</StyledLayerDescriptor>

Thanks,

Robert Buckley



------------------------------------------------------------------------------
Virtualization is moving to the mainstream and overtaking non-virtualized
environment for deploying applications. Does it make network security 
easier or more difficult to achieve? Read this whitepaper to separate the 
two and get a better understanding.
http://p.sf.net/sfu/hp-phase2-d2d
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to