[postgis-devel] [PostGIS] #1979: TopoGeo_AddLinestring: return duplicated edge id, misses a created edge id

PostGIS trac at osgeo.org
Thu Sep 6 02:39:44 PDT 2012


#1979: TopoGeo_AddLinestring: return duplicated edge id, misses a created edge id
----------------------+-----------------------------------------------------
 Reporter:  amartin   |       Owner:  strk         
     Type:  defect    |      Status:  new          
 Priority:  medium    |   Milestone:  PostGIS 2.0.2
Component:  topology  |     Version:  2.0.x        
 Keywords:            |  
----------------------+-----------------------------------------------------

Comment(by amartin):

 The behavior can be reproduced with only two components

 {{{
 SELECT TopoGeo_AddLineString('my_topo',indiv_geom, 0.8)
 FROM (SELECT (ST_Dump(p_geom)).geom as indiv_geom
  FROM (SELECT ST_GeomFromText('MULTILINESTRING ((535695.149659
 4352913.865809, 535688.723014 4352898.92539, 535723.74701 4352895.150892,
 535753.102703 4352892.178469, 535795.04699 4352887.189505, 535796.627126
 4352887.671191, 535833.621825 4352884.315548, 535876.015985
 4352880.471036),  (535688.497742 4352897.353794, 535688.721074
 4352898.927358, 535695.149659 4352913.865809))',25830) AS p_geom) AS
 geom_squery) AS lines;
 }}}

 Still getting duplicate edge_ids and a newly created edge_id is unreported

 Query result:
 {{{
 "topogeo_addlinestring"
 "50"
 "52"
 "50"
 }}}

 my_topo.edge_data table:
 {{{
 edge_id
 50
 51
 52
 }}}

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