Basic function to create the window parameters as used by GDAL RasterIO, in format used by sf, in 'gdal_read(,RasterIO_parameters)'.
sfio_to_rasterio(x)
x | a RasterIO parameter list |
---|
a sf-RasterIO parameter list
#> offset_x offset_y source_nx source_ny out_nx out_ny #> 1 1 24 10 24 10 #> attr(,"resample") #> [1] "nearest_neighbour"