convert to gridded aggregate output

Supplies reprojection functions and `gridify` query to support downsampling and aggregating pixels to a larger grid.