Opened 13 years ago

Closed 12 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 12 years ago.
after.png (9.7 KB ) - added by strk 12 years ago.

Download all attachments as: .zip

Change History (8)

comment:1 by strk, 13 years ago

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 by strk, 12 years ago

Priority: mediumhigh

comment:3 by strk, 12 years ago

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 !

by strk, 12 years ago

Attachment: before.png added

by strk, 12 years ago

Attachment: after.png added

comment:4 by strk, 12 years ago

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

comment:5 by strk, 12 years ago

r9063 adds the possibility to change a closed edge.

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

comment:6 by strk, 12 years ago

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.