intake / intake-stac

Intake interface to STAC data catalogs
https://intake-stac.readthedocs.io/en/latest/
BSD 2-Clause "Simplified" License
111 stars 25 forks source link

feat: Add STAC item id to geopandas #158

Open jthetzel opened 1 year ago

jthetzel commented 1 year ago

When calling to_geopandas() the resulting GeoDataFrame has no id column indicating the STAC item id if it is not included in the STAC item properties. This small change checks if an id column is present in the GeoDataFrame, and if not, adds the STAC item ids.

Also fixes a CI build error caused by seed-isort-config, which is no longer maintained and is obsoleted by isort >= 5.0.0 ( https://github.com/asottile-archive/seed-isort-config/issues/72#issuecomment-665472797 ).

Also fixes a few sphinx build errors.

jthetzel commented 1 year ago

This is ready for review, @TomAugspurger , @scottyhq .