sqlite_to_raster: Convert columns of metrics to rasters

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/sqlite_to_raster.R

Description

<Delete and Replace>

Usage

1
2
3
4
sqlite_to_raster(db, tb_csv = "gm", colsxy = c("center_x", "center_y"),
  cols2Raster = c(colsSomeX), format = ".img",
  dirOut = "E:\\projects\\2017_NAIP\\rasters\\", crs = NA,
  nProc = 10, doDebug = F)

Arguments

db

a database object, tested for sqlite database

tb_csv

which table has data

colsxy

names of xy columns

cols2Raster

which columns to grab

format

raster formate e.g. .tif , .img etc

dirOut

where to export rasters

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?

Details

<Delete and Replace>


Revision History

1.0 3/16/2020 Function created

Value

<Delete and Replace>

Author(s)

Jacob Strunk <Jstrunk@fs.fed.us>

See Also

rasterFromXYZ
writeRaster

Examples

1
 <Delete and Replace>

jstrunk001/lasR documentation built on April 20, 2020, 7:24 a.m.