Opened 14 years ago

Closed 14 years ago

#2220 closed bug (fixed)

Reshape Features works incorrectly with rings(?): shapes differs from postgis/spatialite

Reported by: dr Owned by: nobody
Priority: major: does not work as expected Milestone: Version 1.4.0
Component: Digitising Version: Trunk
Keywords: reshape features, ring Cc: dr, gislab
Must Fix for Release: No Platform: All
Platform Version: Awaiting user input: no

Description

  1. Create new polygonal layer.
  2. Create new polygon
  3. Add ring (see attachment)
  4. Using "Reshape Features" tools cut the ring (see attachment)

At result we have non identifiable ring.

Attachments (3)

step3.jpg (15.1 KB ) - added by dr 14 years ago.
step4.jpg (15.8 KB ) - added by dr 14 years ago.
step5.jpg (13.4 KB ) - added by dr 14 years ago.

Download all attachments as: .zip

Change History (5)

by dr, 14 years ago

Attachment: step3.jpg added

by dr, 14 years ago

Attachment: step4.jpg added

by dr, 14 years ago

Attachment: step5.jpg added

comment:1 by lutra, 14 years ago

Platform: WindowsAll
Summary: Reshape Features works incorrectReshape Features works incorrectly with rings(?): shapes differs from postgis/spatialite

Actually I noticed that the vector layer behaves differently if it is postgis/spatialite or if is a shapefile.

After reshaping, the ring becomes a "part" (an island), then:

*) in postgis/spatialite the island is not selectable nor identifiable. If you use the "select features" tool on the main polygon then it then selects also the island. The identify tool doesn't work the same, as identifying the main polygon do not highlight the island.

*) with shapefiles the resulting island is both selectable and identifiable but only after saving the changes. Before saving changes the island in not identifiable nor selectable, as in the above case.

By the way, is correct the ring become an island after reshaping the polygon?

comment:2 by mhugent, 14 years ago

Resolution: fixed
Status: newclosed

Fixed in r12585

Note: See TracTickets for help on using tickets.