[postgis-devel] [PostGIS] #2110: POINT(0 0) = POINT EMPTY != POINT(1 1)
PostGIS
trac at osgeo.org
Tue Nov 27 04:33:23 PST 2012
#2110: POINT(0 0) = POINT EMPTY != POINT(1 1)
---------------------+------------------------------------------------------
Reporter: strk | Owner: pramsey
Type: defect | Status: new
Priority: medium | Milestone: PostGIS 2.0.2
Component: postgis | Version: 2.0.x
Keywords: |
---------------------+------------------------------------------------------
This doesn't help analisys:
{{{
strk=# select 'POINT EMPTY'::geometry = 'POINT(1 1)'::geometry;
?column?
----------
f
(1 row)
strk=# select 'POINT EMPTY'::geometry = 'POINT(0 0)'::geometry;
?column?
----------
t
(1 row)
}}}
I suspect it has to do with bounding box of EMPTY being arbitrarily taken
as 0,0,0,0
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2110>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.
More information about the postgis-devel
mailing list