
Download a geographic file from the Swiss geo-portal
Source:R/bfs_download_geodata.R
bfs_download_geodata.Rd
Download assets from the STAC API on the geodata catalog of the Swiss Confederation (https://data.geo.admin.ch/api/stac/v0.9/).
Usage
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
)
Details
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).