-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unexpected behaviour in QGIS Node Tool when adding vertex #20195
Comments
Author Name: Juraj Komačka (Juraj Komačka) Hi, I have just followed your instructions with 2.6.1 (although edit mode described in step 3 must be activated before drawing polygon in step 2) and ended with attached shapefile.
|
Author Name: Giovanni Manghi (@gioman) likely related to #18967 still true and the latest master and still a huge issue as it also affects Arc*, see for example this report https://twitter.com/RyanMHorne/status/556472289915850753
|
Author Name: Francisco Javier Garcia (Francisco Javier Garcia) Hi The shapefile attached opened in my openjump only reports one feature, it seems correct, but the openjump "look" of giovanni if the same that my openjump reports with other test I've made. It seems that qgis duplicate the feature in some way when you move vertex. In my tests If I save the opened shapefile in qgis in another file (export) it seems that the shapefile is "reindex" and you can open in another programs without any problems, but I think this is not the correct way of working. ArcGIS have an external application to check if a shapefile is ok (shapechk.exe) (http://arcscripts.esri.com/details.asp?dbid=10806) and it reports that the shapefile saved in qgis have a problem in the index. I don't know if I can provide more information about the problem. |
Author Name: Giovanni Manghi (@gioman) Francisco Javier Garcia wrote:
if the steps you described are not repeated exactly (add a vertex, move it) then the issue may not surface. Anyway is easy to replicate this issue with edited features, and overall is a pretty bad issue. |
Author Name: Jürgen Fischer (@jef-n)
|
Author Name: Martin Dobias (@wonder-sk) This must be the same problem with not doing REPACK after editing (#19349 and #18967), resulting in a shapfile in semi-corrupt state - only when the layer is unloaded from QGIS or QGIS is closed, the REPACK happens. |
Author Name: Jürgen Fischer (@jef-n) Martin Dobias wrote:
hm, do we value the attribute editing and selection in shape layers more than their integrity? REPACK used to be run after every commit, fixing this and other things. But it changes the feature ids and therefore corrupts the current feature selection and interferes with open attribute tables. |
Author Name: Martin Dobias (@wonder-sk) I was thinking along the same lines - to me preserving data integrity seems more important than having possibly temporary issues with selection and attribute table... (in theory we could try to keep a backup before repack, compare it after repack and issue a warning if an unwanted shift in IDs is detected). |
Author Name: Jürgen Fischer (@jef-n)
|
Author Name: Matthias Kuhn (@m-kuhn) Fixed in changeset "7d7cdcd376c0d3fa60af1403a91e1e611b210174".
|
Author Name: Francisco Javier Garcia (Francisco Javier Garcia)
Original Redmine Issue: 11989
Affected QGIS version: master
Redmine category:data_provider/ogr
Hi
We have detect a strange behaviour with the Node Tool when we need to add a vertex to a polygon in a shapefile
The steps we have followed were those
Create a shapefile in QGIS.
Draw a simple polygon in the shapefile.
Activate the edit mode and click in the Node Tool
Double click in a line of the polygon to add a new vertex. The vertex seems to be correctly added
Move The new vertex
Save The changes in the Layer and finish editing mode
QGIS reports one feature
Open The Shape File in another program for example openjump. Openjump reports two features. We have tested in another programs and all of them reports two features.
Best regars
Related issue(s): #17515 (relates)
Redmine related issue(s): 8822
The text was updated successfully, but these errors were encountered: