diff cmd/octree2contour/main.go @ 932:ae1531e00344

Merged line merging from geo-style branch into default (where it belongs).
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Mon, 08 Oct 2018 14:52:37 +0200
parents 52cb0b82b490
children
line wrap: on
line diff
--- a/cmd/octree2contour/main.go	Mon Oct 08 14:41:56 2018 +0200
+++ b/cmd/octree2contour/main.go	Mon Oct 08 14:52:37 2018 +0200
@@ -35,6 +35,7 @@
 				lines = append(lines, line)
 			}
 		})
+		lines = lines.Merge()
 		results <- result{h, lines}
 	}
 }
@@ -49,6 +50,7 @@
 				lines = append(lines, line)
 			}
 		})
+		lines = lines.Merge()
 		return []result{{*step, lines}}
 	}