Description Usage Arguments Value Note Examples
Query data using WFS getFeature.
1 2 3 4 5 6 7 8 | aur_get(open_api_id, crs = "EPSG:4326", params = NULL)
aur_build_request(
open_api_id,
crs = "EPSG:4326",
params = NULL,
outputFormat = "application/json"
)
|
open_api_id |
Character. You can find the layer names for AURIN’s datasets by browsing the Data Catalogue. The layer name is found in the ‘AURIN Open API ID’ field in a dataset’s metadata. |
crs |
default as "EPSG:4326". The Coordinate Reference System you wish to use |
params |
a named list that contains additional parameters to be used when constructing a WFS GetFeature request. This is useful when you know the ID of a specific feature or the maximum number of features you want to query. See examples here. |
outputFormat |
default as "application/json", see https://docs.geoserver.org/latest/en/user/services/wfs/outputformats.html for other available options. |
an sf::sf
object.
aur_build_request()
returns a URL.
1 2 3 4 5 6 7 8 9 10 11 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.