Yes this is andrea bait :-)
I am sorting out questions from SoC students and acuster (guess who has
harder questions?).
- http://docs.codehaus.org/display/GEOTDOC/Filters
And arrived at the following example "optimization" ...
> if( filter == Filter.INCLUDES || filter.evaluate( feature ) ){
> // the feature was "selected" by the filter
> System.out.println( "Selected "+ feature.getId();
> }
My question is this - does it actually optimize anything?
Filter.INCLUDES returns true after all - is the extra test worth the effort?
Just want to get this straight before I lead another generation of
GeoTools programmers into a good/bad practice.
Jody
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel