Skip to content

Data sources

The plugin queries the services of the federal geoportal, of opendata.swiss and of the cantons. It needs an internet connection.

Service Used by
api3.geo.admin.ch locations, geocoding, WMS layers, features, elevation profile
wms.geo.admin.ch WMS layers
wmts.geo.admin.ch WMTS layers
vectortiles.geo.admin.ch base maps
data.geo.admin.ch downloads
geodienste.ch downloads
viageo.ch downloads
geo.bs.ch downloads
opendata.swiss and the WMS services it references WMS layers
opengisch.github.io/qgis-swiss-locator WMS layers, features

The data belongs to its publishers: check their terms of use before you publish it.

The data catalogues (STAC)

The downloads come from four data catalogues: that of the federal geoportal, data.geo.admin.ch; geodienste.ch, which publishes the geodata of the cantons in the data models of the Confederation; viageo.ch, which publishes the geodata of cantons and municipalities; and that of the canton of Basel-Stadt, geo.bs.ch. All follow the STAC standard (SpatioTemporal Asset Catalog), and organise the data in:

  • collections, the datasets, such as swissALTI3D;
  • items, the parts of a dataset in space or time, such as a tile of one square kilometre at a date;
  • assets, the files of an item, by format, resolution and coordinate system.

When QGIS starts, the plugin downloads the list of the collections of each catalogue, in the background. The titles and descriptions of data.geo.admin.ch in the language of the plugin come from the metadata catalogue geocat.ch; geodienste.ch has its own, in German, French and Italian; those of viageo.ch are in French, those of Basel-Stadt in German. A search looks for the text in the titles and identifiers of these lists, without a request. For each collection found, the plugin then asks for its first files: when they are few, or the formats of a single item, as on Basel-Stadt, they are listed; otherwise, the collection opens the filter panel.

The filter panel asks the catalogue for the items of the chosen extent, and lists their assets by file type, resolution, timestamp and coordinate system. It comes from the plugin Swiss Geo Downloader, by Patricia Moll.

A Cloud Optimized GeoTIFF or Point Cloud added as streamed stays on the server of its catalogue: QGIS reads the parts it displays over the network.

Files published by the plugin

Two searches rely on lists the plugin prepares, as searching them online would be too slow:

  • the layers of map.geo.admin.ch whose features can be searched, for the feature search;
  • the layers of the WMS services referenced by opendata.swiss, for the WMS layers.

A GitHub workflow of the repository of the plugin generates them regularly and publishes them on GitHub Pages, next to this documentation. QGIS checks for a new version at most once a day, in the background, and keeps a copy in its profile. Each release of the plugin also bundles a copy, used when GitHub cannot be reached.

A service of opendata.swiss that does not answer keeps its layers in the list for up to 30 days.