[geos-commits] r2665 - trunk/source/operation/overlay/snap

svn_geos at osgeo.org svn_geos at osgeo.org
Thu Oct 8 04:38:38 EDT 2009


Author: strk
Date: 2009-10-08 04:38:38 -0400 (Thu, 08 Oct 2009)
New Revision: 2665

Modified:
   trunk/source/operation/overlay/snap/SnapIfNeededOverlayOp.cpp
Log:
Don't signal topology exception when it triggers snapping

Modified: trunk/source/operation/overlay/snap/SnapIfNeededOverlayOp.cpp
===================================================================
--- trunk/source/operation/overlay/snap/SnapIfNeededOverlayOp.cpp	2009-10-08 08:37:01 UTC (rev 2664)
+++ trunk/source/operation/overlay/snap/SnapIfNeededOverlayOp.cpp	2009-10-08 08:38:38 UTC (rev 2665)
@@ -63,7 +63,9 @@
 		// ignore this exception, since the operation will be rerun
 		//      System.out.println(ex.getMessage());
 		//      ex.printStackTrace();
+#if GEOS_DEBUG
 		std::cerr << "Overlay op threw " << ex.what() << ". Will try snapping now" << std::endl;
+#endif
 	}
 
 	if (! isSuccess) {



More information about the geos-commits mailing list