v39

latestOpenAPI 3.0.3raw.githubusercontent.com2026-06-18118982.1 KB
Data

Fetch collections

The feature collections in the dataset

get/collections

Query parameters

limitinteger

The limit parameter limits the number of results that are included in the response.

To retrieve the next bunch of result, use the next link in the links section of the response.

Minimum = 1. Maximum = 100. Default = 100.

Example:20
providerstring

Filter collections by the name of the provider. Supports partial and case-insensitive matching.

Response

The feature collections shared by this API.

The dataset is organized as one or more feature collections. This resource provides information about and access to the collections.

The response contains the list of collections. For each collection, a link to the items in the collection (path /collections/{collectionId}/items, link relation items) as well as key information about the collection. This information includes:

  • A local identifier for the collection that is unique for the dataset
  • A list of coordinate reference systems (CRS) in which geometries may be returned by the server. The first CRS is the default coordinate reference system (the default is always WGS 84 with axis order longitude/latitude)
  • An optional title and description for the collection
  • An optional extent that can be used to provide an indication of the spatial and temporal extent of the collection - typically derived from the data
  • An optional indicator about the type of the items in the collection (the default value, if the indicator is not provided, is 'feature'). The limit parameter may be used to control the subset of the selected collections that should be returned in the response, the page size. Each page include links to support paging (link relation next and/or previous).

Example response

{
  "collections": [
    {
      "crs": [
        "http://www.opengis.net/def/crs/OGC/1.3/CRS84"
      ],
      "description": "Swiss Map Raster are a conversion of the map image into a digital form with no direct bearing on the individual map elements.\n\nThe information is structured only in colour layers. Swiss Map Raster pixel maps are ideal for finding background information for a broad variety of screen applications, web and mobile applications and services, as well as for geographic information systems. They can also be used as basic maps for a variety of purposes (digital printing, plots, offset printing, etc.).",
      "extent": {
        "spatial": {
          "bbox": [
            [
              5.685114,
              45.534903,
              10.747775,
              47.982586
            ]
          ]
        },
        "temporal": {
          "interval": [
            [
              "2019-01-01T00:00:00Z",
              "2019-01-02T00:00:00Z"
            ]
          ]
        }
      },
      "id": "ch.swisstopo.pixelkarte-farbe-pk200.noscale",
      "type": "Collection",
      "license": "proprietary",
      "providers": [
        {
          "name": "Federal Office of Topography - swisstopo",
          "roles": [
            "producer",
            "licensor"
          ],
          "url": "https://www.swisstopo.admin.ch"
        }
      ],
      "stac_version": "1.0.0",
      "summaries": {
        "gsd": [
          10,
          20
        ],
        "geoadmin:variant": [
          "kgrel",
          "komb",
          "krel"
        ],
        "geoadmin:lang": [
          "de",
          "fr"
        ],
        "proj:epsg": [
          2056
        ]
      },
      "title": "National Map 1:200'000",
      "created": "2018-02-12T23:20:50Z",
      "updated": "2018-02-12T23:20:50Z",
      "assets": {
        "smr50-263-2016-2056-kgrs-2.5.tiff": {
          "file:checksum": "12200ADEC47F803A8CF1055ED36750B3BA573C79A3AF7DA6D6F5A2AED03EA16AF3BC",
          "created": "2020-07-14T12:30:00Z",
          "gsd": 2.5,
          "geoadmin:variant": "kgrs",
          "href": "https://data.geo.admin.ch/ch.swisstopo.pixelkarte-farbe-pk50.noscale/smr50-263-2016-2056-kgrs-2.5.tiff",
          "proj:epsg": 2056,
          "type": "image/tiff; application=geotiff",
          "updated": "2020-07-14T12:30:00Z"
        },
        "smr50-263-2016-2056-komb-2.5.tiff": {
          "file:checksum": "12200ADEC47F803A8CF1055ED36750B3BA573C79A3AF7DA6D6F5A2AED03EA16AF3BC",
          "created": "2020-07-14T12:30:00Z",
          "gsd": 2.5,
          "geoadmin:variant": "komb",
          "href": "https://data.geo.admin.ch/ch.swisstopo.pixelkarte-farbe-pk50.noscale/smr50-263-2016-2056-komb-2.5.tiff",
          "proj:epsg": "2056",
          "type": "image/tiff; application=geotiff",
          "updated": "2020-07-14T12:30:00Z"
        },
        "smr50-263-2016-2056-krel-2.5.tiff": {
          "file:checksum": "12200ADEC47F803A8CF1055ED36750B3BA573C79A3AF7DA6D6F5A2AED03EA16AF3BC",
          "created": "2020-07-14T12:30:00Z",
          "gsd": 2.5,
          "geoadmin:variant": "krel",
          "href": "https://data.geo.admin.ch/ch.swisstopo.pixelkarte-farbe-pk50.noscale/smr50-263-2016-2056-krel-2.5.tiff",
          "proj:epsg": "2056",
          "type": "image/tiff; application=geotiff",
          "updated": "2020-07-14T12:30:00Z"
        }
      },
      "links": [
        {
          "href": "https://data.geo.admin.ch/api/stac/v1/collections/ch.swisstopo.pixelkarte-farbe-pk50.noscale",
          "rel": "self"
        },
        {
          "href": "https://data.geo.admin.ch/api/stac/v1/",
          "rel": "root"
        },
        {
          "href": "https://data.geo.admin.ch/api/stac/v1",
          "rel": "parent"
        },
        {
          "href": "https://data.geo.admin.ch/api/stac/v1/collections/ch.swisstopo.pixelkarte-farbe-pk50.noscale/items",
          "rel": "items"
        },
        {
          "href": "https://www.swisstopo.admin.ch/en/home/meta/conditions/geodata/free-geodata.html",
          "rel": "license",
          "title": "Licence for the free geodata of the Federal Office of Topography swisstopo"
        },
        {
          "href": "https://www.geocat.ch/geonetwork/srv/eng/catalog.search#/metadata/4c8c7c58-61c7-4a61-8e7a-6ffb95d183df",
          "rel": "describedby"
        }
      ]
    }
  ],
  "links": [
    {
      "href": "https://data.geo.admin.ch/api/stac/v1/collections",
      "rel": "self"
    },
    {
      "href": "https://data.geo.admin.ch/api/stac/v1/",
      "rel": "root"
    },
    {
      "href": "https://data.geo.admin.ch/api/stac/v1/collections?cursor=10ab",
      "rel": "next"
    },
    {
      "href": "https://data.geo.admin.ch/api/stac/v1/collections?cursor=10cd",
      "rel": "previous"
    }
  ]
}