wbt_vector_points_to_raster: Vector points to raster

Description Usage Arguments Value

View source: R/data_tools.R

Description

Converts a vector containing points into a raster.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
wbt_vector_points_to_raster(
  input,
  output,
  field = "FID",
  assign = "last",
  nodata = TRUE,
  cell_size = NULL,
  base = NULL,
  wd = NULL,
  verbose_mode = FALSE
)

Arguments

input

Input vector Points file.

output

Output raster file.

field

Input field name in attribute table.

assign

Assignment operation, where multiple points are in the same grid cell; options include 'first', 'last' (default), 'min', 'max', 'sum'.

nodata

Background value to set to NoData. Without this flag, it will be set to 0.0.

cell_size

Optionally specified cell size of output raster. Not used when base raster is specified.

base

Optionally specified input base raster file. Not used when a cell size is specified.

wd

Changes the working directory.

verbose_mode

Sets verbose mode. If verbose mode is False, tools will not print output messages.

Value

Returns the tool text outputs.


whitebox documentation built on Sept. 7, 2020, 3 p.m.