View source: R/bfs_download_geodata.R
bfs_download_geodata | R Documentation |
Download assets from the STAC API on the geodata catalog of the Swiss Confederation (https://data.geo.admin.ch/api/stac/v0.9/).
bfs_download_geodata(
collection_id = collection_id,
output_dir = tempdir(),
overwrite = FALSE,
create_json = FALSE,
bbox = NULL,
asset_names = NULL,
datetime = NULL,
feature_id = NULL
)
collection_id |
collection_id |
output_dir |
output_dir |
overwrite |
overwrite |
create_json |
create_json |
bbox |
bbox |
asset_names |
asset_names |
datetime |
datetime |
feature_id |
feature_id |
The use of the data and services is free but subject to the provisions on fair use (see https://www.geo.admin.ch/terms-of-use).
Returns the file path where the file has been downloaded. Returns NULL if no connection.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.