Skip to content

Instantly share code, notes, and snippets.

@m-kuhn
Last active July 21, 2022 14:00
Show Gist options
  • Save m-kuhn/3c81d5f11950a6492551a5c3aeab112c to your computer and use it in GitHub Desktop.
Save m-kuhn/3c81d5f11950a6492551a5c3aeab112c to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="UTF-8"?>
<StyledLayerDescriptor xmlns="http://www.opengis.net/sld" version="1.1.0" xsi:schemaLocation="http://www.opengis.net/sld http://schemas.opengis.net/sld/1.1.0/StyledLayerDescriptor.xsd" xmlns:ogc="http://www.opengis.net/ogc" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:se="http://www.opengis.net/se">
<NamedLayer>
<se:Name>ch.swisstopo.swisstlm3d-wanderwege</se:Name>
<UserStyle>
<se:Name>wanderwege</se:Name>
<se:FeatureTypeStyle>
<se:Rule>
<se:Name>Bergwanderweg</se:Name>
<se:Description>
<se:Title>Bergwanderweg</se:Title>
</se:Description>
<ogc:Filter xmlns:ogc="http://www.opengis.net/ogc">
<ogc:PropertyIsEqualTo>
<ogc:PropertyName>wanderwege_resolved</ogc:PropertyName>
<ogc:Literal>Bergwanderweg</ogc:Literal>
</ogc:PropertyIsEqualTo>
</ogc:Filter>
<se:LineSymbolizer>
<se:Stroke>
<se:SvgParameter name="stroke">#27e1a6</se:SvgParameter>
<se:SvgParameter name="stroke-width">1</se:SvgParameter>
<se:SvgParameter name="stroke-linejoin">bevel</se:SvgParameter>
<se:SvgParameter name="stroke-linecap">square</se:SvgParameter>
</se:Stroke>
</se:LineSymbolizer>
</se:Rule>
</se:FeatureTypeStyle>
</UserStyle>
</NamedLayer>
</StyledLayerDescriptor>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment