View source: R/gdal_raster_functions.R
gdalDistance | R Documentation |
Calculate distance raster using gdal
gdalDistance( inpath, outpath, target = 0, maxdist = NULL, bigtif = FALSE, return.raster = TRUE )
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. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.