Skip to content

Instantly share code, notes, and snippets.

@leodc
Last active March 13, 2018 22:39
Show Gist options
  • Save leodc/0abadc3b9fb2917aba233e7def2723c4 to your computer and use it in GitHub Desktop.
Save leodc/0abadc3b9fb2917aba233e7def2723c4 to your computer and use it in GitHub Desktop.
bea
<?xml version="1.0" encoding="UTF-8"?>
<StyledLayerDescriptor version="1.0.0" 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" xsi:schemaLocation="http://www.opengis.net/sld http://schemas.opengis.net/sld/1.0.0/StyledLayerDescriptor.xsd">
<NamedLayer>
<UserStyle>
<Title>Default point</Title>
<Abstract>A sample style that just prints out a 6px wide red square</Abstract>
<FeatureTypeStyle>
<Rule>
<Title>Red square</Title>
<PointSymbolizer>
<Graphic>
<Mark>
<WellKnownName>
<ogc:Literal>square</ogc:Literal>
</WellKnownName>
<Fill>
<CssParameter name="fill">
<ogc:Literal>FF0000</ogc:Literal>
</CssParameter>
</Fill>
</Mark>
<Size>
<ogc:Literal>6</ogc:Literal>
</Size>
</Graphic>
</PointSymbolizer>
</Rule>
</FeatureTypeStyle>
</UserStyle>
</NamedLayer>
</StyledLayerDescriptor>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment