[postgis-users] ST_Collect
Carsten Hogertz
carsten.hogertz at gmail.com
Fri Oct 11 00:29:51 PDT 2013
Hello,
I've got a question about using ST_Collect.
I have one table with hundrets of thousands of points. Within this table I
want to collect the points that are within a 500 meter radius and calculate
a convex hull around them.
Since the ST_DWithin needs (geom, geom, distance) and I only have one table
with points, do I first have to perform a self join to identify the points
within 500 meters and then a ST_Collect to group these points? Or can I
somehow do it without joining the one table with itself?
And can I use the ST_DWithin inside the ST_Collect? Like
ST_Collect(ST_DWithing(geom,geom,distance))?
Thanks for your help!
--
Carsten
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20131011/5e95a12c/attachment.html>
More information about the postgis-users
mailing list