[postgis-devel] [PostGIS] #253: Gist causes wrong result from ~=
PostGIS
trac at osgeo.org
Fri Oct 2 04:56:30 PDT 2009
#253: Gist causes wrong result from ~=
----------------------+-----------------------------------------------------
Reporter: nicklas | Owner: pramsey
Type: defect | Status: new
Priority: medium | Milestone: postgis 1.5.0
Component: postgis | Version: 1.4.X
Resolution: | Keywords:
----------------------+-----------------------------------------------------
Comment (by robe):
Mark,
I disagree with you on this. It has always been that ~= is an exact
geometry operator. I have always used it as such. the = operator is the
equality operator. Our documentation has always said that ~= is true
geometry equality operator -- its the only one of the operators that does
not work on just bounding box there it is probably the only one that
requires a recheck.
I refer you to the docs -- see how in the index -- the ~= explicitly says
geometry while the others say bounding box.
http://www.postgis.org/documentation/manual-svn/ch07.html#Operators
http://www.postgis.org/documentation/manual-svn/ST_Geometry_Same.html
It is the ONLY operator that works against the geometry -- which makes it
a bit different from the others.
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/253#comment:10>
PostGIS <http://trac.osgeo.org/postgis/>
PostGIS
More information about the postgis-devel
mailing list