Learn R Programming

link2GI (version 0.5-3)

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

Description

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

Usage

setenvGDAL(bin_GDAL = NULL)

Value

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

Arguments

bin_GDAL

string contains the path to the 'GDAL' binaries

Examples

Run this code

run = FALSE
if (run) {
## example for the most common default OSGeo4W64 installation of GDAL
setenvGDAL(bin_GDAL = "C:/OSGeo4W64/bin/",
          root_GDAL = "C:/OSGeo4W64")
}

Run the code above in your browser using DataLab