[postgis-tickets] [PostGIS] #2605: armel: _ST_Covers() returns true for point in hole

PostGIS trac at osgeo.org
Tue Jan 7 14:29:37 PST 2014


#2605: armel: _ST_Covers() returns true for point in hole
---------------------+------------------------------------------------------
 Reporter:  mwanner  |       Owner:  pramsey      
     Type:  defect   |      Status:  new          
 Priority:  medium   |   Milestone:  PostGIS 2.1.2
Component:  postgis  |     Version:  2.1.x        
 Keywords:           |  
---------------------+------------------------------------------------------

Comment(by mwanner):

 The corresponding _ST_CoveredBy() call fails in the same way, which is the
 reason for test 'tickets' failing on #2084. The following is a simplified
 version that mistakenly returns true:

 {{{
 test=# SELECT _ST_CoveredBy('POINT(13 25)'::geometry, 'POLYGON((9 28, 16
 29, 16 23, 10 23, 9 28),(15 25, 13 27, 11 24, 15 25))'::geometry);
  _st_coveredby
 ---------------
  t
 (1 row)
 }}}

 However, I guess this runs through the same code path.

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2605#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-tickets mailing list