Command Line Interface (CLI) and Rust libraries for the SpatioTemporal Asset Catalog (STAC) specification.
There's a couple Python projects based on stac-rs that might be of interest to you, as well:
- stacrs provides a Python API to stac-rs, including
- Reading and writing stac-geoparquet
- Migrating to STAC v1.1
- More...
- pgstacrs is a Python library for working with pgstac
Our command line interface (CLI) can query STAC APIs, validate STAC, and more. Install:
pip install stacrs-cli
# or
cargo install stac-cli
Then:
$ stacrs search https://landsatlook.usgs.gov/stac-server \
-c landsat-c2l2-sr --intersects \
'{"type": "Point", "coordinates": [-105.119, 40.173]}' \
--sortby='-properties.datetime' \
--max-items 1000 \
-f 'parquet[snappy]' \
items.parquet
This monorepo contains several crates:
Crate | Description | Badges |
---|---|---|
stac | Core data structures and I/O | |
stac-api | Data structures for the STAC API specification | |
stac-extensions | Basic support for STAC extensions | |
stac-cli | Command line interface | |
stac-server | STAC API server with multiple backends | |
pgstac | Bindings for pgstac | |
stac-duckdb | Experimental client for duckdb | |
See CONTRIBUTING.md for information about contributing to this project. See RELEASING.md for a checklist to use when releasing a new version.
stac-rs is dual-licensed under both the MIT license and the Apache license (Version 2.0). See LICENSE-APACHE and LICENSE-MIT for details.