Skip to content

Instantly share code, notes, and snippets.

@rastermanden
Last active May 16, 2020 16:51
Show Gist options
  • Save rastermanden/e3de5cfe985bf132c4ab99c83e8d3914 to your computer and use it in GitHub Desktop.
Save rastermanden/e3de5cfe985bf132c4ab99c83e8d3914 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8"?>
<StyledLayerDescriptor xmlns="http://www.opengis.net/sld" xmlns:gml="http://www.opengis.net/gml" xmlns:ogc="http://www.opengis.net/ogc" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.0.0" xsi:schemaLocation="http://www.opengis.net/sld http://schemas.opengis.net/sld/1.0.0/StyledLayerDescriptor.xsd">
<NamedLayer>
<Name>Jordstykke</Name>
<UserStyle>
<FeatureTypeStyle>
<Rule>
<Name>jordstykke_purple</Name>
<MinScaleDenominator>1.000000</MinScaleDenominator>
<MaxScaleDenominator>26289.000000</MaxScaleDenominator>
<PolygonSymbolizer>
<Stroke>
<CssParameter name="stroke">#9926b1</CssParameter>
<CssParameter name="stroke-width">1.00</CssParameter>
</Stroke>
</PolygonSymbolizer>
<PolygonSymbolizer>
<Fill>
<CssParameter name="fill">#F1E0F4</CssParameter>
<CssParameter name="fill-opacity">0.20</CssParameter>
</Fill>
</PolygonSymbolizer>
<TextSymbolizer>
<Label>
<ogc:PropertyName>matrikelnummer</ogc:PropertyName>
</Label>
<Font>
<CssParameter name="font-family">matrik</CssParameter>
<CssParameter name="font-size">9</CssParameter>
</Font>
<LabelPlacement>
<PointPlacement>
<AnchorPoint>
<AnchorPointX>0.5</AnchorPointX>
<AnchorPointY>0.5</AnchorPointY>
</AnchorPoint>
</PointPlacement>
</LabelPlacement>
<Fill>
<CssParameter name="fill">#000000</CssParameter>
</Fill>
</TextSymbolizer>
</Rule>
</FeatureTypeStyle>
</UserStyle>
</NamedLayer>
</StyledLayerDescriptor>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment