Construct a gdal_open_opts() object for the FlatGeobuf driver. Only options you supply are
emitted; values are validated against the driver's registered metadata.
Arguments
- verify_buffers
Value for
VERIFY_BUFFERS. LogicalTRUE/FALSE(coerced to"YES"/"NO") controlling whether flatbuffer integrity is verified on read."YES"(the GDAL default) guards against corrupt data at a small performance cost;"NO"is faster but unsafe on malformed files.NULL(default) leaves it unset.- ...
Additional
NAME = valueoptions passed through verbatim alongside the typed arguments. They are coerced and validated against the driver metadata in the same way, and take precedence over a typed argument that sets the same option.- .set_defaults
Logical. If
TRUE, options left unset (NULL) are filled with the driver's documented GDAL metadata defaults (via the relevantgdal_vector_driver_*_opts_defaults()); user-supplied values always take precedence. Defaults toFALSE.
Value
A gdal_open_opts() object for the FlatGeobuf driver.
Examples
fgb_open_opts()
#> <gdal_open_opts/gdal_opts>
#> ℹ Driver: FlatGeobuf
#> ℹ No open options set.
fgb_open_opts(verify_buffers = FALSE)
#> <gdal_open_opts/gdal_opts>
#> ℹ Driver: FlatGeobuf
#> ℹ Open Options: VERIFY_BUFFERS=NO
#> ℹ Command Line: --input-format 'FlatGeobuf' --open-option 'VERIFY_BUFFERS=NO'
fgb_open_opts(.set_defaults = TRUE)
#> <gdal_open_opts/gdal_opts>
#> ℹ Driver: FlatGeobuf
#> ℹ Open Options: VERIFY_BUFFERS=YES
#> ℹ Command Line: --input-format 'FlatGeobuf' --open-option 'VERIFY_BUFFERS=YES'