It works, thanks!
Is there a special character combination for a whitespace? My workaround doesn’t seem pretty smart:
<ogc:Function name=“strConcat”>
<ogc:Function name=“strConcat”>
ogc:PropertyNamestrasse</ogc:PropertyName>
<ogc:Function name=“strSubstring”>
ogc:LiteralA C</ogc:Literal>
ogc:Literal1</ogc:Literal>
ogc:Literal2</ogc:Literal>
</ogc:Function>
</ogc:Function>
ogc:PropertyNamehausnummer</ogc:PropertyName>
</ogc:Function>
Stefan
-----Ursprüngliche Nachricht-----
Von: Andrea Aime [mailto:aaime@anonymised.com]
Gesendet am: Donnerstag, 13. Dezember 2007 18:37
An: Ziegler Stefan
Cc: geoserver-users
Betreff: Re: [Geoserver-users] labeling with two attributes
Ziegler Stefan ha scritto:
Hi
strasse + hausnummer
is it somehow possible to combine two or more feature attributes in one
label? Something like this:
Not with that syntax, but using a function it’s possible.
Unfortunately functions are undocumented, but it should
be something like:
I haven’t tested it. Let me know if it works
Cheers
Andrea