StreamingRenderer does not honor the maxFilter hint
---------------------------------------------------

                 Key: GEOT-2406
                 URL: http://jira.codehaus.org/browse/GEOT-2406
             Project: GeoTools
          Issue Type: Bug
    Affects Versions: 2.5.4
            Reporter: Andrea Aime
            Assignee: Andrea Aime
             Fix For: 2.5.5


The streaming renderer builds up the filter that is going to be sent to the 
datastore by or-ing togheter the filters of the various rules, in order to make 
a feature filtering SLD to just load the required features. 
However, to avoid too much overhead, a hint is provided to limit the number of 
filters that get chained, over that limit the rule filters are just ignored and 
executed in memory instead.
Unfortunately it seems the code to check the limit is not working, and all 
filters are sent to the db (which does not help much in general, but is a real 
killer when the SLD is 27.000 loc, like this one: 
 http://www.nabble.com/file/p22684181/sld_node_db_longer.sld
Trying to encode a query that deals with that many or-ed filters makes the sql 
filter splitter just throw a stack overflow exception.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Geotools-devel mailing list
Geotools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to