[postgis-tickets] [PostGIS] #2175: Adding the same closed line to topology twice creates two nodes: ST_Scroll (or ST_Rebase) function

PostGIS trac at osgeo.org
Wed Jul 14 06:11:55 PDT 2021


#2175: Adding the same closed line to topology twice creates two nodes: ST_Scroll
(or ST_Rebase) function
-----------------------+---------------------------
  Reporter:  strk      |      Owner:  strk
      Type:  defect    |     Status:  closed
  Priority:  medium    |  Milestone:  PostGIS 3.2.0
 Component:  topology  |    Version:  main
Resolution:  fixed     |   Keywords:
-----------------------+---------------------------

Comment (by Sandro Santilli <strk@…>):

 In [changeset:"04aa7f611dbedd47b9b56993696032fbd3ef4331/git" 04aa7f6/git]:
 {{{
 #!CommitTicketReference repository="git"
 revision="04aa7f611dbedd47b9b56993696032fbd3ef4331"
 Fix scrolling of closed lines on topology population

 Includes test for adding same closed line with first point slighly
 off but within tolerance.

 Use of tolerance moves the first point, which is later NOT
 found by the scroll call, unless we recomputed as in this
 commit, which recomputes start point after snap.

 References #2175
 }}}

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