listLayers | R Documentation |
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(..., abstract = TRUE)
... |
Additional arguments passed to grep. The |
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. |
data.frame of 2 (abstract = FALSE) or 4 (abstract = TRUE) columns
try(
listLayers(pattern = "trees", ignore.case = TRUE)
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.