[postgis-users] st_clusterwithin fails

Sandro Santilli strk at keybit.net
Wed Feb 17 08:09:13 PST 2016


On Wed, Feb 17, 2016 at 01:44:54PM +0100, Ronnie Lassche wrote:
> I’m trying to use the new st_clusterwithin function, but it keeps failing.
> 
> I’ve tried to cluster 20 points with the following query.
> 
> SELECT ST_ClusterWithin(geom, 50) FROM winkels
> 
> Most of the times I get the message
> 
> “ERROR: Tolerance not defined
> 
> A few times it did work and gave me a result, but trying again will lead to
> the same error.
> 
> I’m working with postgis 2.2.2dev (but also tried it with 2.2.0).

Can you reproduce the problem on a new database ?
If so, what's the output of SELECT postgis_full_version() on that
new database ?

--strk;



More information about the postgis-users mailing list