read_dtm: read USDA FUSION format (Bob McGaughey) raster files and...

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

View source: R/read_dtm.R View source: R/dev_read_dtm.R

Description

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 a single USDA FUSION format raster into an r raster object (raster package). read a single header read headers for all files in directory

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
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)

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)

Arguments

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'

dtm_file

path to specific FUSION dtm file

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 ..

ncore

how many cores to use in processing dtm files - used with 'dir_dtm'

Details

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

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

Value

raster, rasters, or dataframe with header(s) information

raster, rasters, or dataframe with header(s) information

Author(s)

Jacob Strunk

Jacob Strunk

See Also

read_las

read_las

Examples

1
2
3
4
5
6
7
8
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")


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")

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