shawnlaffan / biodiverse

A tool for the spatial analysis of diversity
http://shawnlaffan.github.io/biodiverse/
GNU General Public License v3.0
74 stars 19 forks source link

Feature data imports: use GetFeatureCount for progress dialogue #886

Closed shawnlaffan closed 10 months ago

shawnlaffan commented 10 months ago

The previous approach was a leftover from when GDAL did not support this method for shapefiles, instead returning -1.

Support in GDAL was added some time ago.

The call can be updated when Geo::GDAL::FFI provides a wrapped method.

Fixes #885