Opened 2 years ago

Closed 2 years ago

#5110 closed defect (invalid)

TopoGeo_addLineString with existing edge splits the edge in 3 parts

Reported by: strk Owned by: strk
Priority: medium Milestone: PostGIS 3.3.0
Component: topology Version: 3.2.x
Keywords: Cc:

Description

Playing with a topology I was surprised to see TopoGeo_addLineString() adding an *existing* edge to the topology end up splitting the incoming edge into 3 parts and returning those 3 edges as a result.

The existing edge has only 2 vertices, and the closest edge from it (beside the ones connected to its endpoints) is at 0.0004 map units (degrees).

The TopoGeo_addLineString() function is being called with no tolerance value and the topology tolerance is 1e-10 so snapping should theoretically NOT occur.

Attachments (1)

detail.png (17.6 KB ) - added by strk 2 years ago.

Download all attachments as: .zip

Change History (2)

by strk, 2 years ago

Attachment: detail.png added

comment:1 by strk, 2 years ago

Resolution: invalid
Status: newclosed

Sorry, this was an invalid report, I was NOT adding the *same* edge, but I was adding a translated version of it, moved elsewhere.

Note: See TracTickets for help on using tickets.