[postgis-tickets] [PostGIS] #3412: geometry intersects edge on TopoGeo_addLinestring with tolerance 0.001

PostGIS trac at osgeo.org
Tue Dec 29 03:04:07 PST 2015


#3412: geometry intersects edge on TopoGeo_addLinestring with tolerance 0.001
-----------------------+---------------------------
  Reporter:  strk      |      Owner:  strk
      Type:  defect    |     Status:  new
  Priority:  medium    |  Milestone:  PostGIS 2.2.1
 Component:  topology  |    Version:  2.0.x
Resolution:            |   Keywords:
-----------------------+---------------------------

Comment (by strk):

 Alright now I see the snap problem. Initially, only the last (uppermost)
 target vertex is below tolerance. The snapper snaps the single input
 segment to this point.

 The snapping moves the subject line closer to the other vertex, so it is
 _now_ below tolerance, but the snapper does not recurse to further snap
 the now-moved line.

 In the picture you see a portion of the target line (existing edge, in
 green), the line being added before snapping (rightmost, violet) and the
 line being added after snapping (the red one). The distance between the
 green vertex and the violet line is above tolerance while the distance
 between the green vertex and the red line is below tolerance.


 [[Image(snapfail.png)]]

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