| vec_read_window | R Documentation |
Decodes only the tiles overlapping the requested window. Pixels outside
the raster extent come back as NA.
vec_read_window(r, band = 1L, level = 0L, cols = NULL, rows = NULL)
r |
A |
band |
Band index (1-based). Default 1. |
level |
Overview level — 0 = full resolution, 1 = half, 2 =
quarter, etc. Must be < |
cols |
1-based column range |
rows |
1-based row range |
A numeric matrix with nrow = row_max - row_min + 1 and
ncol = col_max - col_min + 1. Nodata pixels become NA.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.