gdf_to_centroid#

gdf_to_centroid(gdf: GeoDataFrame) dict[source]#

Convert a geodataframe to a STAC centroid

Parameters

gdf (gpd.GeoDataFrame) – Geodataframe to convert to centroid

Returns

STAC centroid

Return type

dict