tilework - Extensible Tile Planning and Windowed Parallel Processing
An extensible framework for tile-based processing of
large, spatially indexed data. Tile plans are first-class
objects describing a set of bounds, which may be regular grids
in pixel or coordinate space, tiles centered on supplied
points, or adaptive decompositions such as quadtrees. Bounds
may carry padding, supplying the overlapping context that
neighborhood operations and objects spanning several tiles
require. Extraction dispatches on the class of the input, so
one plan can window two data sources of differing type
together; methods are provided for 'terra' rasters and vector
proxies, and other packages can register methods for their own
formats. Tiles are processed in parallel through 'future', or
optionally 'BiocParallel', and a per-worker initialization step
amortizes expensive setup such as loading a model.