[postgis-tickets] [PostGIS] #2606: armel: _st_intersects returns true for point outside of a polygon

PostGIS trac at osgeo.org
Fri Mar 21 22:49:52 PDT 2014


#2606: armel: _st_intersects returns true for point outside of a polygon
---------------------+------------------------------------------------------
 Reporter:  mwanner  |       Owner:  pramsey      
     Type:  defect   |      Status:  new          
 Priority:  medium   |   Milestone:  PostGIS 2.1.2
Component:  postgis  |     Version:  2.1.x        
 Keywords:           |  
---------------------+------------------------------------------------------

Comment(by robe):

 Marc,

 Can you spit out the:

 {{{
 SELECT postgis_full_version(),
  ST_Distance('POINT(0.5 9)'::geometry,'POLYGON((0 0, 10 10, 1 0, 0
 0))'::geometry);
 }}}

 I think our _ST_Intersects checks for polygon/point are all internal
 PostGIS (don't rely on GEOS, but I forget).

 FWIW: for distance on 2.1.2dev I get: 6.01040764008565

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