Return whether the filesystem supports random write
Source:R/RcppExports.R
vsi_supports_rnd_write.Rd
vsi_supports_rnd_write()
returns whether the filesystem supports
random write.
Wrapper for VSISupportsRandomWrite()
in the GDAL API.
Note
The location GDAL uses for temporary files can be forced via the
CPL_TMPDIR
configuration option.
Examples
# Requires GDAL >= 3.6
if (as.integer(gdal_version()[2]) >= 3060000)
vsi_supports_rnd_write("/vsimem/test-mem-file.gpkg", TRUE)