Skip to main content

A python FastAPI OGC DGGS API implementation

Project description

pydggsapi

Version

A python FastAPI OGC DGGS API implementation

https://pydggsapi.readthedocs.io/en/latest/

OGC API - Discrete Global Grid Systems

https://ogcapi.ogc.org/dggs/

OGC API - DGGS specifies an API for accessing data organised according to a Discrete Global Grid Reference System (DGGRS). A DGGRS is a spatial reference system combining a discrete global grid hierarchy (DGGH, a hierarchical tessellation of zones to partition) with a zone indexing reference system (ZIRS) to address the globe. Aditionally, to enable DGGS-optimized data encodings, a DGGRS defines a deterministic for sub-zones whose geometry is at least partially contained within a parent zone of a lower refinement level. A Discrete Global Grid System (DGGS) is an integrated system implementing one or more DGGRS together with functionality for quantization, zonal query, and interoperability. DGGS are characterized by the properties of the zone structure of their DGGHs, geo-encoding, quantization strategy and associated mathematical functions.

Setup

Please refer to the Quick Setup section from the documentation for details.

Configration and implementation details

Please refer to the Configuration section from the documentation for details.

Example notebook

Please refer to the Example section from the documentation for demonstration.

Conformance Classes

The API implemented the dggrs-core, zone-query and zone data retrieval, conformal class. The following list shows the conformance classes supported by the API. Users can also refer to the example notebook from the pydggsapi documentation for examples of the query endpoints.

Conformance Class Supported by the API
Core
http://www.opengis.net/spec/ogcapi-common-1/1.0/conf/core
OGC API integration
https://www.opengis.net/spec/ogcapi-dggs-1/1.0/conf/root-dggs
https://www.opengis.net/spec/ogcapi-dggs-1/1.0/conf/collection-dggs
https://www.opengis.net/spec/ogcapi-dggs-1/1.0/conf/operation-ids
For Data Retrieval
https://www.opengis.net/spec/ogcapi-dggs-1/1.0/conf/data-retrieval
https://www.opengis.net/spec/ogcapi-dggs-1/1.0/conf/data-subsetting partially: datetime, properties and exclude-properties
https://www.opengis.net/spec/ogcapi-dggs-1/1.0/conf/data-custom-depths
https://www.opengis.net/spec/ogcapi-dggs-1/1.0/conf/data-cql2-filter
For Zone Queries
https://www.opengis.net/spec/ogcapi-dggs-1/1.0/conf/zone-query ✅ , query parameter subset and subset-crs is not supported yet
https://www.opengis.net/spec/ogcapi-dggs-1/1.0/conf/zone-query-cql2-filter
Zone Data Encodings
https://www.opengis.net/spec/ogcapi-dggs-1/1.0/conf/data-json
https://www.opengis.net/spec/ogcapi-dggs-1/1.0/conf/data-ubjson
https://www.opengis.net/spec/ogcapi-dggs-1/1.0/conf/data-dggs-jsonfg
https://www.opengis.net/spec/ogcapi-dggs-1/1.0/conf/data-dggs-ubjsonfg
https://www.opengis.net/spec/ogcapi-dggs-1/1.0/conf/data-geojson
https://www.opengis.net/spec/ogcapi-dggs-1/1.0/conf/data-geotiff
https://www.opengis.net/spec/ogcapi-dggs-1/1.0/conf/data-netcdf
https://www.opengis.net/spec/ogcapi-dggs-1/1.0/conf/data-coveragejson
https://www.opengis.net/spec/ogcapi-dggs-1/1.0/conf/data-zarr
https://www.opengis.net/spec/ogcapi-dggs-1/1.0/conf/data-jpegxl
https://www.opengis.net/spec/ogcapi-dggs-1/1.0/conf/data-png
Zone List Encodings
https://www.opengis.net/spec/ogcapi-dggs-1/1.0/conf/zone-html
https://www.opengis.net/spec/ogcapi-dggs-1/1.0/conf/zone-uint64
https://www.opengis.net/spec/ogcapi-dggs-1/1.0/conf/zone-geojson
https://www.opengis.net/spec/ogcapi-dggs-1/1.0/conf/zone-geotiff

Acknowledgments

This software is being developed by the Landscape Geoinformatics Lab of the University of Tartu, Estonia.

This work was funded by the Estonian Research Agency (grant number PRG1764, PSG841), Estonian Ministry of Education and Research (Centre of Excellence for Sustainable Land Use (TK232)), and by the European Union (ERC, WaterSmartLand, 101125476 and Interreg-BSR, HyTruck, #C031).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pydggsapi-0.3.0.tar.gz (53.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pydggsapi-0.3.0-py3-none-any.whl (73.5 kB view details)

Uploaded Python 3

File details

Details for the file pydggsapi-0.3.0.tar.gz.

File metadata

  • Download URL: pydggsapi-0.3.0.tar.gz
  • Upload date:
  • Size: 53.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for pydggsapi-0.3.0.tar.gz
Algorithm Hash digest
SHA256 ef0463973cbe3db81e2f201af9a92626ff3296d85092fc7e9b6cde882b1b97eb
MD5 29cf13127b5a18f1c1d114a21004643d
BLAKE2b-256 3b011a383609efd8ad4172bd0648bf208a03571f499903943d6ecaec5db3be51

See more details on using hashes here.

Provenance

The following attestation bundles were made for pydggsapi-0.3.0.tar.gz:

Publisher: python-publish.yml on LandscapeGeoinformatics/pydggsapi

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pydggsapi-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: pydggsapi-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 73.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for pydggsapi-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 85803c1f3fb6ba18f84a1f80711e558beab7894550185434e198cebb96dadf0a
MD5 2d4a01bd4a55c76130089da8ca5f2852
BLAKE2b-256 5f578817ed0aaffeeeeddb84333b2fa93d34644b169fdc50b16ef8f769550c7c

See more details on using hashes here.

Provenance

The following attestation bundles were made for pydggsapi-0.3.0-py3-none-any.whl:

Publisher: python-publish.yml on LandscapeGeoinformatics/pydggsapi

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page