R/Lib_Validation_biodivMapR.R
extract_pixels_coordinates.Rd
Extracts pixels coordinates from raster intersecting a vector.
extract_pixels_coordinates(x, y)
terra::SpatRaster or character. Raster or raster path.
terra::SpatVector or character. Vector or vector path.
data.frame. Pixel indices row, col of intersecting parts.