Skip to content

linz/stac

Repository files navigation

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:
npm install
  1. Run tests:
npm run test

Development

Install packages by running npm install.

Verify changes by running npm run lint && npm run test before committing.

Releases

To create a release:

  1. Run npm version --new-version <patch|minor|major> which will create a change log commit and version tag.
  2. Run git push --atomic origin master TAG (e.g. git push --atomic origin master v0.0.14) 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 npm run test to use a local json-schema file rather than retrieving a possibly yet un-published json-schema.

Creative Commons License

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