Opened 6 years ago

Closed 6 years ago

#2110 closed defect (fixed)


Reported by: strk Owned by: strk
Priority: medium Milestone: PostGIS 2.0.4
Component: postgis Version: 2.0.x
Keywords: history 2.0.4 Cc:


This doesn't help analisys:

strk=# select 'POINT EMPTY'::geometry = 'POINT(1 1)'::geometry;
(1 row)

strk=# select 'POINT EMPTY'::geometry = 'POINT(0 0)'::geometry;
(1 row)

I suspect it has to do with bounding box of EMPTY being arbitrarily taken as 0,0,0,0

Change History (4)

comment:1 Changed 6 years ago by robe

Milestone: PostGIS 2.0.2PostGIS 2.0.3

Let's not try to solve this in 2.0.2 unless you think it's a simple solution.

comment:2 Changed 6 years ago by strk

I'm not sure it's simple. It is the btree (bounding box based) comparison. I belive we did something low-level to fix the EMPTY=EMPTY case so maybe this one just isn't hitting the fixed path.

comment:3 Changed 6 years ago by strk

Milestone: PostGIS 2.0.3PostGIS 2.0.4
Owner: changed from pramsey to strk
Status: newassigned

comment:4 Changed 6 years ago by strk

Keywords: history 2.0.4 added
Resolution: fixed
Status: assignedclosed

r11142 for trunk r11141 for 2.0

Note: See TracTickets for help on using tickets.