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.
Usage
listLayers(..., abstract = TRUE)
Value
data.frame of 2 (abstract = FALSE) or 4 (abstract = TRUE) columns
Arguments
...
Additional arguments passed to grep. The pattern argument can be used to search for specific layers with matching names or titles.
abstract
Whether to return a column of abstract (and metadata ID), the default is true. Switching to FALSE will provide a data.frame with only 2 columns and may be slightly faster.