st_read_meta | R Documentation |
At this time, reads a subset of spatial metadata.
This is similar to what is reported by ogrinfo -json
st_read_meta(
path,
layer = 1L,
tblname = tbl_name(path),
conn = cached_connection(),
...
)
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 |
A lazy dplyr::tbl
object containing core spatial metadata such
as projection information.
st_read_meta("https://github.com/duckdb/duckdb_spatial/raw/main/test/data/amsterdam_roads.fgb")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.