Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save emacgillavry/7c6b93493a8a4129f890 to your computer and use it in GitHub Desktop.
Save emacgillavry/7c6b93493a8a4129f890 to your computer and use it in GitHub Desktop.
Hosted SLD
<?xml version="1.0" encoding="UTF-8"?>
<StyledLayerDescriptor version="1.1.0"
xsi:schemaLocation="http://www.opengis.net/sld http://schemas.opengis.net/sld/1.1.0/StyledLayerDescriptor.xsd"
xmlns="http://www.opengis.net/sld" xmlns:ogc="http://www.opengis.net/ogc"
xmlns:se="http://www.opengis.net/se" xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<NamedLayer>
<!--<se:Name>BU.Building_polygon</se:Name>-->
<se:Name>gebouw</se:Name>
<UserStyle>
<se:FeatureTypeStyle>
<se:Rule>
<se:Name>Building&gt;10000</se:Name>
<ogc:Filter>
<ogc:Or>
<!--overige bebouwing-->
<ogc:PropertyIsEqualTo>
<ogc:PropertyName>visualisatiecode</ogc:PropertyName>
<ogc:Literal><![CDATA[13000]]></ogc:Literal>
</ogc:PropertyIsEqualTo>
<!--dok-->
<ogc:PropertyIsEqualTo>
<ogc:PropertyName>visualisatiecode</ogc:PropertyName>
<ogc:Literal><![CDATA[13200]]></ogc:Literal>
</ogc:PropertyIsEqualTo>
<!--kas, warenhuis-->
<ogc:PropertyIsEqualTo>
<ogc:PropertyName>visualisatiecode</ogc:PropertyName>
<ogc:Literal><![CDATA[13400]]></ogc:Literal>
</ogc:PropertyIsEqualTo>
<!--huizenblok-->
<ogc:PropertyIsEqualTo>
<ogc:PropertyName>visualisatiecode</ogc:PropertyName>
<ogc:Literal><![CDATA[13300]]></ogc:Literal>
</ogc:PropertyIsEqualTo>
<!--hoogbouw-->
<ogc:PropertyIsEqualTo>
<ogc:PropertyName>visualisatiecode</ogc:PropertyName>
<ogc:Literal><![CDATA[13100]]></ogc:Literal>
</ogc:PropertyIsEqualTo>
</ogc:Or>
</ogc:Filter>
<se:MinScaleDenominator>10000.000000</se:MinScaleDenominator>
<se:MaxScaleDenominator>18100.000000</se:MaxScaleDenominator>
<se:PolygonSymbolizer>
<se:Fill>
<se:SvgParameter name="fill">#e6e6e6</se:SvgParameter>
</se:Fill>
<se:Stroke>
<se:SvgParameter name="stroke">#b9b9b9</se:SvgParameter>
<se:SvgParameter name="stroke-width">1.00</se:SvgParameter>
</se:Stroke>
</se:PolygonSymbolizer>
</se:Rule>
<se:Rule>
<se:Name>Building&lt;10000</se:Name>
<ogc:Filter>
<ogc:Or>
<!--overige bebouwing-->
<ogc:PropertyIsEqualTo>
<ogc:PropertyName>visualisatiecode</ogc:PropertyName>
<ogc:Literal><![CDATA[13000]]></ogc:Literal>
</ogc:PropertyIsEqualTo>
<!--dok-->
<ogc:PropertyIsEqualTo>
<ogc:PropertyName>visualisatiecode</ogc:PropertyName>
<ogc:Literal><![CDATA[13200]]></ogc:Literal>
</ogc:PropertyIsEqualTo>
<!--kas, warenhuis-->
<ogc:PropertyIsEqualTo>
<ogc:PropertyName>visualisatiecode</ogc:PropertyName>
<ogc:Literal><![CDATA[13400]]></ogc:Literal>
</ogc:PropertyIsEqualTo>
<!--huizenblok-->
<ogc:PropertyIsEqualTo>
<ogc:PropertyName>visualisatiecode</ogc:PropertyName>
<ogc:Literal><![CDATA[13300]]></ogc:Literal>
</ogc:PropertyIsEqualTo>
<!--hoogbouw-->
<ogc:PropertyIsEqualTo>
<ogc:PropertyName>visualisatiecode</ogc:PropertyName>
<ogc:Literal><![CDATA[13100]]></ogc:Literal>
</ogc:PropertyIsEqualTo>
</ogc:Or>
</ogc:Filter>
<se:MaxScaleDenominator>10000.000000</se:MaxScaleDenominator>
<se:PolygonSymbolizer>
<se:Fill>
<se:SvgParameter name="fill">#e6e6e6</se:SvgParameter>
</se:Fill>
<se:Stroke>
<se:SvgParameter name="stroke">#969696</se:SvgParameter>
<se:SvgParameter name="stroke-width">1.00</se:SvgParameter>
</se:Stroke>
</se:PolygonSymbolizer>
</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