proj_networking {gdalraster}R Documentation

Check, enable or disable PROJ networking capabilities

Description

proj_networking() returns the status of PROJ networking capabilities, optionally enabling or disabling first. Requires GDAL 3.4 or later and PROJ 7 or later.

Usage

proj_networking(enabled = NULL)

Arguments

enabled

Optional logical scalar. Set to TRUE to enable networking capabilities or FALSE to disable.

Value

Logical TRUE if PROJ networking capabilities are enabled (as indicated by the return value of OSRGetPROJEnableNetwork() in the GDAL Spatial Reference System C API). Logical NA is returned if GDAL < 3.4.

See Also

proj_version(), proj_search_paths()

PROJ-data on GitHub, PROJ Content Delivery Network

Examples

proj_networking()

[Package gdalraster version 1.10.0 Index]