PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ union_dbscan()

int union_dbscan ( LWGEOM **  geoms,
uint32_t  num_geoms,
UNIONFIND uf,
double  eps,
uint32_t  min_points,
char **  in_a_cluster_ret 
)

Definition at line 514 of file lwgeom_geos_cluster.c.

515 {
516  if (min_points <= 1)
517  return union_dbscan_minpoints_1(geoms, num_geoms, uf, eps, in_a_cluster_ret);
518  else
519  return union_dbscan_general(geoms, num_geoms, uf, eps, min_points, in_a_cluster_ret);
520 }
static int union_dbscan_general(LWGEOM **geoms, uint32_t num_geoms, UNIONFIND *uf, double eps, uint32_t min_points, char **in_a_cluster_ret)
static int union_dbscan_minpoints_1(LWGEOM **geoms, uint32_t num_geoms, UNIONFIND *uf, double eps, char **in_a_cluster_ret)

References union_dbscan_general(), and union_dbscan_minpoints_1().

Referenced by cluster_within_distance(), do_dbscan_test(), and ST_ClusterDBSCAN().

Here is the call graph for this function:
Here is the caller graph for this function: