setenvGDAL: Usually for internally usage, initializes and set up access...

View source: R/gdalControls.R

setenvGDALR Documentation

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)

Arguments

bin_GDAL

string contains the path to the 'GDAL' binaries

Value

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

Examples


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

link2GI documentation built on Oct. 28, 2024, 5:06 p.m.