Skip to content

Reconstruct STAC Items from geoparquet rows #46

Description

Apologies if this isn't the right repo to ask this question, but I was looking to reconstruct PySTAC Items from geoparquet rows (https://planetarycomputer.microsoft.com/docs/quickstarts/stac-geoparquet/#Bulk-STAC-item-queries-with-GeoParquet). Is there a convenience method of the flavor item = planetary_computer.item_from_geoparquet_row(dataframe, index) or something similar that I'm not finding? If not, would this be the place to open a PR to add such functionality, or is there a better repo?

I realize iterating over rows of a geopandas dataframe is an antipattern, but I think it's required for my use case (bulk load STAC items, modify them, then write them back out). If there's a better way, any guidance would be appreciated.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions