Skip to content

Instantly share code, notes, and snippets.

@rastermanden
Last active August 31, 2020 11:37
Show Gist options
  • Save rastermanden/16acc872658c30bf0973d26e460525f3 to your computer and use it in GitHub Desktop.
Save rastermanden/16acc872658c30bf0973d26e460525f3 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>Postdistrikt</Name>
<UserStyle>
<FeatureTypeStyle>
<Rule>
<Name>postdistrikt</Name>
<MinScaleDenominator>1.000000</MinScaleDenominator>
<MaxScaleDenominator>250000.000000</MaxScaleDenominator>
<PolygonSymbolizer>
<Stroke>
<CssParameter name="stroke">#bf1c4d</CssParameter>
<CssParameter name="stroke-width">1.00</CssParameter>
</Stroke>
</PolygonSymbolizer>
<TextSymbolizer>
<Label>
<ogc:PropertyName>postcodelabeltext</ogc:PropertyName>
</Label>
<Font>
<CssParameter name="font-family">liberationsans</CssParameter>
<CssParameter name="font-size">10</CssParameter>
</Font>
<LabelPlacement>
<PointPlacement>
<AnchorPoint>
<AnchorPointX>0.5</AnchorPointX>
<AnchorPointY>0.5</AnchorPointY>
</AnchorPoint>
</PointPlacement>
</LabelPlacement>
<Fill>
<CssParameter name="fill">#ff0000</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