isciences / exactextract

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

Allow use of secondary raster for weighting #3

Closed dbaston closed 5 years ago

dbaston commented 5 years ago

Would allow computation of, for example, the population-weighted water deficit within a country. This should work even if the weighting raster does not have the same resolution and extent as the value raster, provided that (a) the resolutions are integer multiples of each other and (b) any difference between the grid origin points of the value and weighting rasters is an integer multiple of the smaller of the two cell sizes.

dbaston commented 5 years ago

Resolved by 47e64756f16d930a5f07e0b66f60a707b6a8c67d