Skip to content

ENH: Improve performance of zonal_stats_bulk #38

@theroggy

Description

@theroggy

Calculating the zonal stats now takes a long time. It would be great if that could be made faster.

Steps to take:

  • make list of existing relevant libraries: see below
  • benchmark them: benchmarks: based on the benchmarks, the pyqgis zonal_stats was the (only) one with with significantly better performance.
  • first rough implementation: Add bulk zonal stats option using pyqgis - first version #42
  • tests still need to be added
  • decouple implementation further for rasterstats one + make implementation more generic

Listing of relevant libraries

These libraries also take partial pixels in account, so they are not fit for purpose.

  • xagg: repo
  • exactextract (apache2): repo

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions