wbt_vector_lines_to_raster: Vector lines to raster

Description Usage Arguments Value

View source: R/data_tools.R

Description

Converts a vector containing polylines into a raster.

Usage

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

Arguments

input

Input vector lines file.

output

Output raster file.

field

Input field name in attribute table.

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.