Based on the section about "dynamic symbolizer" which can be found on [1] I was 
able to do what I wanted using:
            <WellKnownName>${Concatenate('ttf://ourfont#0x', 
VORM)}</WellKnownName>

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 :)
      java.lang.IllegalArgumentException: The specified mark 
${Concatenate(&apos;ttf://ourfont#0x&apos;, vorm)} was not found!
The specified mark ${Concatenate(&apos;ttf://ourfont#0x&apos;, vorm)} was not 
found!

[1] 
http://docs.geoserver.org/stable/en/user/styling/sld-extensions/pointsymbols.html

Van: [email protected] [mailto:[email protected]] Namens Andrea Aime
Verzonden: woensdag 17 juli 2013 16:52
Aan: Roel De Nijs
CC: [email protected]
Onderwerp: Re: [Geoserver-users] SLD: WellKnownName based on property?

On Wed, Jul 17, 2013 at 4:36 PM, Roel De Nijs 
<[email protected]<mailto:[email protected]>> 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<https://www.facebook.com/AquafinNV> | 
Twitter<https://twitter.com/aquafinnv> | 
YouTube<http://www.youtube.com/channel/UCk_4P5BJ-MtEEDCkCsR_KqQ?feature=mhee> | 
LinkedIN<http://www.linkedin.com/company/aquafin/products>

Disclaimer: zie www.aquafin.be<http://www.aquafin.be>   P Denk aan het milieu. 
Druk deze mail niet onnodig af.
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to