Opened 3 days ago
Last modified 2 days ago
#5751 new defect
Problem with ST_Intersection
Reported by: | ezimanyi | Owned by: | pramsey |
---|---|---|---|
Priority: | medium | Milestone: | PostGIS 3.4.3 |
Component: | postgis | Version: | 3.4.x |
Keywords: | Cc: |
Description
test=# select st_intersects(geometry 'Linestring(1 1,1 1)', geometry 'Linestring(1 1,3 3)'); st_intersects --------------- t (1 row) test=# select st_astext(st_intersection(geometry 'Linestring(1 1,1 1)', geometry 'Linestring(1 1,3 3)')); st_astext ------------------ LINESTRING EMPTY (1 row)
Note:
See TracTickets
for help on using tickets.
I have replicated the issue. I'm guessing the issue is because linestring 1 is a degenerate linestring. I'm honestly not sure what the answer should be to the intersection question.