At this time, reads a subset of spatial metadata.
This is similar to what is reported by ogrinfo -json
Usage
st_read_meta(
path,
layer = 1L,
tblname = tbl_name(path),
conn = cached_connection(),
...
)
Arguments
- path
URL or path to spatial data file
- layer
layer number to read metadata for, defaults to first layer.
- tblname
metadata will be stored as a view with this name, by default this is based on the name of the file.
- conn
A connection to a database.
- ...
optional additional arguments passed to
duckdb_s3_config()
. Note these apply after those set by the URI notation and thus may be used to override or provide settings not supported in that format.
Value
A lazy dplyr::tbl
object containing core spatial metadata such
as projection information.