Bug report #12499
Edition of a layer from a generic-type table also edit other type's control points
Status: | Closed | ||
---|---|---|---|
Priority: | Normal | ||
Assignee: | - | ||
Category: | Vectors | ||
Affected QGIS version: | 2.8.1 | Regression?: | No |
Operating System: | Easy fix?: | No | |
Pull Request or Patch supplied: | No | Resolution: | |
Crashes QGIS or corrupts data: | No | Copied to github as #: | 20645 |
Description
Hi,
When you have a multi-type table (for instance of type geometry(Geometry,4326)
in postgis), you can still add it to QGIS by manually selecting what geometry type to load.
This works quite well for normal display, but when you enter in edit mode, it's possible to move the nodes of other geometry types as well.
Example : I added my_table twice to my QGIS project, once as polygons, once as points. Each of those tables display exclusively their geometry types. But when I enter into edit mode on the polygons layer, I'm able to move points using the node tool.
This can be very annoying when feature of different types have control points at the same position, and can link to unexpected behaviour (editing an other feature than the one you were expecting to edit).
There are some other problems related to this :
- the attribute table shows all the records, and not only those of the layer type
- there's no way to share common layer settings, such as editing widgets, joins, etc., among the point/line/polygon layers showing a same postgis table (see issue #12303)
This more generally raises the question of multi-typed geometry tables management in QGIS... I'll post on the ML about that.
Related issues
Associated revisions
History
#1 Updated by Jürgen Fischer over 9 years ago
- Status changed from Open to Closed
Fixed in changeset 97572244dc699c6d5480f736e38d9246496cef20.