gdalExtract: Extract raster values from points.

View source: R/gdal_raster_functions.R

gdalExtractR Documentation

Extract raster values from points.

Description

Extract raster values from points.

Usage

gdalExtract(inrasters, pts, simplify = TRUE, sp = FALSE)

Arguments

inrasters

file path(s) of rasters to extract values

pts

Coordinates of points to extract raster values.

simplify

Logical. If TRUE, then if all files referred to in srcfile are single band rasters, the sampled values will be simplified to a matrix.

sp

Logical. If TRUE, a SpatialPointsDataFrame will be returned, otherwise a data.frame will be returned.


skiptoniam/sense documentation built on March 18, 2023, 4:36 a.m.