[postgis-devel] [PostGIS] #1714: totopogeom - can't add multipolygo

PostGIS trac at osgeo.org
Wed Apr 11 04:25:15 PDT 2012

#1714: totopogeom - can't add multipolygo
 Reporter:  robe      |       Owner:  strk         
     Type:  defect    |      Status:  new          
 Priority:  medium    |   Milestone:  PostGIS 2.0.1
Component:  topology  |     Version:  trunk        
 Keywords:            |  

Comment(by strk):

 Alright so going on what happens is that the result of snapping is noded
 again with the existing edge so that the line being inserted becomes 2
 lines (one matching the top-segment of the existing edge and another one
 describing the other two sides of the triangle) and then a new snap
 happens, to the now intersecting _nodes_.

 We have a single node here so far, which is the top-right vertex of the
 existing edge (where the arrow ends).

 As expected, given the distances between the horizontal vertices, snapping
 of both segments to the existing node results in two collapses: the
 horizontal line becomes a point (the node) and the triangle portion
 becomes a single line going back and forward.

 The current code fails to re-node the result of snapping. It should.

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