[fdo-commits] r219 - branches/3.2.x/Providers/SHP/Src/Provider
svn_fdo at osgeo.org
svn_fdo at osgeo.org
Mon Mar 19 15:40:03 EDT 2007
Author: danstoica
Date: 2007-03-19 15:40:02 -0400 (Mon, 19 Mar 2007)
New Revision: 219
Modified:
branches/3.2.x/Providers/SHP/Src/Provider/ShpFeatIdQueryEvaluator.cpp
Log:
Fixed secondary filtering in the presence of Multipolygons (II)
Modified: branches/3.2.x/Providers/SHP/Src/Provider/ShpFeatIdQueryEvaluator.cpp
===================================================================
--- branches/3.2.x/Providers/SHP/Src/Provider/ShpFeatIdQueryEvaluator.cpp 2007-03-16 21:13:38 UTC (rev 218)
+++ branches/3.2.x/Providers/SHP/Src/Provider/ShpFeatIdQueryEvaluator.cpp 2007-03-19 19:40:02 UTC (rev 219)
@@ -915,6 +915,10 @@
if ( poly->GetInteriorRingCount() != 0 )
{
FdoPtr<FdoLinearRingCollection> rings = FdoLinearRingCollection::Create ();
+
+ FdoPtr<FdoILinearRing> ring = poly->GetExteriorRing();
+ rings->Add(ring);
+
for (int i = 0; i < poly->GetInteriorRingCount(); i++)
{
FdoPtr<FdoILinearRing> ring = poly->GetInteriorRing(i);
More information about the fdo-commits
mailing list