Mercurial > gemma
comparison pkg/controllers/diff.go @ 4762:c93c8a837af8
Removed unused code that interplolated height levels between class breaks.
author | Sascha L. Teichmann <teichmann@intevation.de> |
---|---|
date | Sat, 19 Oct 2019 18:34:17 +0200 |
parents | c91e759007da |
children | a2f16bbcc846 |
comparison
equal
deleted
inserted
replaced
4761:a5ff1bbac4dc | 4762:c93c8a837af8 |
---|---|
276 log.Printf("warn: Loading class breaks failed: %v\n", err) | 276 log.Printf("warn: Loading class breaks failed: %v\n", err) |
277 err = nil | 277 err = nil |
278 heights = octree.SampleDiffHeights(tin.Min.Z, tin.Max.Z, contourStep) | 278 heights = octree.SampleDiffHeights(tin.Min.Z, tin.Max.Z, contourStep) |
279 } else { | 279 } else { |
280 heights = octree.ExtrapolateClassBreaks(heights, tin.Min.Z, tin.Max.Z) | 280 heights = octree.ExtrapolateClassBreaks(heights, tin.Min.Z, tin.Max.Z) |
281 // heights = octree.InBetweenClassBreaks(heights, 0.05, 2) | |
282 } | 281 } |
283 | 282 |
284 log.Printf("info: z range: %.3f - %.3f\n", tin.Min.Z, tin.Max.Z) | 283 log.Printf("info: z range: %.3f - %.3f\n", tin.Min.Z, tin.Max.Z) |
285 | 284 |
286 log.Printf("info: num heights: %d\n", len(heights)) | 285 log.Printf("info: num heights: %d\n", len(heights)) |