[postgis-devel] [PostGIS] #845: ST_Intersects() precision error - returns false instead of true

PostGIS trac at osgeo.org
Thu Feb 24 05:30:24 PST 2011


#845: ST_Intersects() precision error - returns false instead of true
------------------------+---------------------------------------------------
 Reporter:  cdestigter  |       Owner:  pramsey      
     Type:  defect      |      Status:  new          
 Priority:  medium      |   Milestone:  PostGIS 2.0.0
Component:  postgis     |     Version:  1.5.X        
 Keywords:              |  
------------------------+---------------------------------------------------

Comment(by strk):

 Yes, within and contains (and intersects) all have a short-circuit using
 the postgis algorithm when one operand is a polygon (or multipolygon) and
 the other is a point.

 Given the fact the same operations would use PreparedGeometries I'm
 wondering
 if that shortcut has any real advantage... After all the same operation
 against
 prepared geometries should be faster (as the prepared polygon would be
 indexed).

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/845#comment:19>
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