Reproject raster to a region that may partially intersect target raster extent.
Reproject raster to a region that may partially intersect target raster extent.
Back-projects only the cells overlapping the destination region before sampling their value from the source raster. This can be used to avoid assigning destination cell values where there is insufficient data for resample kernel.
source raster CRS
target raster CRS
extent and resolution of target raster
polygon boundry of source raster in target CRS
cell value resample method
error threshold when using approximate row transformations in reprojection.
Reproject raster to a region that may partially intersect target raster extent.
Reproject raster to a region that may partially intersect target raster extent.
Back-projects only the cells overlapping the destination region before sampling their value from the source raster. This can be used to avoid assigning destination cell values where there is insufficient data for resample kernel.
This is a mutable version of the region reproject. Target raster will be converted to mutable form and updated. In cases where target raster is subclass MutableArrayTile its values will be mutated. Its the responsability of the caller to use this function only when possible update in place is safe.\ Correct use of this function allows to avoid intermidate memory allocation when accumulating results of multiple reproject calls.
source raster to be sampled for reprojection.
source raster CRS
target raster CRS
target raster that will be updated with pixels from source raster
polygon boundry of source raster in target CRS
cell value resample method
error threshold when using approximate row transformations in reprojection.
(Since version 2.1) Use regionReprojectMerge instead