df_to_raster | R Documentation |
<Delete and Replace>
df_to_raster( df, colsxy = c("center_x", "center_y"), cols2Raster = c(colsSomeX), format = ".img", dirOut = "E:\\projects\\2017_NAIP\\rasters\\", crs = NA, nProc = 10, doDebug = F )
df |
a dataframe with xy and columns to use in making a rasters |
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? |
<Delete and Replace>
This program is free software but it is provided WITHOUT WARRANTY and with ABSOLUTELY NO GUARANTEE of fitness or functionality for any purpose; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
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.