General information on obtaining geodata
Various options are available for downloading swisstopo geodata, depending on the data set. Large data sets are divided into spatial units for downloading. In the case of smaller data sets, the complete data content in its full geographical extent will be delivered. A user interface helps you select and download the geodata. An application programming interface (API) also enables you to obtain the data.
Obtaining datasets with full geographic coverage
Obtaining large datasets with spatial subdivision
You can display the perimeter of each unit from the download list in the online map and thus refine your spatial selection, e.g. by deleting individual units from the list. You can then export a list with all links in CSV format or you can download the units individually.
If the result of your selection exceeds 50 units, only the link list in CSV format is available. This contains the download links for all the units you selected.
The CSV format can be read by various browser extensions. With the help of such an extension you can easily download all units in the list. The CSV file is also suitable for downloading the geodata automatically with the help of scripts, as shown in the example below.
API STAC
The user interface for the selection of geodata works on the basis of the programming interface «Spatial Temporal Asset Catalogue» API STAC from data.geo.admin.ch.
The API STAC is a dataset-based download service that provides access to the geodata sets and their metadata. The API provides various «endpoints» for data queries.
Further information on how to use the API can be found on the website www.geo.admin.ch/stac-api.
Seftigenstrasse 264
3084 Wabern



