Bug report #9408
Layer disappears when zoomed in past 'layer extent'
|Affected QGIS version:||2.0.1||Regression?:||No|
|Operating System:||Windows||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:||invalid|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||18004|
I have a problem with a vector shapefile sent to me from the British Oceanography Data Centre (so I assume it shouldn't have too many faults? Not necessarily true). It looks fine when zoomed to layer full extent, but disappears completely when I zoom in. Issued added to existing problem raised here
The file is 2.5mb; I've had to sign various waivers to get it for data security etc (it's just bathymetry data but still); given that this is probably required for debugging I can email to whoever's assigned to this, rather than just posting it as an attachment here.
#2 Updated by Simon Dedman over 6 years ago
- Status changed from Feedback to Closed
Source of problem: my meddling with the shapefile had caused a ".qix" file to be created. Overwriting the spoiled files with clean ones from CDROM did nothing as they don't have the qix file. More in-depth info below from Giovanni; this posted here for searchability in case some other unlucky sucker runs into the same problem!
"the qix file is the spatila index. It safe to remove it (and eventually create a new one) and in fact it is the source of the issue. Once removed your edited shape is ok.
Apparently the index was corrupted or maybe it is qgis that corrupts it."