Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/blacha/stac-spider
- Owner: blacha
- Created: 2023-11-22T07:14:38.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-26T21:30:02.000Z (2 months ago)
- Last Synced: 2024-11-26T22:20:34.782Z (2 months ago)
- Language: TypeScript
- Homepage:
- Size: 136 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```