svn - r34310 - trunk/modules/plugin/shapefile/src/main/java/org/geotools/data/shapefile

1 message Options
Embed this post
Permalink
svn_geotools

svn - r34310 - trunk/modules/plugin/shapefile/src/main/java/org/geotools/data/shapefile

Reply Threaded More More options
Print post
Permalink
Author: aaime
Date: 2009-11-03 06:18:59 -0500 (Tue, 03 Nov 2009)
New Revision: 34310

Modified:
   trunk/modules/plugin/shapefile/src/main/java/org/geotools/data/shapefile/ShapefileDataStore.java
Log:
GEOT-2821,  Indexed shapefile datastore does not process correctly geometry filters against the default geometry associated with no geometry property extraction

Modified: trunk/modules/plugin/shapefile/src/main/java/org/geotools/data/shapefile/ShapefileDataStore.java
===================================================================
--- trunk/modules/plugin/shapefile/src/main/java/org/geotools/data/shapefile/ShapefileDataStore.java 2009-11-03 11:14:48 UTC (rev 34309)
+++ trunk/modules/plugin/shapefile/src/main/java/org/geotools/data/shapefile/ShapefileDataStore.java 2009-11-03 11:18:59 UTC (rev 34310)
@@ -349,7 +349,7 @@
 
         // gather attributes needed by the query tool, they will be used by the
         // query filter
-        FilterAttributeExtractor extractor = new FilterAttributeExtractor();
+        FilterAttributeExtractor extractor = new FilterAttributeExtractor(schema);
         Filter filter = query.getFilter();
         filter.accept(extractor, null);
         String[] filterAttnames = extractor.getAttributeNames();


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
GeoTools-commits mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geotools-commits