cluster_area
Compute the area of a hull of a GeoDataFrame.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
gdf
|
GeoDataFrame
|
The GeoDataFrame containing the cluster data. |
required |
hull_type
|
str
|
The type of hull to compute. One of: "alpha_shape", "convex_hull", "ellipse". |
'alpha_shape'
|
**kwargs
|
Additional keyword arguments for the hull computation
(e.g., |
{}
|
Returns:
Name | Type | Description |
---|---|---|
float |
float
|
The area of the computed hull. |