[geos-commits] r2618 - trunk/source/operation/overlay

svn_geos at osgeo.org svn_geos at osgeo.org
Sun Aug 2 19:39:51 EDT 2009


Author: mloskot
Date: 2009-08-02 19:39:51 -0400 (Sun, 02 Aug 2009)
New Revision: 2618

Modified:
   trunk/source/operation/overlay/PolygonBuilder.cpp
Log:
Removed incomplete GEOS_DEBUG message causing compilation error because Edge type is incomplete.

Modified: trunk/source/operation/overlay/PolygonBuilder.cpp
===================================================================
--- trunk/source/operation/overlay/PolygonBuilder.cpp	2009-08-02 23:15:54 UTC (rev 2617)
+++ trunk/source/operation/overlay/PolygonBuilder.cpp	2009-08-02 23:39:51 UTC (rev 2618)
@@ -120,30 +120,7 @@
 		des->linkResultDirectedEdges();
 	}
 
-#if GEOS_DEBUG > 1
-	cerr << "CREATE TABLE diredges (g geometry);" << endl;
-	for (size_t i=0, n=dirEdges->size(); i<n; i++)
-	{
-		DirectedEdge* de = (*dirEdges)[i];
-		Edge* e = de->getEdge();
-		const CoordinateSequence* pts = e->getCoordinates();
-		cerr << "INSERT INTO diredges VALUES ('LINESTRING"
-		     << pts->toString() << "');" << endl;
-	}
-#endif
 	vector<MaximalEdgeRing*>* maxEdgeRings=buildMaximalEdgeRings(dirEdges);
-#if GEOS_DEBUG > 1
-	cerr << "CREATE TABLE maxedgerings (g geometry);" << endl;
-	for (size_t i=0, n=maxEdgeRings->size(); i<n; i++)
-	{
-		EdgeRing* er = (*maxEdgeRings)[i];
-		Polygon* poly = er->toPolygon(geometryFactory);
-		cerr << "INSERT INTO maxedgerings VALUES ('"
-		     << poly->toString() << "');" << endl;
-		delete poly;
-	}
-#endif
-
 	vector<EdgeRing*> freeHoleList;
 	vector<MaximalEdgeRing*> *edgeRings;
 	edgeRings= buildMinimalEdgeRings(maxEdgeRings,&shellList,&freeHoleList);



More information about the geos-commits mailing list