listLayers {VicmapR} | R Documentation |
List Available WFS Layers
Description
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)
Arguments
... |
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. |
Value
data.frame of 2 (abstract = FALSE) or 4 (abstract = TRUE) columns
Examples
try(
listLayers(pattern = "trees", ignore.case = TRUE)
)
[Package VicmapR version 0.2.3 Index]