<div dir="ltr"><div><div><div><div><div><div>The obvious answer here is to use PLR/R (<a href="http://www.joeconway.com/plr/">http://www.joeconway.com/plr/</a>).<br></div><br></div>There are many many ways to perform clustering (<a href="http://cran.r-project.org/web/views/Cluster.html">http://cran.r-project.org/web/views/Cluster.html</a>), <br>
</div>be it supervised or un-supervised, or even using machine learning (<a href="http://cran.r-project.org/web/views/MachineLearning.html">http://cran.r-project.org/web/views/MachineLearning.html</a>).<br><br></div>So the easiest way is install plr (very easy on linux/mac/win), R, then try one of the hundred of methods available  based on your requirement.<br>
<br></div><div>As a bonus you can plot easily the result. I tried this and it took may few days total to have a working tool (no previous knowledge of R).<br></div><div><br></div>You have an entire task view dedicated to spatial data in R (<a href="http://cran.r-project.org/web/views/Spatial.html">http://cran.r-project.org/web/views/Spatial.html</a>).<br>
<br></div><div>On an other end, and if you feel adventurous, you could try MadLib : <a href="http://madlib.net/">http://madlib.net/</a> (NEED 64b !), which answers exactly to your needs.<br><br></div>Cheers,<br>Rémi-C<br>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-06-22 15:29 GMT+02:00 Travis Kirstine <span dir="ltr"><<a href="mailto:traviskirstine@gmail.com" target="_blank">traviskirstine@gmail.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">The kneans that I have seen used is loaded as a additional function and does not require you to recompile<div class="HOEnZb">
<div class="h5"><br><br>On Sunday, June 22, 2014, Miguel-Angel Manso-Callejo (UPM) <<a href="mailto:m.manso@upm.es" target="_blank">m.manso@upm.es</a>> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dear all,<br>
<br>
I am interesting on perform spatio/temporal clustering of points geometries stored in a postgis layer.<br>
<br>
I have looked for any posssible solution implemented in postgis and i have not found any one.<br>
I have seen some discussion and proposal based on building a new function kmeans for postgresql, but this solution require compile postgresql.<br>
Other solution that i have tryed is a pgplsql function that compute convexhull of points that not distance more than X m.<br>
<br>
My question is:<br>
<br>
Have you any alternative solution or have developed more pgplsql functions to do perform point clustering in postgis?<br>
<br>
Regards,<br>
Miguel A. Manso<br>
______________________________<u></u>_________________<br>
postgis-users mailing list<br>
<a>postgis-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users" target="_blank">http://lists.osgeo.org/cgi-<u></u>bin/mailman/listinfo/postgis-<u></u>users</a><br>
</blockquote>
</div></div><br>_______________________________________________<br>
postgis-users mailing list<br>
<a href="mailto:postgis-users@lists.osgeo.org">postgis-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users" target="_blank">http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users</a><br></blockquote></div><br></div>