Skip to content

Commit

Permalink
Create/Add geoparquet files
Browse files Browse the repository at this point in the history
  • Loading branch information
m-mohr committed Jul 3, 2023
1 parent d782400 commit 97fed79
Show file tree
Hide file tree
Showing 16 changed files with 106 additions and 9 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/geoparquet.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
stac geoparquet-items create disasters/ disasters/stac-items.geoparquet --collection disasters/collection.json
stac geoparquet-items create education/bloom/ education/bloom/stac-items.geoparquet --collection education/bloom/collection.json
stac geoparquet-items create fusion/14N/29E-188N/ fusion/14N/29E-188N/stac-items.geoparquet --collection fusion/14N/29E-188N/collection.json
stac geoparquet-items create open-skysat-data/ open-skysat-data/stac-items.geoparquet --collection open-skysat-data/collection.json
stac geoparquet-items create spacenet7/sn7_test_source/ spacenet7/sn7_test_source/stac-items.geoparquet --collection spacenet7/sn7_test_source/collection.json
stac geoparquet-items create spacenet7/sn7_train_labels/ spacenet7/sn7_train_labels/stac-items.geoparquet --collection spacenet7/sn7_train_labels/collection.json
stac geoparquet-items create spacenet7/sn7_train_source/ spacenet7/sn7_train_source/stac-items.geoparquet --collection spacenet7/sn7_train_source/collection.json
20 changes: 20 additions & 0 deletions .github/workflows/geoparquet.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Create GeoParquet files

on:
push:
tags: true

jobs:
create:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.11"
- run: pip install stactools-geoparquet-items
- run: cd stac
- run: bash ../.github/workflows/geoparquet.sh
- uses: stefanzweifel/[email protected]
with:
commit_message: Update GeoParquet files
12 changes: 11 additions & 1 deletion stac/disasters/collection.json
Original file line number Diff line number Diff line change
Expand Up @@ -104,5 +104,15 @@
],
"url": "https://storage.googleapis.com/pdd-stac/"
}
]
],
"assets": {
"geoparquet-items": {
"href": "stac-items.geoparquet",
"type": "application/x-parquet",
"roles": [
"stac-items"
],
"title": "GeoParquet STAC Items"
}
}
}
Binary file added stac/disasters/stac-items.geoparquet
Binary file not shown.
12 changes: 11 additions & 1 deletion stac/education/bloom/collection.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,5 +49,15 @@
]
}
},
"license": "CC-BY-SA-4.0"
"license": "CC-BY-SA-4.0",
"assets": {
"geoparquet-items": {
"href": "stac-items.geoparquet",
"type": "application/x-parquet",
"roles": [
"stac-items"
],
"title": "GeoParquet STAC Items"
}
}
}
Binary file added stac/education/bloom/stac-items.geoparquet
Binary file not shown.
12 changes: 11 additions & 1 deletion stac/fusion/14N/29E-188N/collection.json
Original file line number Diff line number Diff line change
Expand Up @@ -1894,5 +1894,15 @@
],
"url": "https://storage.googleapis.com/open-cogs/planet-stac/"
}
]
],
"assets": {
"geoparquet-items": {
"href": "stac-items.geoparquet",
"type": "application/x-parquet",
"roles": [
"stac-items"
],
"title": "GeoParquet STAC Items"
}
}
}
Binary file added stac/fusion/14N/29E-188N/stac-items.geoparquet
Binary file not shown.
16 changes: 13 additions & 3 deletions stac/open-skysat-data/collection.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
{
"href": "./20201211_103040_ssc12_u0001/20201211_103040_ssc12_u0001.json",
"rel": "item",
"title": "Ouro-Daiébé, Mopti, Mali",
"title": "Ouro-Dai\u00e9b\u00e9, Mopti, Mali",
"type": "application/json"
},
{
Expand All @@ -70,7 +70,7 @@
{
"href": "./cocabamba-peru/catalog.json",
"rel": "child",
"title": "Cocabamba, Perú",
"title": "Cocabamba, Per\u00fa",
"type": "application/json"
},
{
Expand Down Expand Up @@ -102,5 +102,15 @@
],
"url": "https://www.planet.com"
}
]
],
"assets": {
"geoparquet-items": {
"href": "stac-items.geoparquet",
"type": "application/x-parquet",
"roles": [
"stac-items"
],
"title": "GeoParquet STAC Items"
}
}
}
Binary file added stac/open-skysat-data/stac-items.geoparquet
Binary file not shown.
12 changes: 11 additions & 1 deletion stac/spacenet7/sn7_test_source/collection.json
Original file line number Diff line number Diff line change
Expand Up @@ -2382,5 +2382,15 @@
],
"url": "https://www.spacenet.ai"
}
]
],
"assets": {
"geoparquet-items": {
"href": "stac-items.geoparquet",
"type": "application/x-parquet",
"roles": [
"stac-items"
],
"title": "GeoParquet STAC Items"
}
}
}
Binary file not shown.
12 changes: 11 additions & 1 deletion stac/spacenet7/sn7_train_labels/collection.json
Original file line number Diff line number Diff line change
Expand Up @@ -7167,5 +7167,15 @@
],
"url": "https://www.spacenet.ai"
}
]
],
"assets": {
"geoparquet-items": {
"href": "stac-items.geoparquet",
"type": "application/x-parquet",
"roles": [
"stac-items"
],
"title": "GeoParquet STAC Items"
}
}
}
Binary file not shown.
12 changes: 11 additions & 1 deletion stac/spacenet7/sn7_train_source/collection.json
Original file line number Diff line number Diff line change
Expand Up @@ -7167,5 +7167,15 @@
],
"url": "https://www.spacenet.ai"
}
]
],
"assets": {
"geoparquet-items": {
"href": "stac-items.geoparquet",
"type": "application/x-parquet",
"roles": [
"stac-items"
],
"title": "GeoParquet STAC Items"
}
}
}
Binary file not shown.

0 comments on commit 97fed79

Please sign in to comment.