Ticket #982 (closed defect: fixed)

Opened 2 years ago

Last modified 15 months ago

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: trunk
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

before.png Download (9.8 KB) - added by strk 16 months ago.
after.png Download (9.7 KB) - added by strk 16 months ago.

Change History

Changed 2 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 !

Changed 20 months ago by strk

  • priority changed from medium to high

Changed 16 months 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 16 months ago by strk

Changed 16 months ago by strk

Changed 16 months ago by strk

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

Changed 16 months ago by strk

r9063 adds the possibility to change a closed edge.

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

Changed 15 months ago by strk

  • status changed from new to closed
  • resolution set to fixed

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.