| vsi_get_fs_options {gdalraster} | R Documentation |
Return the list of options associated with a virtual file system handler
Description
vsi_get_fs_options() returns the list of options associated with a virtual
file system handler. Those options may be set as configuration options with
set_config_option().
Wrapper for VSIGetFileSystemOptions() in the GDAL API.
Usage
vsi_get_fs_options(filename, as_list = TRUE)
Arguments
filename |
Filename, or prefix of a virtual file system handler. |
as_list |
Logical scalar. If |
Value
An XML string, or empty string ("") if no options are declared.
If as_list = TRUE (the default), the XML string will be coerced to list
with xml2::as_list().
See Also
set_config_option(), vsi_get_fs_prefixes()
https://gdal.org/user/virtual_file_systems.html
Examples
vsi_get_fs_options("/vsimem/")
vsi_get_fs_options("/vsizip/")
vsi_get_fs_options("/vsizip/", as_list = FALSE)
[Package gdalraster version 1.11.1 Index]