Raster grid and windows

Affine coordinate transform, raster bounds, a window from geographic bounds, pixel ↔ world conversion and resampling with nearest neighbour or bilinear interpolation.