setenvGDAL function

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

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

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

setenvGDAL(bin_GDAL = NULL)

Arguments

  • bin_GDAL: string contains the path to the 'GDAL' binaries

Returns

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') }
  • Maintainer: Chris Reudenbach
  • License: GPL (>= 3) | file LICENSE
  • Last published: 2024-10-28