View source: R/input_file_utils.R
distanceToRoad_input | R Documentation |
Program distanceToRoad builds a raster giving the distance in meters to the nearest road for each DEM grid point. Inputs to distanceToRoad are read from an ASCII input file using "Keyword: arguments" format.
distanceToRoad_input(dem, radius = 1000, road_file, out_raster, scratch_dir)
dem |
Character string: The file name (full path) for the input DEM. |
radius |
Double: radius in meters to extend from a road. |
road_file |
Character string: input road polyline shapefile. |
out_raster |
Character string: File name (full path) for the output binary floating point (.flt) raster. |
scratch_dir |
Character string: Directory for temporary files. The input file is written to the scratch_dir. |
There is no explicit return object, but an explicit side effect is writing to disk of the input file.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.