vicmap_query {VicmapR} | R Documentation |
Establish Vicmap Query
Description
Begin a Vicmap WFS query by selecting a WFS layer. The record must be available as a
Web Feature Service (WFS) layer (listed in listLayers()
)
Usage
vicmap_query(layer, CRS = 4283, wfs_version = "2.0.0")
Arguments
layer |
vicmap layer to query. Options are listed in |
CRS |
Coordinate Reference System (default is 4283) |
wfs_version |
The current version of WFS is 2.0.0. GeoServer supports versions 2.0.0, 1.1.0, and 1.0.0. However in order for filtering to be correctly applied wfs_version must be 2.0.0 (default is 2.0.0) |
Details
The returned vicmap_promise
object is not data, rather it is a 'promise' of the data that can
be returned if collect()
is used; which returns an sf
object.
Value
object of class vicmap_promise
, which is a 'promise' of the data that can be returned if collect()
is used
Examples
try(
vicmap_query(layer = "open-data-platform:hy_watercourse")
)
[Package VicmapR version 0.2.3 Index]