changeset 3654:26e02fa5b992 single-beam

Fixed problem with wrong EPSG code.
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Thu, 13 Jun 2019 17:07:28 +0200
parents 955e2371cf28
children a6c671abbc35
files pkg/imports/sr.go
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/pkg/imports/sr.go	Thu Jun 13 16:57:24 2019 +0200
+++ b/pkg/imports/sr.go	Thu Jun 13 17:07:28 2019 +0200
@@ -554,7 +554,7 @@
 
 		var (
 			id       int64
-			epsg     uint32
+			dummy    uint32
 			lat, lon float64
 		)
 
@@ -568,12 +568,12 @@
 			m.DepthReference,
 			nil,
 			repaired,
-			m.EPSG,
+			epsg,
 		).Scan(
 			&id,
 			&lat,
 			&lon,
-			&epsg,
+			&dummy,
 			&hull,
 		); err != nil {
 			return nil, err