On Wed, Apr 25, 2012 at 3:20 PM, Michael Gruebsch <
[email protected]> wrote:
> Hi,
>
> I have create a feature style which is based on two
> rules. The first rule has a filter, while the second
> one is the else rule.
>
> The filter is a query on a simple feature attribute.
>
> My question: Is it enough to redraw the map if the
> feature attribute changes or do I have to create a
> new style?
>
> To reformulate it: is the filter rule evaluated
> (a) once or
> (b) each time the map is redrawn?
>
> If (a): is there a way to refresh the style "cache"?
>
Rules are evaluated time the map is redrawn, but the symbolizers that happen
not to depend on attributes (static ones) are evaluated once and cached in
the SLDStyleFactory.
Don't remember, off the top of my head, if the cache in the SLDStyleFactory
can
be cleared or not.
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
mob: +39 339 8844549
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
-------------------------------------------------------
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
GeoTools-GT2-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users