diff pkg/imports/sr.go @ 3951:e467159d04cc

Merged changes from v3.1.1
author Sascha Wilde <wilde@intevation.de>
date Mon, 15 Jul 2019 17:09:01 +0200
parents d668742c8978 c1be6aacefb1
children cb4fda122321
line wrap: on
line diff
--- a/pkg/imports/sr.go	Mon Jul 15 12:04:03 2019 +0200
+++ b/pkg/imports/sr.go	Mon Jul 15 17:09:01 2019 +0200
@@ -864,7 +864,12 @@
 		}
 	} else {
 		heights = octree.ExtrapolateClassBreaks(heights, tree.Min.Z, tree.Max.Z)
-		heights = octree.InBetweenClassBreaks(heights, 0.05, 2)
+		// We set steps for InBetweenClassBreaks to 1, so it
+		// becomes a null operation.  The extra class breaks
+		// 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)
 	}
 
 	/*