<div dir="auto">Yay!<div dir="auto"><br></div><div dir="auto">The "Win" part is not very pretty though. Do you think we can get it into maybe something like ST_Cluster(geom, strategy:='intersecting/within/dbscan/kmeans/xmeans/...')? I believe set of other configuration options is not too wide between the methods. </div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">пт, 24 лют 2023, 22:41 карыстальнік Paul Ramsey <<a href="mailto:pramsey@cleverelephant.ca">pramsey@cleverelephant.ca</a>> напісаў:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word;line-break:after-white-space"><div>Martin and I have repeatedly said “it would be nice if all the clustering functionality was available as windowing functions”, and here I have finally gone and added that in. This adds ST_ClusterIntersectingWin and ST_ClusterWithinWin, as windowing analogues to ST_ClusterIntersecting and ST_ClusterWithin</div><div><br></div><a href="https://github.com/postgis/postgis/pull/721" target="_blank" rel="noreferrer">https://github.com/postgis/postgis/pull/721</a><div><br></div><div>Unfortunately for backwards compatibility we can’t (I think) just yank and replace the existing functions in favour of the windowing ones, even though I think most people will vastly prefer windowing as an approach to cluster functionality.</div><div><br></div><div>P</div></div>_______________________________________________<br>
postgis-devel mailing list<br>
<a href="mailto:postgis-devel@lists.osgeo.org" target="_blank" rel="noreferrer">postgis-devel@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/postgis-devel" rel="noreferrer noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/postgis-devel</a><br>
</blockquote></div>