diff pkg/octree/vertex.go @ 988:7dfd3db94e6d

In preparation of persisting import jobs logging is done through an interface.
author Sascha L. Teichmann <teichmann@intevation.de>
date Sat, 20 Oct 2018 19:14:00 +0200
parents a4fe07a21ba7
children a244b18cb916
line wrap: on
line diff
--- a/pkg/octree/vertex.go	Fri Oct 19 18:09:26 2018 +0200
+++ b/pkg/octree/vertex.go	Sat Oct 20 19:14:00 2018 +0200
@@ -439,7 +439,7 @@
 		}
 	}
 
-	rings := len(out)
+	// rings := len(out)
 
 	// The rest are open line strings.
 	for _, lines := range heads {
@@ -448,8 +448,8 @@
 		}
 	}
 
-	log.Printf("segments before/after merge: %d/%d (%d rings)\n",
-		len(mls), len(out), rings)
+	// log.Printf("segments before/after merge: %d/%d (%d rings)\n",
+	// len(mls), len(out), rings)
 
 	return out
 }