You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+16-28Lines changed: 16 additions & 28 deletions
Original file line number
Diff line number
Diff line change
@@ -8,40 +8,28 @@ This library helps convert [STAC Items](https://github.com/radiantearth/stac-spe
8
8
9
9
## Usage
10
10
11
-
`stac_geoparquet.to_dataframe` does it all. You give it a list of (STAC Item) dictionaries. It just converts them to a `geopandas.GeoDataFrame`, which can be written to parquet with `.to_parquet`.
Use `stac_geoparquet.to_arrow.stac_items_to_arrow` and
12
+
`stac_geoparquet.from_arrow.stac_table_to_items` to convert between STAC items
13
+
and Arrow tables. Arrow Tables of STAC items can be written to parquet with
14
+
`stac_geoparquet.to_parquet.to_parquet`.
20
15
21
16
Note that `stac_geoparquet` lifts the keys in the item `properties` up to the top level of the DataFrame, similar to `geopandas.GeoDataFrame.from_features`.
We also provide `stac_geoparquet.to_dict` and `stac_geoparquet.to_item_collection` helpers that can be used to convert from DataFrames back to the original STAC items.
32
+
See the [specification](./spec/stac-geoparquet-spec.md) for details on the output stac-geoparquet dataset.
0 commit comments