"Fossies" - the Fresh Open Source Software Archive

Member "geotools-29.1/modules/library/render/src/test/resources/org/geotools/renderer/lite/gridcoverage2d/test-data/1band_Float32_test1.sld" (4 May 2023, 1415 Bytes) of package /linux/misc/geotools-29.1-project.zip:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) XML source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 <?xml version="1.0" encoding="UTF-8"?>
    2 <StyledLayerDescriptor 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" xsi:schemaLocation="http://www.opengis.net/sld
    3 http://schemas.opengis.net/sld/1.0.0/StyledLayerDescriptor.xsd" version="1.0.0">
    4 <UserLayer>
    5     <Name>raster_layer</Name>
    6         <LayerFeatureConstraints>
    7             <FeatureTypeConstraint/>
    8         </LayerFeatureConstraints>
    9     <UserStyle>
   10         <Name>raster</Name>
   11         <Title>A boring default style</Title>
   12         <Abstract>A sample style for rasters</Abstract>
   13         <FeatureTypeStyle>
   14             <FeatureTypeName>Feature</FeatureTypeName>
   15             <Rule>
   16                 <RasterSymbolizer>
   17                     <ChannelSelection>
   18                         <GrayChannel>
   19                             <SourceChannelName>1</SourceChannelName>
   20                         </GrayChannel>
   21                     </ChannelSelection>
   22                     <ColorMap type="ramp" extended="false">
   23                         <ColorMapEntry color="#000000" quantity="-21" opacity="1.0"/>
   24                         <ColorMapEntry color="#ff0000" quantity="-11" opacity="1.0"/>
   25                         <ColorMapEntry color="#00ff00" quantity="-5.0" opacity="1"/>
   26                         <ColorMapEntry color="#0000ff" quantity="5.0" opacity="1"/>
   27                         <ColorMapEntry color="#ffffff" quantity="200.0" opacity="1"/>
   28                     </ColorMap> 
   29                     <Opacity>1.0</Opacity>
   30                 </RasterSymbolizer>
   31             </Rule>
   32         </FeatureTypeStyle>
   33     </UserStyle>
   34 </UserLayer>
   35 </StyledLayerDescriptor>