<div dir="ltr">Glad to hear there is some interest! I posted some ideas to <a href="http://trac.osgeo.org/postgis/wiki/DevClusteringFunctions">http://trac.osgeo.org/postgis/wiki/DevClusteringFunctions</a><div><br></div><div>Thanks,</div><div>Dan</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jan 15, 2015 at 12:28 PM, Paul Ramsey <span dir="ltr"><<a href="mailto:pramsey@cleverelephant.ca" target="_blank">pramsey@cleverelephant.ca</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">Daniel,</div><div style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">This is interesting stuff, could you post some example function signature and input/output pictures on the wiki so we can do a little design review. I thing it’s very exciting and am very positive about it.</div><span class="HOEnZb"><font color="#888888"><div style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto"><br></div><div style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">P</div> <div>
<div>
<br>
</div>
-- <br>
Paul Ramsey<br>
<a href="http://cleverelephant.ca" target="_blank">http://cleverelephant.ca</a><div><a href="http://postgis.net" target="_blank">http://postgis.net</a>
</div>
</div></font></span><div><div class="h5"> <br><p style="color:#000">On January 15, 2015 at 4:14:44 AM, Daniel Baston (<a href="mailto:dbaston@gmail.com" target="_blank">dbaston@gmail.com</a>) wrote:</p> </div></div><blockquote type="cite"><span><div><div></div><div><div><div class="h5">
<div dir="ltr">
<div>
<div>
<div>
<div>Hello,<br>
<br>
I'm working on a couple of C-language functions to solve some
clustering problems I frequently face in PostGIS. I'm
wondering if there may be any level of interest in including such
functions in the project? I would be happy to flesh these out
to include the error-handling and unit-testing that would be
required.<br>
<br></div>
Function #1 takes a GeometryCollection and returns the same
geometries, re-aggregated into groups of interconnected geometries
(solving a question I posted about at <a href="http://gis.stackexchange.com/q/94203" target="_blank">http://gis.stackexchange.com/q/94203</a>
)<br>
<br></div>
<div>(Internally this builds an STRtree using GEOS and uses a
union-find structure to identify connected components....as an
aside, I am wondering if there is some way to take advantage of a
database spatial index that may already exist)<br></div>
<div><br></div>
</div>
Function #2 (not written) would solve a related problem - we want
to take a set of points and return a set of MultiPoints, where each
point in a MultiPoint is within distance X of some other point in
the MultiPoint.<br>
<br></div>
Thanks,<br>
Dan<br></div></div></div><span class="">
_______________________________________________
<br>postgis-devel mailing list
<br><a href="mailto:postgis-devel@lists.osgeo.org" target="_blank">postgis-devel@lists.osgeo.org</a>
<br><a href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-devel" target="_blank">http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-devel</a></span></div></div></span></blockquote></div><br>_______________________________________________<br>
postgis-devel mailing list<br>
<a href="mailto:postgis-devel@lists.osgeo.org">postgis-devel@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-devel" target="_blank">http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-devel</a><br></blockquote></div><br></div>