GeoServer provides a filter function named strConcat that can help you:

<TextSymbolizer>
<Label>
<ogc:Function name="strConcat">
<ogc:PropertyName>prop</ogc:PropertyName>
<ogc:Literal> clr</ogc:Literal>
</ogc:Function>
</Label>
</TextSymbolizer>

As a shorthand, you can simply put multiple properties in the Label element.

<Label>
<ogc:PropertyName>prop</ogc:PropertyName> clr
</Label>

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

On Mon, Mar 26, 2012 at 7:26 AM, Olex Filevych <[email protected]>wrote:

> Hallo,
> I have a problem with adding an external Textlabel a value!
>
> I want to add a text like "clr" to the values of a specific attribute.
> This text label should appear behind the values of the attribute like "clr"
> [value]. Is the a function or so that can solve this probmel or is it not
> possible to add a "free" text to the existing values?!
>
> Thanks
>
>
>
>
> ------------------------------------------------------------------------------
> This SF email is sponsosred by:
> Try Windows Azure free for 90 days Click Here
> http://p.sf.net/sfu/sfd2d-msazure
> _______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>
------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to