Basedata: use GetFeatureCount in shapefile imports
shawnlaffan opened this issue · 0 comments
shawnlaffan commented
The progress dialogue in the shapefile imports calculates the number of features by iterating over the entire data set. This slows down the import of large data sets since we double iterate.
This approach is a leftover from when GDAL did not support this method for shapefiles, instead returning -1.
Support in GDAL was added some time ago so we should start using it.