Description Usage Arguments Details Value Author(s) Examples
Function that initializes environment pathes, SAGA, GRASS7 and GDAL support. *NOTE* you probably have to customize some settings in your custom or the demo.ini file
1 | initEnvironGIS(fname.control)
|
fname.control |
name of the session ini.file |
fname.DEM |
name of used raster DEM (GDAL format) |
This concept is somehow not very R-like. You have to provide and control at least the installations pathes of the used SAGA and GRASS executables, root and working folder, epsg code AND correct corresponding proj4 string of the DEM data file (all controlled by the ini file). Finally you need to provide a GDAL conform DEM file.
For Further Information look at:INI
initEnvironGIS initializes the usage of the GIS packages and other utilities
Chris Reudenbach
1 2 3 4 5 6 7 8 |
#### Example to initialize the enviroment and GIS bindings for use with R
#### uses the ini list from an ini file
ini.example=system.file("data","demo.ini", package="perfectPeak")
dem.example=system.file("data","deḿo.asc", package="perfectPeak")
initEnvironGIS(ini.example,dem.example)
gmeta()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.