pystac icon indicating copy to clipboard operation
pystac copied to clipboard

Use stacrs to read+write stac-geoparquet

Open gadomski opened this issue 1 year ago • 3 comments

stacrs is a zero-dependency Python package that can read and write stac-geoparquet files. We could add stacrs as an optional dependency here to enable stac-geoparquet for pystac.

The option of adding stacrs to pystac was discussed in this issue: https://github.com/stac-utils/stac-rs/issues/462

[!NOTE] I am the author of stacrs so I may have some bias.

gadomski avatar Oct 18 '24 21:10 gadomski

Does it only make sense to read-write ItemCollections as stac-geoparquet?

jsignell avatar Feb 06 '25 18:02 jsignell

I think so. Right now we're not sure exactly how to handle collections in the geoparquet metadata (https://github.com/stac-utils/stac-rs/issues/428, I really should open up an issue on the spec for that one).

gadomski avatar Feb 06 '25 19:02 gadomski

Yeah I was just looking at that because I was thinking about #1254 and noticed that the geoparquet that comes out of stacrs right now does not have the collection-level fields at the top.

jsignell avatar Feb 06 '25 21:02 jsignell