Description Usage Arguments Details Value Author(s) See Also Examples
Divides a GRASS raster into tiles and prepare for subsequent processing.
1 | createTiles(baserast, tilesize = 2000)
|
baserast |
The name of a GRASS raster to use as the basis for creating a set of tiles. |
tilesize |
The size in pixels of the tiles to create. The default is usually the best option. |
A common task is to import a raster into R, do some processing, and either write out a new raster, save some results in R, or both. This series of functions makes it possible to do so for a raster that is too large to fit in available memory in R.
tileindex |
A data structure containing information about the created tileset. Should not be modified directly. |
Sarah Goslee <sarah.goslee@ars.usda.gov>
processTiles
, mergeTiles
, removeTiles
, testFUN
, gparse
1 2 3 4 5 6 7 8 | ## Not run:
# how to run
tileindex <- createTiles("dem30", tilesize=tilesize)
tileindex <- processTiles(tileindex, baserast="dem30", FUN=testFUN)
mergeTiles(tileindex, blocksize=blocksize, outname=outname)
removeTiles(tileindex)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.