Mercurial > gemma
diff pkg/imports/wa.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 | 614c6c766691 |
children | 904c7e853adc |
line wrap: on
line diff
--- a/pkg/imports/wa.go Sat Jan 12 19:53:31 2019 +0100 +++ b/pkg/imports/wa.go Sun Jan 13 13:02:39 2019 +0100 @@ -206,7 +206,7 @@ switch feature.Geometry.Type { case "Polygon": - var p polygon + var p polygonSlice if err := json.Unmarshal(*feature.Geometry.Coordinates, &p); err != nil { return err }