Bug report #9099

QGIS reads all features twice - opening CSV attribute table

Added by Jonathan Moules about 11 years ago. Updated about 11 years ago.

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

Revision 584aba76
Added by Matthias Kuhn about 11 years ago

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

Also available in: Atom PDF