[postgis-tickets] [PostGIS] #2175: Adding the same closed line to topology twice creates two nodes

PostGIS trac at osgeo.org
Tue Jan 15 07:37:46 PST 2013


#2175: Adding the same closed line to topology twice creates two nodes
----------------------+-----------------------------------------------------
 Reporter:  strk      |       Owner:  strk         
     Type:  defect    |      Status:  new          
 Priority:  medium    |   Milestone:  PostGIS 2.0.3
Component:  topology  |     Version:  2.0.x        
 Keywords:            |  
----------------------+-----------------------------------------------------
 As found in ticket #2172 adding a closed line to a topology using
 TopoGeo_AddLineString two times creates a second node being the leftmost
 (and lowermost) vertex in the closed line.

 This is due to the way noding with existing edges is performed.

 It is not necessarely a bug but can be annoying as it produces a more
 complex topology that needed.

 In order to fix this there should be a primitive function for rotating a
 closed linestring so to start/end on a given point
 number. I don't think we have one, do we ?

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2175>
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-tickets mailing list