| read_gdb | R Documentation |
Read layers from a file geodatabase (.gdb)
read_gdb(path, layer = NULL, quiet = TRUE, ...)
path |
Path to a |
layer |
If |
quiet |
Passed to |
... |
Additional arguments passed to |
A tibble with columns fpath (path or GDAL dsn used for the layer),
file_type (tools::file_ext()), layer_name, geometry_type, nrows_aka_features,
ncols_aka_fields, crs_name (from st_layers()$crs when available), and
data (list-column of sf::sf objects). Layers are not row-bound; differing CRS are preserved
per row.
gdb <- system.file("extdata", "misc_example.gdb", package = "misc")
if (nzchar(gdb) && dir.exists(gdb)) {
read_gdb(gdb)
read_gdb(gdb, layer = "OGRGeoJSON")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.