Skip to content
Permalink
Browse files
GEOS 3 port.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6546 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
telwertowski committed Feb 7, 2007
1 parent 0d5b249 commit cabde15393cfd808d951cdfa513a1dbe227f2937
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/providers/wfs/qgswfsprovider.cpp
@@ -142,7 +142,7 @@ void QgsWFSProvider::reset()
#if GEOS_VERSION_MAJOR < 3
mSelectedFeatures = mSpatialIndex.query(&e);
#else
#warning *** FIXME: Need to revise use of mSelectedFeatures for GEOS 3.0.0
mSelectedFeatures = new std::vector<void*>;
mSpatialIndex.query(&e, *mSelectedFeatures);
#endif
if(mSelectedFeatures)
@@ -242,7 +242,7 @@ void QgsWFSProvider::select(QgsRect mbr, bool useIntersect)
#if GEOS_VERSION_MAJOR < 3
mSelectedFeatures = mSpatialIndex.query(&filter);
#else
#warning *** FIXME: Need to revise use of mSelectedFeatures for GEOS 3.0.0
mSelectedFeatures = new std::vector<void*>;
mSpatialIndex.query(&filter, *mSelectedFeatures);
#endif
mFeatureIterator = mSelectedFeatures->begin();

0 comments on commit cabde15

Please sign in to comment.