Bug report #9099
QGIS reads all features twice - opening CSV attribute table
|Affected QGIS version:||2.0.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 #:||17744|
Using the "stops.csv" file from this zip - http://www.dft.gov.uk/NaPTAN/snapshot/NaPTANcsv.zip
1) Drag file into QGIS.
2) Right click -> Open Attribute Table
What happens now is that a dialog appears telling me QGIS is reading all ~400,000 features
That completes, and then the same dialog apears agao and counts up to 400,000 again.
Shouldn't it only happen once?
Heavier use of feature caching for fully populated caches
When a feature cache is set to "FullCache" mode, it will answer
requests from this cache instead of querying the backend.
Some more documentation for writing custom feature iterators
based on QgsAbstractFeatureIterator