Learn R Programming

sf (version 0.5-5)

st_drivers: Get GDAL drivers

Description

Get a list of the available GDAL drivers

Usage

st_drivers(what = "vector")

Arguments

what

character: "vector" or "raster", anything else will return all drivers.

Value

a data.frame with driver metadata

Details

The drivers available will depend on the installation of GDAL/OGR, and can vary; the st_drivers() function shows which are available, and which may be written (but all are assumed to be readable). Note that stray files in data source directories (such as *.dbf) may lead to spurious errors that accompanying *.shp are missing.

Examples

Run this code
# NOT RUN {
st_drivers()
# }

Run the code above in your browser using DataLab