# HG changeset patch # User Sascha L. Teichmann # Date 1546974672 -3600 # Node ID 50548a6df0095aa98ccf1191f3876770666d9c06 # Parent cfaa1291294c7ef221e7f6bed59c8fb18415de1b Fixed fix of fix. diff -r cfaa1291294c -r 50548a6df009 schema/isrs_functions.sql --- 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(