Skip to content

Link to schema and extent information in a collection page (HTML output) #185

@teezip

Description

@teezip

Currently Hakunapi produces collections/[collection] following information in HTML output:

  • Items : a link to browse features in the collection
  • Supported Coordinate Reference Systems : a list of URIs of supported CRSes
  • Storage Coordinate: an URI of the storage CRS
  • Queryable properties: a link to collections/[collection]/queryables resource

Could there be also:

  • Schema: a link to collections/[collection]/schema resource
  • Spatial extent
  • Temporal extent (when available)

JSON output of collections/[collection] produces a response including something like this:

{
  "links" : [  {
    "href" : "https://hakunapi.org/features/collections/simple_addresses/schema",
    "rel" : "describedby",
    "type" : "application/schema+json"
  } ],
  "extent" : {
    "spatial" : {
      "bbox" : [ [ 15.0, 60.0, 30.0, 70.0 ] ],
      "crs" : "http://www.opengis.net/def/crs/OGC/1.3/CRS84"
    }
  }
}

As a side note also, in HTML output pages there is JSON link on top-right corner. Is it intended that it always point to the JSON response of the landing page?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request
    No fields configured for Feature.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions