Awesome
<p align="center"> <img src="https://user-images.githubusercontent.com/10407788/174893876-7a3b5b7a-95a5-48c4-9ff2-cc408f1b6af9.png"/> <p align="center">PostgreSQL schema and functions for Spatio-Temporal Asset Catalog (STAC)</p> </p> <p align="center"> <a href="https://github.com/stac-utils/pgstac/actions?query=workflow%3ACI" target="_blank"> <img src="https://github.com/stac-utils/pgstac/workflows/CI/badge.svg" alt="Test"> </a> <a href="https://pypi.org/project/pypgstac" target="_blank"> <img src="https://img.shields.io/pypi/v/pypgstac?color=%2334D058&label=pypi%20package" alt="Package version"> </a> <a href="https://github.com/stac-utils/pgstac/blob/master/LICENSE" target="_blank"> <img src="https://img.shields.io/github/license/stac-utils/pgstac.svg" alt="License"> </a> </p>Documentation: <a href="https://stac-utils.github.io/pgstac/" target="_blank">https://stac-utils.github.io/pgstac/</a>
Source Code: <a href="https://github.com/stac-utils/pgstac" target="_blank">https://github.com/stac-utils/pgstac</a>
PgSTAC is a set of SQL functions and schema to build highly performant databases for Spatio-Temporal Asset Catalogs (STAC). The project also provides pypgstac (a Python module) to help with database migrations and document ingestion (collections and items).
PgSTAC provides functionality for STAC Filters, CQL2 search, and utilities to help manage the indexing and partitioning of STAC Collections and Items.
PgSTAC is used in production to scale to hundreds of millions of STAC items. PgSTAC implements core data models and functions to provide a STAC API from a PostgreSQL database. PgSTAC is entirely within the database and does not provide an HTTP-facing API. The STAC FastAPI PgSTAC backend and Franklin can be used to expose a PgSTAC catalog. Integrating PgSTAC with any other language with PostgreSQL drivers is also possible.
PgSTAC Documentation: https://stac-utils.github.io/pgstac/pgstac
pyPgSTAC Documentation: https://stac-utils.github.io/pgstac/pypgstac
Project structure
/
├── src/pypgstac - pyPgSTAC python module
├── src/pypgstac/tests/ - pyPgSTAC tests
├── scripts/ - scripts to set up the environment, create migrations, and run tests
├── src/pgstac/sql/ - PgSTAC SQL code
├── src/pgstac/migrations/ - Migrations for incremental upgrades
└── src/pgstac/tests/ - test suite
Contribution & Development
See CONTRIBUTING.md
License
See LICENSE
Authors
See contributors for a listing of individual contributors.
Changes
See CHANGELOG.md.