Bug report #9099
QGIS reads all features twice - opening CSV attribute table
Status: | Closed | ||
---|---|---|---|
Priority: | Normal | ||
Assignee: | - | ||
Category: | - | ||
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 |
Description
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?
Associated revisions
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
Fix #9099
History
#1 Updated by Giovanni Manghi about 11 years ago
confirmed here, does not happen if the csv is imported as point layer.
#2 Updated by Matthias Kuhn about 11 years ago
- Status changed from Open to Closed
Fixed in changeset 584aba7672e1c000a031de750713cd9a8e58ca8d.