SpatioTemporal Asset Catalog

Toitū Te Whenua LINZ STAC Extensions

The SpatioTemporal Asset Catalog (STAC) family of specifications aim to standardize the way geospatial assets are exposed online and queried.

This repository is for STAC Extensions that Toitū Te Whenua LINZ is working on. These may become STAC Community Extensions if other data managers find them to be useful.

Extensions

Running tests

  1. Install packages:
yarn
  1. Run tests:
yarn test

Development

Install packages by running yarn.

Verify changes by running yarn lint && yarn test before committing.

Releases

To create a release:

  1. Run yarn version --new-version <patch|minor|major> which will create a change log commit and version tag.
  2. Run git push --atomic origin master TAG which will trigger a GitHub release job. This will publish the new version to the “gh-pages” branch.

Adding a new extension

Be sure to add a schemaMap entry to the validate.sh file with your json-schema $id url followed by the path to the json-schema locally. This will allow yarn test to use a local json-schema file rather than retrieving a possibly yet un-published json-schema.

License

Creative Commons License

This work is licensed under a Creative Commons Attribution 4.0 International License.