"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_test2.sld" (4 May 2023, 1368 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                     <ColorMap type="ramp" extended="false">
   18                         <ColorMapEntry color="#ff0000" quantity="0.1" opacity="1.0"/>
   19                         <ColorMapEntry color="#00ff00" quantity="50.0" opacity="0.8"/>
   20                         <ColorMapEntry color="#0000ff" quantity="200.0" opacity="0.05"/>
   21                     </ColorMap>
   22                     <ChannelSelection>
   23                         <GrayChannel>
   24                             <SourceChannelName>1</SourceChannelName>
   25                                 <ContrastEnhancement>
   26                                     <Histogram/>
   27                                 </ContrastEnhancement>
   28                         </GrayChannel>
   29                     </ChannelSelection>
   30                     <Opacity>1.0</Opacity>
   31                 </RasterSymbolizer>
   32             </Rule>
   33         </FeatureTypeStyle>
   34     </UserStyle>
   35 </UserLayer>
   36 </StyledLayerDescriptor>