Based on the section about “dynamic symbolizer" which can be found on [1] I was able to do what I wanted using:
${Concatenate(‘ttf://ourfont#0x’, VORM)}
When I try to generate a legend I get the following exception, so I guess the legend just iterates through all rules in an sld an visualizes them (without interpretation of the actual layer data). So with just 1 defined rule in the sld, the legend will be very limited J
java.lang.IllegalArgumentException: The specified mark ${Concatenate('ttf://ourfont#0x', vorm)} was not found!
The specified mark ${Concatenate('ttf://ourfont#0x', vorm)} was not found!
[1] http://docs.geoserver.org/stable/en/user/styling/sld-extensions/pointsymbols.html
Van: andrea.aime@anonymised.com [mailto:andrea.aime@anonymised.com] Namens Andrea Aime
Verzonden: woensdag 17 juli 2013 16:52
Aan: Roel De Nijs
CC: geoserver-users@lists.sourceforge.net
Onderwerp: Re: [Geoserver-users] SLD: WellKnownName based on property?
On Wed, Jul 17, 2013 at 4:36 PM, Roel De Nijs <roel.denijs@anonymised.com73…> wrote:
Is it possible to have the WellKnownName of a mark be dependent on a property name (or using the recode filter function)? Based on a few experiments I think it’s not possible…
Hmm… no, it is actually possible.
There is also an example showing the usage of a function in it here:
http://docs.geoserver.org/stable/en/user/styling/sld-extensions/substitution.html
Cheers
Andrea
–
==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more information.
==
Ing. Andrea Aime
@geowolf
Technical Lead
GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549
http://www.geo-solutions.it
http://twitter.com/geosolutions_it
Volg Aquafin op Facebook | Twitter | YouTube | LinkedIN
Disclaimer: zie www.aquafin.be P Denk aan het milieu. Druk deze mail niet onnodig af.