diff cmd/octree2contour/store.go @ 726:5af9ab39e715

Renamed a few types to uppercase names to prepare the move to the octree package.
author Sascha L. Teichmann <teichmann@intevation.de>
date Sat, 22 Sep 2018 21:34:12 +0200
parents c0bba602b60e
children 41c8dc61f38f
line wrap: on
line diff
--- a/cmd/octree2contour/store.go	Sat Sep 22 09:55:42 2018 +0200
+++ b/cmd/octree2contour/store.go	Sat Sep 22 21:34:12 2018 +0200
@@ -7,11 +7,6 @@
 	"math"
 )
 
-type (
-	lineStringZ      []vertex
-	multiLineStringZ []lineStringZ
-)
-
 const (
 	wkbNDR              byte   = 1
 	wkbPointZ           uint32 = 1000 + 1
@@ -21,7 +16,7 @@
 
 type result struct {
 	h     float64
-	lines multiLineStringZ
+	lines MultiLineStringZ
 }
 
 const insertSQL = `
@@ -55,7 +50,7 @@
 	})
 }
 
-func (mls multiLineStringZ) asWKB() []byte {
+func (mls MultiLineStringZ) asWKB() []byte {
 
 	var buf bytes.Buffer