On Wed, Nov 23, 2011 at 4:24 PM, Tim Tenelsen <[email protected]>wrote:
> Hello,****
>
> ** **
>
> we would like to create dynamic Styling for (all) individual Postecode
> Areas in Germany and have the following problem:****
>
> ** **
>
> If we create a SLD with JavaScript and post it as parameter (sld_body:
> createSLD()) it works fine for up to ~200 areas. With more areas it
> doesn’t work. ****
>
> ** **
>
> If we try parameter substitution we have the problem that we cannot use a
> construction like this:****
>
> ** **
>
> <ogc:Filter>****
>
> <ogc:PropertyIsEqualTo>****
>
> <ogc:PropertyName>PLZ</ogc:PropertyName>****
>
> <ogc:Literal>****
>
> <ogc:Function name="env">****
>
> <ogc:Literal>plz</ogc:Literal>****
>
> <ogc:Literal></ogc:Literal>****
>
> </ogc:Function> ****
>
> </ogc:Literal>****
>
> </ogc:PropertyIsEqualTo>****
>
> </ogc:Filter>
>
The above is not valid, try to use:
<ogc:Filter>****
<ogc:PropertyIsEqualTo>****
<ogc:PropertyName>PLZ</ogc:PropertyName>****
<ogc:Function name="env">
<ogc:Literal>plz</ogc:Literal>****
<ogc:Literal></ogc:Literal>****
</ogc:Function> ****
</ogc:PropertyIsEqualTo>
</ogc:Filter>
Cheers
Andrea
--
-------------------------------------------------------
Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 962313
http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf
-------------------------------------------------------
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure
contains a definitive record of customers, application performance,
security threats, fraudulent activity, and more. Splunk takes this
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users