Learn R Programming

link2GI (version 0.5-3)

setenvOTB: Usually for internally usage, initializes and set up access to the 'OTB' command line interface

Description

Initializes and set up access to the 'OTB' command line interface

Usage

setenvOTB(bin_OTB = NULL, root_OTB = NULL)

Value

Adds 'OTB' pathes to the enviroment and creates the variable global string variable otbCmd, that contains the path to the 'OTB' binaries.

Arguments

bin_OTB

string contains the path to the 'OTB' binaries

root_OTB

string contains the full string to the root folder containing the 'OTB' installation'

Examples

Run this code
if (FALSE) {
## example for the most common default OSGeo4W64 installation of OTB
setenvOTB(bin_OTB = "C:\\OSGeo4W64\\bin\\",
          root_OTB = "C:\\OSGeo4W64")
}

Run the code above in your browser using DataLab