bento.ut.get_shape¶
- bento.ut.get_shape(sdata, shape_key, sync=True) GeoSeries¶
Get shape geometries synchronized with cell boundaries.
- Parameters:
sdata (SpatialData) – Input SpatialData object
shape_key (str) – Key for shapes in sdata.shapes
sync (bool, default True) – Whether to sync shapes with instance_key shapes
- Returns:
Shape geometries
- Return type:
gpd.GeoSeries
- Raises:
ValueError – If shape_key not found in sdata.shapes