[postgis-users] st_clusterwithin fails

Ronnie Lassche ronnie.lassche at merkator.info
Wed Feb 17 04:44:54 PST 2016


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

SQL state: XX000”

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).



Anyone has a solution how to solve this?



*Ronnie Lassche*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20160217/37ef2f36/attachment.html>


More information about the postgis-users mailing list