[postgis-devel] [PostGIS] #1650: Invalid edge (no two distinct vertices exist)

PostGIS trac at osgeo.org
Tue Mar 6 07:28:10 PST 2012


#1650: Invalid edge (no two distinct vertices exist)
-----------------------+----------------------------------------------------
  Reporter:  lrssvt    |       Owner:  strk         
      Type:  defect    |      Status:  reopened     
  Priority:  medium    |   Milestone:  PostGIS 2.0.0
 Component:  topology  |     Version:  2.0.x        
Resolution:            |    Keywords:               
-----------------------+----------------------------------------------------
Changes (by strk):

  * status:  closed => reopened
  * resolution:  fixed =>


Comment:

 This is the query with unexpected result:
 {{{
 psql:toleranceDemoTopo.sql:18: DEBUG:  SELECT a.node_id FROM
 test_topo.node as a WHERE ST_DWithin(a.geom,'
 010100002015550000BAF06A7E96F92041CD9B5862AAAF0141'::geometry,2) ORDER BY
 ST_Distance('010100002015550000B
 AF06A7E96F92041CD9B5862AAAF0141'::geometry, a.geom) LIMIT 1;
 psql:toleranceDemoTopo.sql:18: DEBUG:  No existing node within tolerance
 distance
 }}}

 I'd expect the node that belongs to the first edge to be within distance 2
 instead !

-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/1650#comment:13>
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