Lists layers available from the WFS geoserver. This is similar to sending the WFS request of getFeatureTypes. listLayers() returns a data.frame with the 'Name' and title of the layers available. The 'Name' is what is used within vicmap_query() while the title provides somewhat of a description/clarification about the layer.

listLayers(...)

Arguments

...

Additional arguments passed to grep. The pattern argument can be used to search for specific layers with matching names or titles.

Value

data.frame

Examples

# \donttest{
try(
listLayers(pattern = "trees", ignore.case = TRUE)
)
#>                                Name
#> 1 datavic:WATER_ISC2010_LARGE_TREES
#>                                                           Title
#> 1 2010 Index of Stream Condition - Large Trees polygon features
# }