[fdo-commits] r2694 - trunk/Providers/SDF/Src/Utils
svn_fdo at osgeo.org
svn_fdo at osgeo.org
Mon Mar 19 15:46:24 EDT 2007
Author: danstoica
Date: 2007-03-19 15:46:24 -0400 (Mon, 19 Mar 2007)
New Revision: 2694
Modified:
trunk/Providers/SDF/Src/Utils/FilterExecutor.cpp
Log:
Ticket #43: SHP, SDF: wrong results when quering multi polygons
Modified: trunk/Providers/SDF/Src/Utils/FilterExecutor.cpp
===================================================================
--- trunk/Providers/SDF/Src/Utils/FilterExecutor.cpp 2007-03-19 19:31:09 UTC (rev 2693)
+++ trunk/Providers/SDF/Src/Utils/FilterExecutor.cpp 2007-03-19 19:46:24 UTC (rev 2694)
@@ -1011,6 +1011,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