Mercurial > gemma
diff pkg/imports/sr.go @ 3949:c1be6aacefb1 v3.1-releases
Don't create extra inbetween class breaks.
author | Sascha Wilde <wilde@intevation.de> |
---|---|
date | Mon, 15 Jul 2019 16:57:00 +0200 |
parents | 4b5c4007fc5d |
children | e467159d04cc |
line wrap: on
line diff
--- a/pkg/imports/sr.go Thu Jul 11 19:21:03 2019 +0200 +++ b/pkg/imports/sr.go Mon Jul 15 16:57:00 2019 +0200 @@ -844,7 +844,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) } /*