Created
July 11, 2024 07:37
-
-
Save t-book/c81a2948e87ba4e4c6df43955d9e4ae2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<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>16bit_greyscale</Name> | |
<UserStyle> | |
<Title>16-bit Greyscale</Title> | |
<Abstract>A greyscale style for 16-bit GeoTIFF images</Abstract> | |
<FeatureTypeStyle> | |
<Rule> | |
<RasterSymbolizer> | |
<ChannelSelection> | |
<GrayChannel> | |
<SourceChannelName>1</SourceChannelName> | |
</GrayChannel> | |
</ChannelSelection> | |
<ContrastEnhancement> | |
<Normalize> | |
<VendorOption name="minValue">0</VendorOption> | |
<VendorOption name="maxValue">65535</VendorOption> | |
</Normalize> | |
</ContrastEnhancement> | |
</RasterSymbolizer> | |
</Rule> | |
</FeatureTypeStyle> | |
</UserStyle> | |
</NamedLayer> | |
</StyledLayerDescriptor> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment