ST_DBSCAN
Signature
Parameters
ColumnOrName
required
Geometry column or name.
Union[ColumnOrName, float]
required
Maximum distance between two points for them to be considered neighbors.
Union[ColumnOrName, int]
required
Minimum number of neighbors a point must have to form a cluster.
Optional[Union[ColumnOrName, bool]]
default:"False"
Whether to use ST_DistanceSpheroid instead of ST_Distance as the distance metric. Default is False.
Returns
Column
Struct with the cluster the point belongs to and whether it is a core point.

