inappropriate feature evaluation in StreamingRenderer 
------------------------------------------------------

                 Key: GEOT-3440
                 URL: http://jira.codehaus.org/browse/GEOT-3440
             Project: GeoTools
          Issue Type: Bug
          Components: core render
    Affects Versions: 2.7-RC1
         Environment: gt-2.8 snapshot
            Reporter: Rudi Hochmeister
            Assignee: Andrea Aime
         Attachments: GET-Filter_in_CQL.txt, patch.diff, POST-Filter.txt

Hi,

I came across this issue because of a filter with temporal attributes. 
In 'Geoserver OpenLayers App' with CQL-Filter (GET GetMap-Requests) it succeeds.
But the XML POST GetMap-request fails because filter.evaluate() always returns 
false. 

During POST GetMap-Request the method  
StreamingRenderer.process(
        RenderableFeature, 
        LiteFeatureTypeStyle, 
        NumberRange, 
        AffineTransform, 
        CoordinateReferenceSystem, 
        String)
evaluates the feature, even though there is only on filter rule. In this single 
rule the feature has already been evaluated by the geo-database with 
'WHERE'-clause. 
In my opinion, this evaluation is only needed for multiple filter rules on one 
layer(with different renderers). 

If I do a GET GetMap-Request the filter object is null and the resulting Image 
is also correct.
If you agree, can you please have a look a the patch?

cheers,
Rudi

-- 
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

        

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to