lseg ?# (intersects) incorrect for lsegs whose intersection is another lseg

From: Andy Meyer <andy(at)itasoftware(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: lseg ?# (intersects) incorrect for lsegs whose intersection is another lseg
Date: 2008-03-11 17:59:48
Message-ID: 47D6C894.3050201@itasoftware.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Using PostgreSQL 8.2.3, on linux (FC3):

test=> select lseg'((0,0),(1,0))' ?# lseg'((0,0),(1,0))';
-[ RECORD 1 ]
?column? | f

while

avail=> select lseg'((0,0),(1,0))' ?# lseg'((0,0),(1,1))';
-[ RECORD 1 ]
?column? | t

Looking over the geometric operations source it appears that the
intersect operation applied to line segments will only work if they
intersect at a single point.

Browse pgsql-bugs by date

  From Date Subject
Next Message Yogesh 2008-03-11 20:59:41 BUG #4026: Displaying Wrong dates
Previous Message James 2008-03-11 17:05:29 BUG #4025: wsock32.dll not found