diff pkg/imports/isr.go @ 4640:fb09a43b062e

Decouple the tracing of the iso areas from the octree data structure.
author Sascha L. Teichmann <teichmann@intevation.de>
date Fri, 11 Oct 2019 20:09:37 +0200
parents c657dec6b0fa
children 4bbfe3dd2ab5
line wrap: on
line diff
--- a/pkg/imports/isr.go	Fri Oct 11 20:00:06 2019 +0200
+++ b/pkg/imports/isr.go	Fri Oct 11 20:09:37 2019 +0200
@@ -184,7 +184,7 @@
 		}
 
 		// Calculate and store the iso areas.
-		areas := tree.TraceAreas(hs, isoCellSize)
+		areas := octree.TraceAreas(hs, isoCellSize, tree.Min, tree.Max, tree.Value)
 		for i, a := range areas {
 			if len(a) == 0 {
 				continue