<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"><meta name="Generator" content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
span.E-mailStijl17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style></head><body lang="NL" link="#0563C1" vlink="#954F72"><div class="WordSection1"><p class="MsoNormal">I’m trying to use the new st_clusterwithin function, but it keeps failing.</p><p class="MsoNormal"> </p><p class="MsoNormal">I’ve tried to cluster 20 points with the following query.</p><p class="MsoNormal"> </p><p class="MsoNormal"> SELECT </p><p class="MsoNormal"> ST_ClusterWithin(geom, 50)</p><p class="MsoNormal"> FROM winkels</p><p class="MsoNormal"> </p><p class="MsoNormal">Most of the times I get the message</p><p class="MsoNormal">“ERROR: Tolerance not defined</p><p class="MsoNormal">SQL state: XX000”</p><p class="MsoNormal">A few times it did work and gave me a result, but trying again will lead to the same error.</p><p class="MsoNormal"> </p><p class="MsoNormal">I’m working with postgis 2.2.2dev (but also tried it with 2.2.0).</p><p class="MsoNormal"> </p><p class="MsoNormal">Anyone has a solution how to solve this?</p><p class="MsoNormal"> </p><p class="MsoNormal" style="mso-margin-top-alt:auto"><b><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#1f497d">Ronnie Lassche</span></b><span style="font-size:12.0pt;font-family:"Times New Roman",serif"></span></p><p class="MsoNormal"> </p></div></body></html>