Decodes only the tiles overlapping the requested window. Pixels outside
the raster extent come back as NA.
Arguments
- r
A
vectra_rasterfromvec_open_raster().- band
Band index (1-based). Default 1.
- level
Overview level — 0 = full resolution, 1 = half, 2 = quarter, etc. Must be <
r$n_levels(which is 1 unlessvec_build_overviews()has been run on the file).- cols
1-based column range
c(col_min, col_max). Inclusive. Coordinates are in the chosen level's pixel grid (so at level 1 the raster is half as wide). Defaultc(1, level_width).- rows
1-based row range
c(row_min, row_max). Inclusive. Defaultc(1, level_height).