[postgis-devel] [PostGIS] #271: ST_Covers returns wrong result for vertex sharing case

PostGIS trac at osgeo.org
Fri Nov 6 15:32:40 PST 2009


#271: ST_Covers returns wrong result for vertex sharing case
----------------------+-----------------------------------------------------
  Reporter:  pramsey  |       Owner:  pramsey      
      Type:  defect   |      Status:  new          
  Priority:  medium   |   Milestone:  postgis 1.5.0
 Component:  postgis  |     Version:  trunk        
Resolution:           |    Keywords:  geography    
----------------------+-----------------------------------------------------
Old description:

> {{{
> select ST_Covers(
> 'POLYGON((-9.123456789 50,51 -11.123456789,-10.123456789 50,-9.123456789
> 50))::geography,
> 'POINT(-10.123456789 50)'::geography
> );
> }}}
> Should return true but returns false.

New description:

 {{{
 select ST_Covers(
 'POLYGON((-9.123456789 50,51 -11.123456789,-10.123456789 50,-9.123456789
 50))'::geography,
 'POINT(-10.123456789 50)'::geography
 );
 }}}
 Should return true but returns false.

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/271#comment:1>
PostGIS <http://trac.osgeo.org/postgis/>
PostGIS


More information about the postgis-devel mailing list