Try using a Function in your Label element:

<Label>
  <ogc:Function name="strToUpperCase">
    <ogc:PropertyName>NAME</ogc:PropertyName>
  </ogc:Function>
</Label>

--
David Winslow
OpenGeo - http://opengeo.org/

On Tue, Aug 16, 2011 at 10:19 AM, Ariel Falduto <[email protected]> wrote:

> Hi guys,
>
> its possible to capitalize the label for TextSymbolizer ???
>
> something like mmm ...
>
>
> <CssParameter name="text-transform">capitalize</CssParameter>
>
>
> ... full example ...
>
>
> <TextSymbolizer>
>   <Label>
>     <ogc:PropertyName>NAME</ogc:PropertyName>
>   </Label>
>   <Font>
>     <CssParameter name="font-family">Arial</CssParameter>
>     <CssParameter name="font-size">12</CssParameter>
>     <CssParameter name="font-style">normal</CssParameter>
>     <CssParameter name="font-weight">bold</CssParameter>
>     <CssParameter name="text-transform">capitalize</CssParameter>
>   </Font>
> </TextSymbolizer>
>
> ... any ideas ... i dont want to change ALL my shapefiles ...
>
> thks !
>
> --
> Ariel Falduto
> [email protected]
>
>
>
>
> ------------------------------------------------------------------------------
> uberSVN's rich system and user administration capabilities and model
> configuration take the hassle out of deploying and managing Subversion and
> the tools developers use with it. Learn more about uberSVN and get a free
> download at:  http://p.sf.net/sfu/wandisco-dev2dev
>
> _______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>
------------------------------------------------------------------------------
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to