I use SRID 4326(WGS 84).
So what is the measure of distance in ST_ClusterWithin . m, km, degree ?
I ask it because in documentation it only says:
geometry[] ST_ClusterWithin(geometry set g, float8 distance);
while ST_DWithin function signature at the same time looks like:
boolean ST_DWithin(geometry g1, geometry g2, double precision distance_of_srid);
boolean ST_DWithin(geography gg1, geography gg2, double precision distance_meters);
boolean ST_DWithin(geography gg1, geography gg2, double precision distance_meters, boolean use_spheroid);
As i know distance_of_srid for 4326 is degrees.