View source: R/RSAGA-modules.R
rsaga.add.grid.values.to.points | R Documentation |
Pick values from SAGA grids and attach them as a new variables to a point shapefile.
rsaga.add.grid.values.to.points( in.shapefile, in.grids, out.shapefile, method = c("nearest.neighbour", "bilinear", "idw", "bicubic.spline", "b.spline"), ... )
in.shapefile |
Input point shapefile (default extension: |
in.grids |
Input: character vector with names of (one or more) SAGA GIS grid files to be converted into a point shapefile. |
out.shapefile |
Output point shapefile (default extension: |
method |
interpolation method to be used; choices: nearest neighbour interpolation (default), bilinear interpolation, inverse distance weighting, bicubic spline interpolation, B-splines. |
... |
Optional arguments to be passed to |
Retrieves information from the selected grids at the positions of the points of the selected points layer and adds it to the resulting layer.
This function uses module Add Grid Values to Points
in SAGA GIS library shapes_grid
.
Alexander Brenning (R interface), Olaf Conrad (SAGA modules)
pick.from.points()
, pick.from.ascii.grid()
, pick.from.saga.grid()
, rsaga.grid.to.points()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.