wpRasterize: wpRasterize function will transfer values associated with...

Description Usage Arguments Value Examples

Description

wpRasterize function will transfer values associated with 'object' type spatial data (data.frame) to raster cells. Function is using paralle library to work with a big raster data. The raster file will be splited to blocks and processed per block

Usage

1
2
3
wpRasterize(x, df, cores = NULL, minblk = NULL, NAflag = NULL,
  datatype = NULL, filename = rasterTmpFile(), overwrite = TRUE,
  silent = TRUE)

Arguments

x

Raster* object

df

data.frame of points

cores

number of cores

minblk

Integer. Minimum number of blocks

NAflag

NO data value will be used for a new raster

datatype

Type of raster. Avalible are INT1S/INT2S/INT4S/FLT4S/LOG1S/INT1U/INT2U/INT4U/FLT8S

filename

File of a new raster file.

overwrite

Overwrite existing file

silent

If FALSE then the progress will be shown

Value

Raster* object

Examples

1
wpRasterize( x=rasterObj, df=df, cores=2,minblk=4,NAflag=-99999,datatype='INT1U' )

wpgp/wpUtilities documentation built on May 29, 2019, 11:58 a.m.