[postgis-devel] [PostGIS] #1789: ST_CreateTopoGeo, toTopoGeom: ERROR: Invalid edge (no two distinct vertices exist)

PostGIS trac at osgeo.org
Thu Apr 26 08:37:21 PDT 2012


#1789: ST_CreateTopoGeo, toTopoGeom: ERROR:  Invalid edge (no two distinct
vertices exist)
----------------------+-----------------------------------------------------
 Reporter:  strk      |       Owner:  strk         
     Type:  defect    |      Status:  new          
 Priority:  medium    |   Milestone:  PostGIS 2.0.1
Component:  topology  |     Version:  2.0.x        
 Keywords:            |  
----------------------+-----------------------------------------------------

Comment(by strk):

 Ok, problem is ST_Azimuth returns NULL for these input points:
 {{{
 010100000000000000004065C0041AD965BE5554C0
 010100000001000000004065C0041AD965BE5554C0
 }}}

 You can see the points are _not_ equal. ST_Distance returns
 2.8421709430404e-14.

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