Mercurial > gemma
diff pkg/imports/sr.go @ 1786:09349ca27dd7
Imports: Removed duplicated code path to store WKB polygons into database.
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Sun, 13 Jan 2019 13:02:39 +0100 |
parents | 807569b08513 |
children | 6a67cd819e93 |
line wrap: on
line diff
--- a/pkg/imports/sr.go Sat Jan 12 19:53:31 2019 +0100 +++ b/pkg/imports/sr.go Sun Jan 13 13:02:39 2019 +0100 @@ -428,7 +428,7 @@ return loadXYZReader(r, feedback) } -func loadBoundary(z *zip.ReadCloser) (polygon, error) { +func loadBoundary(z *zip.ReadCloser) (polygonSlice, error) { shpF := common.FindInZIP(z, ".shp") if shpF == nil { return nil, nil