Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#5289 closed defect (fixed)

RemoveUnusedPrimitives: WARNING: Edges 14315 and 1937 joined by node 10801 could not be healed: Healing of edges 14315 and 1937 was reported to remove node 1661 while we expected 10801 instead

Reported by: strk Owned by: strk
Priority: medium Milestone: PostGIS 3.4.0
Component: topology Version: master
Keywords: Cc:

Description

The RemoveUnusedPrimitives function sometimes raises this confusing warning about expecting removal of a node and obtaining removal of another node. The warning is misleading because the expectance is wrong. When healing two edges which are connected on both sides on nodes having no other edge connected to them it is not predictable which node will be removed. The code should not assume it can predict that.

Change History (3)

comment:1 by strk, 2 years ago

Another reason why the message is misleading: the edges are actually healed...

comment:2 by Sandro Santilli <strk@…>, 2 years ago

Resolution: fixed
Status: newclosed

In 576233f/git:

Fix misleading message about doubly connected edges healing

Closes #5289
Includes regress test

comment:3 by Sandro Santilli <strk@…>, 2 years ago

In 2bf092c4/git:

Fix misleading message about doubly connected edges healing

Closes #5289
Includes regress test

Note: See TracTickets for help on using tickets.