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' pathes to the enviroment 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")
}

gisma/link2GI documentation built on April 23, 2024, 11:17 p.m.