Opened 10 years ago

Closed 9 years ago

#982 closed defect (fixed)

ST_ChangeEdgeGeom doesn't let you change geometry of a closed edge

Reported by: strk Owned by: strk
Priority: high Milestone: PostGIS 2.0.0
Component: topology Version: master
Keywords: Cc:

Description

Closed edges can't be changed by current ST_ChangeEdgeGeom as it'll find them always cross a node (the self-node). This is due to the DE-IM9 considering closed edges as having no boundary.

Attachments (2)

before.png (9.8 KB) - added by strk 9 years ago.
after.png (9.7 KB) - added by strk 9 years ago.

Download all attachments as: .zip

Change History (8)

comment:1 Changed 10 years ago by strk

This is harder than it looks as if direction of a closed edge is reversed then all linking informations should be updated: left_face/right_face of the edge itself and next_left_edge, next_right_edge of self _and_ adiacent edges !

comment:2 Changed 9 years ago by strk

Priority: mediumhigh

comment:3 Changed 9 years ago by strk

It is even worst than I thought in that updating face linking and edge linking may also be needed for non-closed edges, when the new edge ends up in a different face. Funny enough, the SQL/MM specification do not consider that case at all !

Changed 9 years ago by strk

Attachment: before.png added

Changed 9 years ago by strk

Attachment: after.png added

comment:4 Changed 9 years ago by strk

Here's an example of changing edge 32 w/out updating left/right face

comment:5 Changed 9 years ago by strk

r9063 adds the possibility to change a closed edge.

Checking for correct linking (ring and faces) isn't implemented yet.

comment:6 Changed 9 years ago by strk

Resolution: fixed
Status: newclosed

I've filed #1571 for the topology breaking issue. This specific issue (changing geom of closed edge) is fixed.

Note: See TracTickets for help on using tickets.