Skip to content

Stac2GeoJSON

Stac2GeoJSON #4

Workflow file for this run

name: Stac2GeoJSON
on:
workflow_dispatch:
inputs:
catalog:
type: string
required: true
description: Static STAC catalog or collection URL
default: https://www.planet.com/data/stac/tanager-core-imagery/snow-ice/collection.json
jobs:
convert:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: prefix-dev/setup-pixi@v0.8.11
with:
cache: true
frozen: true
- name: Run Conversion Script
env:
CATALOG: ${{ inputs.catalog }}
run: |
pixi run convert $CATALOG
- name: Upload to GitHub Artifact
uses: actions/upload-artifact@v4
with:
path: catalog*.geojson