[postgis-devel] [PostGIS] #1459: A segment endpoint is not ST_DWithin the segment (0 tolerance)

PostGIS trac at osgeo.org
Thu Jan 12 08:12:38 PST 2012


#1459: A segment endpoint is not ST_DWithin the segment (0 tolerance)
---------------------+------------------------------------------------------
 Reporter:  strk     |       Owner:  pramsey      
     Type:  defect   |      Status:  new          
 Priority:  high     |   Milestone:  PostGIS 2.0.0
Component:  postgis  |     Version:  trunk        
 Keywords:           |  
---------------------+------------------------------------------------------
 See this crazyness here:

 {{{
 strk=# select ST_DWithin(g, st_endpoint(g), 0),
               ST_DWithin(g, st_startpoint(g), 0)
 from ( select
 'LINESTRING(-0.2 0.4,-1e-08 0.4)'::geometry as g
 ) f;
  st_dwithin | st_dwithin
 ------------+------------
  f          | t
 (1 row)
 }}}

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