[geos-commits] [SCM] GEOS branch master updated. d3c68bbc91896f1732adc871a06f51f5b953d089

git at osgeo.org git at osgeo.org
Fri Aug 21 08:23:48 PDT 2020


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GEOS".

The branch, master has been updated
       via  d3c68bbc91896f1732adc871a06f51f5b953d089 (commit)
      from  7ebc493dd6955e98c70506fa89be5449e8ca8dbd (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit d3c68bbc91896f1732adc871a06f51f5b953d089
Author: Sandro Santilli <strk at kbt.io>
Date:   Fri Aug 21 17:23:29 2020 +0200

    Add more debugging and fix existing one

diff --git a/src/operation/overlayng/OverlayNGSnapIfNeeded.cpp b/src/operation/overlayng/OverlayNGSnapIfNeeded.cpp
index 257457d..a95efb6 100644
--- a/src/operation/overlayng/OverlayNGSnapIfNeeded.cpp
+++ b/src/operation/overlayng/OverlayNGSnapIfNeeded.cpp
@@ -145,6 +145,10 @@ OverlayNGSnapIfNeeded::overlaySnapTries(const Geometry* geom0, const Geometry* g
 
     for (std::size_t i = 0; i < NUM_SNAP_TRIES; i++) {
 
+#if GEOS_DEBUG
+        std::cout << std::endl << "Trying overlaySnapping(tol " << snapTol << ")." << std::endl;
+#endif
+
         result = overlaySnapping(geom0, geom1, opCode, snapTol);
         if (result != nullptr) return result;
 
@@ -271,7 +275,7 @@ OverlayNGSnapIfNeeded::overlaySR(const Geometry* geom0, const Geometry* geom1, i
         // ignore this exception, since the operation will be rerun
         //System.out.println("Overlay failed");
 #if GEOS_DEBUG
-        std::cout << std::endl << "overlaySR(tol " << snapTol << ") FAILURE: " << ex.what() << std::endl;
+        std::cout << std::endl << "overlaySR FAILURE: " << ex.what() << std::endl;
 #endif
     }
     // on failure retry with a "safe" fixed PM

-----------------------------------------------------------------------

Summary of changes:
 src/operation/overlayng/OverlayNGSnapIfNeeded.cpp | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
GEOS


More information about the geos-commits mailing list