changeset 3954:cb4fda122321

Completing: Don't create extra inbetween class breaks.
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Mon, 15 Jul 2019 17:54:12 +0200
parents 4233570de212
children 7df9ef183985 4f9a1ff2c2ee
files pkg/controllers/diff.go pkg/imports/sr.go
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/pkg/controllers/diff.go	Mon Jul 15 17:49:50 2019 +0200
+++ b/pkg/controllers/diff.go	Mon Jul 15 17:54:12 2019 +0200
@@ -268,7 +268,7 @@
 			tree.Min.Z, tree.Max.Z, contourStep)
 	} else {
 		heights = octree.ExtrapolateClassBreaks(heights, tree.Min.Z, tree.Max.Z)
-		heights = octree.InBetweenClassBreaks(heights, 0.05, 2)
+		// heights = octree.InBetweenClassBreaks(heights, 0.05, 2)
 	}
 
 	log.Printf("info: num heights: %d\n", len(heights))
--- a/pkg/imports/sr.go	Mon Jul 15 17:49:50 2019 +0200
+++ b/pkg/imports/sr.go	Mon Jul 15 17:54:12 2019 +0200
@@ -869,7 +869,7 @@
 		// were considered unexpected and confusing by the
 		// users.  Once we get filled polygones the visual will
 		// be considerably different anyway. -- sw
-		heights = octree.InBetweenClassBreaks(heights, 0.05, 1)
+		// heights = octree.InBetweenClassBreaks(heights, 0.05, 1)
 	}
 
 	/*