Mercurial > gemma
diff pkg/imports/wx.go @ 1796:904c7e853adc
Waterway area import: Clip features against responsibility area.
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Mon, 14 Jan 2019 16:21:31 +0100 |
parents | 1333f96f18d0 |
children | 1ecfcf46e4da |
line wrap: on
line diff
--- a/pkg/imports/wx.go Mon Jan 14 15:19:16 2019 +0100 +++ b/pkg/imports/wx.go Mon Jan 14 16:21:31 2019 +0100 @@ -101,7 +101,7 @@ WHERE country = users.current_user_country() ) INSERT INTO waterway.waterway_axis (wtwaxs, objnam, nobjnam) -SELECT ST_Transform(clipped.geom, 4326), $3, $4 FROM ( +SELECT ST_Transform(clipped.geom, 4326)::geography, $3, $4 FROM ( SELECT (ST_Dump( ST_Intersection( (SELECT a FROM resp),