isciences / exactextract

Fast and accurate raster zonal statistics
Apache License 2.0
255 stars 33 forks source link

RasterSequentialProcessor: subdivide based on block size #135

Open dbaston opened 1 month ago

dbaston commented 1 month ago

RasterSequentialProcessor always subdivides the processing region using scanlines. For tiled rasters, it should be more efficient to subdivide using the block size of the raster.

dbaston commented 5 days ago

Related to this, the RasterSequentialProcessor should disregard max_cells_in_memory if it is smaller than the block size. This would avoid unnecessary repeated reads of the same blocks.