Crates.io | stac-cli |
lib.rs | stac-cli |
version | 0.4.1 |
source | src |
created_at | 2022-05-20 20:33:45.210322 |
updated_at | 2024-10-22 19:17:02.827093 |
description | Command line interface for stac-rs |
homepage | https://stac-utils.github.io/stac-rs |
repository | https://github.com/stac-utils/stac-rs |
max_upload_size | |
id | 590455 |
size | 222,547 |
Command Line Interface (CLI) for STAC, named stacrs
.
python -m pip install stacrs-cli
Or:
cargo install stac-cli
Then:
stacrs --help
stacrs provides the following subcommands:
stacrs item
: create STAC items and combine them into item collectionsstacrs migrate
: migrate a STAC object to another versionstacrs search
: search STAC APIs (and geoparquet, with the experimental duckdb
feature)stacrs serve
: serve a STAC API (optionally, with a pgstac backend)stacrs translate
: convert STAC values from one format to anotherstacrs validate
: validate STAC items, catalogs, and collections using json-schemaUse the --help
flag to see all available options for the CLI and the subcommands:
This crate has features:
duckdb
: experimental support for querying stac-geoparquet files using DuckDBgeoparquet
: read and write stac-geoparquet (enabled by default)pgstac
: enable a pgstac backend for stacrs serve
(enabled by default)python
: create an entrypoint that can be called from Python (used to enable python -m pip install stacrs-cli
)If you don't want to use any of the default features:
cargo install stac-cli --no-default-features
This crate is part of the stac-rs monorepo, see its README for contributing and license information.