Skip to content

Commit 9afb25c

Browse files
authored
Merge pull request #2147 from AMBarbosa/patch-58
extract.Rd: mention SpatVector in title and description
2 parents 4dcea7d + d25f485 commit 9afb25c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

man/extract.Rd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@
1616
\alias{extract,SpatRasterDataset,ANY-method}
1717

1818

19-
\title{Extract values from a SpatRaster}
19+
\title{Extract values from a SpatRaster or polygon SpatVector}
2020

2121
\description{
22-
Extract values from a SpatRaster for a set of locations. The locations can be a SpatVector (points, lines, polygons), a data.frame or matrix with (x, y) or (longitude, latitude -- in that order!) coordinates, or a vector with cell numbers.
22+
Extract values from a SpatRaster or a polygon SpatVector for a set of locations. The locations can be a SpatVector (points, lines, polygons), a data.frame or matrix with (x, y) or (longitude, latitude -- in that order!) coordinates, or a vector with cell numbers.
2323

2424
When argument \code{y} is a \code{SpatVector} the first column has the ID (record number) of the \code{SpatVector} used (unless you set \code{ID=FALSE}).
2525

0 commit comments

Comments
 (0)