If it's possible, that would be really great for simplifying our 3000+ line
SLDs. One of the things I tried, was the following code but that doesn't work
<WellKnownName>
<ogc:Function name="Recode">
<ogc:PropertyName>node_type</ogc:PropertyName>
<ogc:Literal>PUT</ogc:Literal>
<ogc:Literal>ttf://AQFBestaand#0x0048</ogc:Literal>
</ogc:Function>
</WellKnownName>
I also tried this with no success (where property "vorm" contains the correct
values):
<WellKnownName>
<ogc:PropertyName>vorm</ogc:PropertyName>
</WellKnownName>
Van: andrea.a...@gmail.com [mailto:andrea.a...@gmail.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.den...@aquafin.be<mailto:roel.den...@aquafin.be>> 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
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users