Skip to contents

Read spatial feature (sf) data from online databases as sf object

Usage

read_web_sf(url, layer_id, key = NULL)

Arguments

url

character, URL of the web service

layer_id

numeric; layer ID value for the raster layer on the LINZ data service. See https://data.linz.govt.nz/

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_key for more information with setting up the API key.

Value

sf object