
Read spatial feature (sf) data from online databases as sf object
Source:R/read_web_sf.R
read_web_sf.RdRead spatial feature (sf) data from online databases as sf object
Arguments
- url
character, URL of the web feature service (WFS) endpoint.
- layer_id
integer, layer ID of the spatial feature data to retrieve.
- key
character; LINZ API key. This can be set as an environment variable using the
add_linz_key()function or passed as a character. See?add_linz_keyfor more information with setting up the API key.- filter_col
character, name of the column to filter on. If NULL, no filtering is applied. Default is NULL.
- filter_val
character vector, values to filter the specified column on. If NULL, no filtering is applied. Default is NULL.