Fetch a single collection
Describe the feature collection with id collectionId
Path parameters
Local identifier of a collection
Headers
The RFC7232 If-Match header field makes the GET request method conditional. It is composed of a comma separated list of ETags or value "*".
The server compares the client's ETags (sent with If-Match) with the ETag for its current version of the resource, and if both values don't match (that is, the resource has changed), the server sends back a 412 Precondition Failed status, without a body, which tells the client that the cached version of the response is not good to use anymore.
The RFC7232 If-None-Match header field makes the GET request method conditional. It is composed of a comma separated list of ETags or value "*".
The server compares the client's ETags (sent with If-None-Match) with the ETag for its current version of the resource, and if both values match (that is, the resource has not changed), the server sends back a 304 Not Modified status, without a body, which tells the client that the cached version of the response is still good to use (fresh).
Response
Information about the feature collection with id collectionId.
The response contains 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')
Example response
{
"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"
}
]
}