View source: R/sqlite_to_raster.R
sqlite_to_raster | R Documentation |
<Delete and Replace>
sqlite_to_raster( db, tb_gm = "gm", colsxy = c("center_x", "center_y"), cols2Raster = colsSomeX(), res = c(NA, NA), format = ".img", dirOut = "E:\\projects\\2017_NAIP\\rasters\\", raster_prefix = "", crs = NA, nProc = 4, doDebug = F, doBuild = F, set9999 = c(0, NA, -9999), big_raster = F ) colsAll(thresh = "6_00") colsID() colsAllX(thresh = "6_00") colsSomeX(thresh = "6_00") colsFewX(thresh = "6_00")
db |
a database object, tested for sqlite database |
tb_gm |
which table has gridmetrics data |
colsxy |
names of xy columns |
cols2Raster |
which columns to grab |
format |
raster formate e.g. .tif , .img etc |
dirOut |
where to export rasters |
raster_prefix |
give a name to rasters for id purposes |
crs |
proj4 string or other crs notation used by raster package (see writeRaster) |
nProc |
number of cores to use in converting to raster |
doDebug |
run in debug mode and only read 50k rows? |
thresh |
character string like "2_50" that matches height representation in column names in tb_gm |
<Delete and Replace>
Revision History
1.0 | 3/16/2020 Function created |
<Delete and Replace>
Jacob Strunk <Jstrunk@fs.fed.us>
rasterFromXYZ
writeRaster
<Delete and Replace>
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.