[fdo-commits] r238 - branches/3.2.x/Providers/SDF/Src/Utils
svn_fdo at osgeo.org
svn_fdo at osgeo.org
Mon Mar 19 15:40:55 EDT 2007
Author: danstoica
Date: 2007-03-19 15:40:55 -0400 (Mon, 19 Mar 2007)
New Revision: 238
Modified:
branches/3.2.x/Providers/SDF/Src/Utils/FilterExecutor.cpp
Log:
Fixed secondary filtering in the presence of Multipolygons (II)
Modified: branches/3.2.x/Providers/SDF/Src/Utils/FilterExecutor.cpp
===================================================================
--- branches/3.2.x/Providers/SDF/Src/Utils/FilterExecutor.cpp 2007-03-16 19:13:28 UTC (rev 237)
+++ branches/3.2.x/Providers/SDF/Src/Utils/FilterExecutor.cpp 2007-03-19 19:40:55 UTC (rev 238)
@@ -1012,6 +1012,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