Skip to content

Commit

Permalink
align OACov to latest specification updates
Browse files Browse the repository at this point in the history
  • Loading branch information
tomkralidis committed Feb 26, 2024
1 parent b54bdd8 commit 1556aed
Show file tree
Hide file tree
Showing 20 changed files with 358 additions and 703 deletions.
6 changes: 2 additions & 4 deletions docs/source/data-publishing/ogcapi-coverages.rst
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,8 @@ Data access examples
* http://localhost:5000/collections
* overview of dataset
* http://localhost:5000/collections/foo
* coverage rangetype
* http://localhost:5000/collections/foo/coverage/rangetype
* coverage domainset
* http://localhost:5000/collections/foo/coverage/domainset
* schema of dataset
* http://localhost:5000/collections/foo/schema
* coverage access via CoverageJSON (default)
* http://localhost:5000/collections/foo/coverage?f=json
* coverage access via native format (as defined in ``provider.format.name``)
Expand Down
13 changes: 8 additions & 5 deletions docs/source/plugins.rst
Original file line number Diff line number Diff line change
Expand Up @@ -240,12 +240,15 @@ The below template provides a minimal example (let's call the file ``mycoolraste
super().__init__(provider_def)
self.num_bands = 4
self.axes = ['Lat', 'Long']
self.fields = self.get_fields()
def get_coverage_domainset(self):
# return a CIS JSON DomainSet
def get_coverage_rangetype(self):
# return a CIS JSON RangeType
def get_fields(self):
# generate a JSON Schema of coverage band metadata
return {
'b1': {
'type': 'number'
}
}
def query(self, bands=[], subsets={}, format_='json', **kwargs):
# process bands and subsets parameters
Expand Down
15 changes: 4 additions & 11 deletions docs/source/tour.rst
Original file line number Diff line number Diff line change
Expand Up @@ -117,19 +117,12 @@ Delete an item from a collection:
Raster data
-----------

Collection coverage domainset
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Collection coverage schema
^^^^^^^^^^^^^^^^^^^^^^^^^^

This page provides information on a collection coverage spatial properties and axis information.
This page provides information on a collection coverage information.

http://localhost:5000/collections/gdps-temperature/coverage/domainset

Collection coverage rangetype
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

This page provides information on a collection coverage rangetype (bands) information.

http://localhost:5000/collections/gdps-temperature/coverage/rangetype
http://localhost:5000/collections/gdps-temperature/schema

Collection coverage data
^^^^^^^^^^^^^^^^^^^^^^^^
Expand Down
Loading

0 comments on commit 1556aed

Please sign in to comment.