You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-[pgstacrs](https://github.com/stac-utils/pgstacrs) is a Python library for working with [pgstac](https://github.com/stac-utils/pgstac)
13
+
**stac-rs** "speaks" three forms of STAC:
14
+
15
+
-**JSON**: STAC is derived from [GeoJSON](https://geojson.org/)
16
+
-**Newline-delimited JSON (ndjson)**: One JSON [item](https://github.com/radiantearth/stac-spec/blob/master/item-spec/item-spec.md) per line, often used for bulk item loading and storage
17
+
-**stac-geoparquet**: A newer [specification](https://github.com/stac-utils/stac-geoparquet) for storing STAC items, and optionally collections
18
+
19
+
We also have interfaces to other storage backends, e.g. Postgres via [pgstac](https://github.com/stac-utils/pgstac).
$ stacrs serve items.parquet # Opens a STAC API server on http://localhost:7822
27
46
```
28
47
29
48
## Usage
30
49
31
50
**stacrs** provides the following subcommands:
32
51
33
-
-`stacrs item`: create STAC items and combine them into item collections
34
-
-`stacrs migrate`: migrate a STAC object to another version
35
-
-`stacrs search`: search STAC APIs (and geoparquet, with the experimental `duckdb` feature)
36
-
-`stacrs serve`: serve a STAC API (optionally, with a [pgstac](https://github.com/stac-utils/pgstac) backend)
37
-
-`stacrs translate`: convert STAC values from one format to another
38
-
-`stacrs validate`: validate STAC items, catalogs, and collections using [json-schema](https://json-schema.org/)
52
+
-`stacrs search`: searches STAC APIs and geoparquet files
53
+
-`stacrs serve`: serves a STAC API
54
+
-`stacrs translate`: converts STAC from one format to another
39
55
40
56
Use the `--help` flag to see all available options for the CLI and the subcommands:
41
57
42
58
## Features
43
59
44
-
This crate has features:
60
+
This crate has two features:
45
61
46
-
-`duckdb`: experimental support for querying [stac-geoparquet](https://github.com/stac-utils/stac-geoparquet) files using [DuckDB](https://duckdb.org/)
47
-
-`geoparquet`: read and write [stac-geoparquet](https://github.com/stac-utils/stac-geoparquet) (enabled by default)
48
62
-`pgstac`: enable a [pgstac](https://github.com/stac-utils/pgstac) backend for `stacrs serve` (enabled by default)
49
63
-`python`: create an entrypoint that can be called from Python (used to enable `python -m pip install stacrs-cli`)
50
64
51
-
If you don't want to use any of the default features:
52
-
53
-
```shell
54
-
cargo install stac-cli --no-default-features
55
-
```
56
-
57
65
## Other info
58
66
59
67
This crate is part of the [stac-rs](https://github.com/stac-utils/stac-rs) monorepo, see its README for contributing and license information.
0 commit comments