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

PostGIS trac at osgeo.org
Thu Feb 24 01:10:34 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):

 Not a precision issue, or ST_Relate and ST_Disjoint would also be wrong.
 Sounds more like a conceptual bug like a shortcut or something.
 Quick, easy test:
 {{{
 select (a && b) as "&&", st_relate(a, b), st_intersects(a, b),
 _st_intersects(a,b), st_disjoint(a,b) from
 (select
 'POINT(169.69960846592 -46.5061209281002)'::geometry
 as a,
 'POLYGON((169.699607857174 -46.5061218662,169.699607857174
 -46.5061195965597,169.699608806526 -46.5061195965597,169.699608806526
 -46.5061218662,169.699607857174 -46.5061218662))'::geometry
 as b) as foo;
 }}}

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