Mercurial > gemma
changeset 1723:50548a6df009
Fixed fix of fix.
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Tue, 08 Jan 2019 20:11:12 +0100 |
parents | cfaa1291294c |
children | 79a18eb1672b |
files | schema/isrs_functions.sql |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/schema/isrs_functions.sql Tue Jan 08 20:02:11 2019 +0100 +++ b/schema/isrs_functions.sql Tue Jan 08 20:11:12 2019 +0100 @@ -63,7 +63,7 @@ FROM axis) AS lines, (SELECT ST_Collect(from_point.geom, to_point.geom) AS pts FROM from_point, to_point) AS points - WHERE ST_intersects(ST_Buffer(lines.line, 0.0001), points.pts)), + WHERE ST_Covers(ST_Buffer(lines.line, 0.0001), points.pts)), axis_substring AS ( -- Use linear referencing to clip axis between distance marks SELECT ST_LineSubstring(