proj_search_paths {gdalraster}R Documentation

Get or set search path(s) for PROJ resource files

Description

proj_search_paths() returns the search path(s) for PROJ resource files, optionally setting them first. Requires GDAL 3.0.3 or later.

Usage

proj_search_paths(paths = NULL)

Arguments

paths

Optional character vector containing one or more directory paths to set.

Value

A character vector containing the currently used search path(s) for PROJ resource files. An empty string ("") is returned if no search paths are returned by the function OSRGetPROJSearchPaths() in the GDAL Spatial Reference System C API. NA is returned if GDAL < 3.0.3.

See Also

proj_version(), proj_networking()

Examples

proj_search_paths()

[Package gdalraster version 1.10.0 Index]