<div dir="ltr"><div><div><div>Hey list,<br><br></div>ST_Intersection(line,line) seems to be faulty in the above case: <br>It should return a line , but strangely enough it returns multipoints with the correct points of the line it should return.<br>
<br></div><div>I guess I should be happy to have an answer at all.<br></div>Any thought?<br></div>Cheers,<br>Rémi-C<br><div><div><br>SELECT row_number() over() as id, ST_AsText(ST_Intersection(l1,l2)), ST_Intersection(l1,l2) AS the_intersection, l1,l2<br>
FROM ST_GeomFromtext(' LINESTRING(1602.31065385555 21488.8919364873,1601.3 21494.4,1598.5 21510.2)') AS l1,<br> ST_GeomFromText('LINESTRING(1605.3 21472.6,1601.3 21494.4,1601.21138045673 21494.9000674227)') AS l2<br>
<br><br></div></div></div>