stilt.geometry.check_resolution#
- stilt.geometry.check_resolution(geometry, xres, yres, crs)[source]#
Warn when the raster is too coarse to resolve the smallest target cell.
The warning is about the error in rasterizing a polygon boundary, so it does not apply to a rectilinear target in the raster’s own CRS: there the overlap is computed exactly per axis at any resolution ratio, including the identity case of a footprint aggregated onto its own grid.