gdalDistance: Calculate distance raster using gdal

View source: R/gdal_raster_functions.R

gdalDistanceR Documentation

Calculate distance raster using gdal

Description

Calculate distance raster using gdal

Usage

gdalDistance(
  inpath,
  outpath,
  target = 0,
  maxdist = NULL,
  bigtif = FALSE,
  return.raster = TRUE
)

Arguments

inpath

file path of inpath file to change.

outpath

file path of output file to generate.

target

numeric values to calculate distance from default is zero.

maxdist

The maximum distance to be generated. maxdist is in pixels.

bigtif

If the raster is large you might need to use this call.

return.raster

if TRUE raster will be returned from function call.


skiptoniam/sense documentation built on March 18, 2023, 4:36 a.m.