geo-registry

terra::extract

How terra runs Extract Values to Points: terra::extract.

About this implementation
Engine terra
Tool name terra::extract
Interface r
Implements Extract Values to Points
Documentation Not stated
Effects modifies input: no, network: no
Notes S4 generic: parameters gathered from all its methods; each method takes a subset.
Status active

Parameters

Name Type Required Default Choices Note
x any yes Not stated Not stated Not stated
y any yes Not stated Not stated Not stated
... dots no Not stated Not stated further arguments passed on
cells any no FALSE Not stated Not stated
method any no "simple" Not stated Not stated
xy any no FALSE Not stated Not stated
raw any no FALSE Not stated Not stated
fun any no NULL Not stated Not stated
ID any no TRUE Not stated Not stated
weights any no FALSE Not stated Not stated
exact any no FALSE Not stated Not stated
touches any no is.lines(y) Not stated Not stated
layer any no NULL Not stated Not stated
bind any no FALSE Not stated Not stated
small any no TRUE Not stated Not stated
search_radius any no 0 Not stated Not stated
wide any no FALSE Not stated Not stated
count any no FALSE Not stated Not stated

How it maps to the operation

Operation parameter Parameter here Note
points y Not stated
raster x Not stated
resampling method nearest = simple; bilinear = bilinear

Differences from the operation

  • Returns a data frame of ID and one column per layer, not the points; bind = TRUE returns the points with the values.

Harvested by the r-packages harvester from engine version 1.9.50. Names can change when an engine is harvested again.