Returns a tibble describing each layer: geometry type, feature count (if available), spatial extent, and spatial reference.
wfs_layer_info(
base_url,
layers = NULL,
driver = "auto",
version = NULL,
srs = NULL
)Character. The service endpoint URL. Can be a raw URL
or a GDAL-prefixed connection string (e.g. "WFS:https://...").
Character vector of layer names to inspect, or NULL
to inspect all layers. Inspecting all layers can be slow for large
services – consider using wfs_find_layers() first.
Character. One of "auto", "WFS", "OAPIF", "ESRIJSON".
Character or NULL. WFS version.
Character or NULL. Target SRS.
A tibble::tibble with columns: name, geom_column,
geom_type, feature_count, xmin, ymin, xmax, ymax, srs_wkt.
if (FALSE) { # \dontrun{
url <- wfs_example_url("list_tasmania")
wfs_layer_info(url, layers = "Public_OpenDataWFS:LIST_Cadastral_Parcels",
version = "2.0.0", srs = "EPSG:28355")
} # }