Extract band values at (x, y) points from a .vec raster
vec_extract_points(r, x, y)A data.frame with columns x, y, then one column per band
(named after r$band_names if recorded, otherwise band1, band2,
...). NA marks pixels outside the raster or matching nodata.
A vectra_raster from vec_open_raster().
Numeric vector of x coordinates in CRS units.
Numeric vector of y coordinates, same length as x.