raster_sfio()
.R/converters.R
rasterio_idx.Rd
The sf RasterIO is the RasterIO window in a list format used by the sf package, it contains the same
information, and is created by raster_sfio()
.
rasterio_idx(dimension, extent)
raster_sfio(dimension, fact = 1, resample = "Nearest")
ncols, nrows
this is ignored
a resizing factor
resample algorithm for GDAL RasterIO
RasterIO window vector 'c(x0, y0, nx0, ny0, nx, y)' see Details
rasterio_idx(dim(volcano))
#> offset_x offset_y source_nx source_ny out_nx out_ny
#> 0 0 87 61 87 61
#> attr(,"resample")
#> [1] "NearestNeighbour"