changeset 4555:1c5c6ffab886 iso-areas

Extrapolate the class breaks to the models Z extrema.
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Tue, 01 Oct 2019 17:08:37 +0200
parents 23236657b032
children 04eba9dc917d
files cmd/isoareas/main.go
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/cmd/isoareas/main.go	Tue Oct 01 14:51:20 2019 +0200
+++ b/cmd/isoareas/main.go	Tue Oct 01 17:08:37 2019 +0200
@@ -334,6 +334,8 @@
 		min.X, min.Y, min.Z,
 		max.X, max.Y, max.Z)
 
+	heights = octree.ExtrapolateClassBreaks(heights, min.Z, max.Z)
+
 	width := max.X - min.X
 	height := max.Y - min.Y