Re: [gdal-dev] Zonal Grid Statistics

2018-12-18 Thread Rutger
Hey, It may depend on the input format, but for speed you probably want to read at least a single block at a time, not a single pixel. The blocksize can be inspected with "gdalinfo" for example. Calculating those statistics can be done incrementally in a single pass, so that's certainly possible

[gdal-dev] Zonal Grid Statistics

2018-12-17 Thread Nicolas Cadieux
Hi, I am currently using the SAGA Zonal Grid Statistics found here: http://www.saga-gis.org/saga_tool_doc/7.0.0/statistics_grid_5.html (both Zonal and Continuous Data are Rasters with the same extent and pixel posting). It works well but SAGA load both grids into memory.  Since my grids are t