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

PostGIS trac at osgeo.org
Mon Mar 5 12:04:35 PST 2012


#1650: Invalid edge (no two distinct vertices exist)
----------------------+-----------------------------------------------------
 Reporter:  lrssvt    |       Owner:  strk         
     Type:  defect    |      Status:  new          
 Priority:  medium    |   Milestone:  PostGIS 2.0.0
Component:  topology  |     Version:  2.0.x        
 Keywords:            |  
----------------------+-----------------------------------------------------
 Running script toleranceDemoTopo.sql i get:


 {{{
 ERROR: Invalid edge (no two distinct vertices exist)
 SQL state: P0001
 Context: PL/pgSQL function "topogeo_addlinestring" line 147 at assignment
 SQL statement "INSERT INTO test_topo.relation(topogeo_id, layer_id,
 element_type, element_id) SELECT 1, 1, 2,
 topogeo_addLineString('test_topo',
 '01020000201555000003000000329ABD50D7F92041C6FE24DDB5AF014159102D22D7F92041DDB54250BBAF0141FC05F508D7F9204144A619EEC2AF0141'::geometry,
 2);"
 PL/pgSQL function "totopogeom" line 120 at EXECUTE statement

 }}}

 i'm passing the value 2 as tolerance in CreateTopology function.

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