Skip to content

Instantly share code, notes, and snippets.

Created September 26, 2012 10:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/bd70da84c29479a5b2eb to your computer and use it in GitHub Desktop.
Save anonymous/bd70da84c29479a5b2eb to your computer and use it in GitHub Desktop.
Geoserver SLD with multiple FeatureTypeStyles to specify rendering order
<sld:NamedLayer>
<sld:Name>MSG Hotspots</sld:Name>
<sld:UserStyle>
<sld:FeatureTypeStyle>
<sld:Title>Low Intensity Hotspots</sld:Title>
<sld:Rule>
<sld:Name>rule01</sld:Name>
<snip />
<sld:Rule>
<sld:Rule>
<sld:Name>rule02</sld:Name>
<snip />
<sld:Rule>
<sld:FeatureTypeStyle>
<sld:FeatureTypeStyle>
<sld:Title>Medium Intensity Hotspots</sld:Title>
<sld:Rule>
<sld:Name>rule03</sld:Name>
<snip />
<sld:Rule>
<sld:Rule>
<sld:Name>rule04</sld:Name>
<snip />
<sld:Rule>
<sld:FeatureTypeStyle>
<sld:FeatureTypeStyle>
<sld:Title>High Intensity Hotspots</sld:Title>
<sld:Rule>
<sld:Name>rule05</sld:Name>
<snip />
<sld:Rule>
<sld:Rule>
<sld:Name>rule06</sld:Name>
<snip />
<sld:Rule>
<sld:FeatureTypeStyle>
</sld:UserStyle>
<sld:NamedLayer>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment