diff pkg/imports/stsh.go @ 4314:c3b5cf2f200a

shape upload stretch import: Converted multi polygon to WKB.
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Tue, 03 Sep 2019 17:12:07 +0200
parents 5da02dcc51f6
children 3d6a2c6b436c
line wrap: on
line diff
--- a/pkg/imports/stsh.go	Tue Sep 03 16:54:33 2019 +0200
+++ b/pkg/imports/stsh.go	Tue Sep 03 17:12:07 2019 +0200
@@ -123,7 +123,9 @@
 		// Convert to a multi polygon.
 		mp := poly.MultiPolygonGeom()
 
-		_ = mp
+		wkb := mp.AsWKB()
+
+		_ = wkb
 
 		for k, f := range fields {
 			name := f.String()