Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/blacha/stac-spider

Spider and process stac Catalog, Collections and Items
https://github.com/blacha/stac-spider

Last synced: 14 days ago
JSON representation

Spider and process stac Catalog, Collections and Items

Awesome Lists containing this project

README

        

# blacha/stac-spider

Spider STAC collections concurrently processing the results

## Usage

see [./src/operations](./src/operations/)

Dump all STAC documents from a collection.json and its children into a feature collection

```bash
npx tsx src/operations/feature.collection.ts s3://nz-imagery/wellington/wellington_2021_0.3m/rgb/2193/collection.json | pjl
```

Can also be used with a list of collections

collections.txt

```txt
s3://nz-imagery/wellington/wellington_2021_0.3m/rgb/2193/collection.json
```

```bash
cat collections.txt | npx tsx src/operations/feature.collection.ts
```