read_dtm | R Documentation |
read a single USDA FUSION format raster into an r raster object (raster package). read a single header read headers for all files in directory
read_dtm( dtm_files = NA, dir_dtm = NA, pattern = "[.]dtm$", plot = F, NA_val = -1, return_polygon = F, mosaic = T ) read_dtm_header( dtm_file, dir_dtm = NA, pattern = "[.]dtm$", recursive = TRUE, out_file = NA )
dir_dtm |
path to directory containing FUSION dtm files |
pattern |
extension for FUSION dtm files |
plot |
with 'dtm_file' optionally plot dtm with rgl and rasterVis |
NA_val |
recoded fusion NA values to R NA - unfotunately FUSION uses -1.0 as NA values .. |
dtm_file |
path to specific FUSION dtm file |
ncore |
how many cores to use in processing dtm files - used with 'dir_dtm' |
the DEM format is an esoteric raster format used only by (and required by) FUSION gridmetrics. SInce it is required and we extensivey use FUSION (esp gridmetrics) we need the ability to interact with this file format.
Revision History
0.1 | 2014 July 09 - Operational |
raster, rasters, or dataframe with header(s) information
Jacob Strunk
read_las
many_dtms=read_dtm_header(dir_dtm="c:\\temp\\dtm_files" ,out_file="c:\\temp\\headers.csv") one_dtm=read_dtm_header("//dnrgpoly112/e$/rs_prototype/dtm/dtm_files/38_58.dtm")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.