Skip to content

Instantly share code, notes, and snippets.

@dwins
Created July 28, 2010 16:25
Show Gist options
  • Select an option

  • Save dwins/495125 to your computer and use it in GitHub Desktop.

Select an option

Save dwins/495125 to your computer and use it in GitHub Desktop.
* {
label: [strtouppercase(TITLE)];
}
<?xml version="1.0" encoding="UTF-8"?>
<sld:UserStyle xmlns="http://www.opengis.net/sld" xmlns:sld="http://www.opengis.net/sld" xmlns:ogc="http://www.opengis.net/ogc" xmlns:gml="http://www.opengis.net/gml">
<sld:Name>Default Styler</sld:Name>
<sld:Title/>
<sld:FeatureTypeStyle>
<sld:Name>name</sld:Name>
<sld:Rule>
<sld:TextSymbolizer>
<sld:Label>
<ogc:Function name="strToUpperCase">
<ogc:PropertyName>TITLE</ogc:PropertyName>
</ogc:Function>
</sld:Label>
<sld:Fill/>
</sld:TextSymbolizer>
</sld:Rule>
</sld:FeatureTypeStyle>
</sld:UserStyle>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment