Bug report #12032

Features disappear when zooming

Added by Christine Spits about 9 years ago. Updated about 9 years ago.

Affected QGIS version:2.6.0 Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:20235


I'm running QGIS 2.6.0 on a Windows 7 Professional PC.

My issue is that I'm finding that some features within a layer (shapefile) are disappearing when zooming to certain extents (extent varies). I also cannot select the feature when this happens. The issue seems to occur randomly when editing the layer. Essentially it appears as if the feature has been deleted however is visible at certain extents.

I have tried:
- removing the layer from the project and adding it back in. Issue still occurs.
- opening a new project and adding the layer. Issue still occurs.
- saving the layer as a new file and adding to the project. Issue still occurs.
- saving the layer as a new file, closing the project, starting a new project and adding the newly saved layer. Issue still occurs.

I am running the following plugins:
- Topology Checker
- autoSaver

The issue has occurred regardless of whether these plugins were/were not in use. I have also checked the properties of the layers affected and 'scale dependent visibility' has always been left un-ticked.

Any help would be much appreciated!




#1 Updated by Harrissou Santanna about 9 years ago

I think this is rather an issue with your data. It might contain features with not valid geometries. Check it and fix this errors and all should be fine, I think.
A related thread here : http://lists.osgeo.org/pipermail/qgis-developer/2015-January/036458.html

#2 Updated by Giovanni Manghi about 9 years ago

  • Status changed from Open to Feedback

Please attach a sample of the problematic data.

#3 Updated by Christine Spits about 9 years ago

  • % Done changed from 0 to 100
  • Status changed from Feedback to Closed

Hi all,

Thanks for your input.

Harrissou, I did a check against invalid geometries with the 'Check Geometry Validity' tool and it appears that the feature in question did have some geometric errors.

The tool provided a feature ID number which I was then able to locate in the attribute table and delete the feature altogether, which is great because using the select tool did not locate the feature in the attribute table earlier and I was unable to select the nodes. I could have just corrected the geometric errors however deleting it altogether was easier in my case rather than try to fix all of the errors associated with the feature.

Many thanks once again!


Also available in: Atom PDF