initEnvironGIS: Function that initializes RSAGA, GRASS GDAL and the R...

Description Usage Arguments Details Value Author(s) Examples

Description

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

Usage

1
initEnvironGIS(fname.control)

Arguments

fname.control

name of the session ini.file

fname.DEM

name of used raster DEM (GDAL format)

Details

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

Value

initEnvironGIS initializes the usage of the GIS packages and other utilities

Author(s)

Chris Reudenbach

Examples

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

gisma/perfectPeak documentation built on May 17, 2019, 5:27 a.m.