opengeospatial / ogcapi-discrete-global-grid-systems

https://ogcapi.ogc.org/dggs
Other
20 stars 8 forks source link

The response of the /collections resource in the DGGS API is missing the collections list #42

Open ghobona opened 2 years ago

ghobona commented 2 years ago

Version 0.0.6 of the DGGS API Definition document example returns an example as shown below.

{
  "id": "buildings",
  "title": "Buildings in the city of Bonn",
  "description": "This collection contains buildings",
  "keywords": [
    {
      "keyword": "land cover",
      "code": "4612",
      "codeSpace": "https://www.eionet.europa.eu/gemet/en/concept/"
    }
  ],
  "attribution": "OpenStreetMap",
  "extent": {
    "spatial": {
      "bbox": [
        [
          7.01,
          50.63,
          7.22,
          50.78
        ]
      ],
      "crs": "http://www.opengis.net/def/crs/OGC/1.3/CRS84"
    },
    "temporal": {
      "interval": [
        [
          {},
          null
        ]
      ],
      "trs": "http://www.opengis.net/def/uom/ISO-8601/0/Gregorian"
    }
  },
  "crs": [
    "http://www.opengis.net/def/crs/OGC/1.3/CRS84",
    "http://www.opengis.net/def/crs/EPSG/0/4326"
  ],
  "links": [
    {
      "href": "http://example.com/collections/buildings?f=json",
      "rel": "self",
      "type": "application/json",
      "title": "This document"
    },
    {
      "href": "http://example.com/concepts/buildings.html",
      "rel": "describedby",
      "type": "text/html'"
    },
    {
      "href": "https://creativecommons.org/publicdomain/zero/1.0/",
      "rel": "license",
      "type": "text/html",
      "title": "CC0-1.0"
    },
    {
      "href": "https://creativecommons.org/publicdomain/zero/1.0/rdf",
      "rel": "license",
      "type": "application/rdf+xml",
      "title": "CC0-1.0"
    },
    {
      "href": "http://data.example.com/collections/buildings/items",
      "rel": "http://www.opengis.net/def/rel/ogc/1.0/items",
      "title": "Retrieve the items of the buildings collection",
      "type": "application/geo+json"
    },
    {
      "href": "http://data.example.com/collections/buildings/tiles",
      "rel": "http://www.opengis.net/def/rel/ogc/1.0/tilesets-vector",
      "type": "application/json"
    }
  ]
}

I also checked the schema and it looks as shown below.

Screenshot 2021-10-28 at 17 30 39