Description Usage Arguments Value Examples
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
1 2 3 |
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 |
Raster* object
1 | wpRasterize( x=rasterObj, df=df, cores=2,minblk=4,NAflag=-99999,datatype='INT1U' )
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.