Alex Rivera | Logout

Separate GIS points into groups of points that are close to each other

Asked 2012-10-26T12:52:55.190
8

Have set of coordinates that need to be separated into groups that are close to each other.

Working with Python against a PostgreSQL database. I figured out a solution that would work, but then I realized that I'm probably re-inventing the wheel. Are there libraries that I can use to accomplish this without having roll my own solution?

Example:

enter image description here

Edit
Report

1 Answer

11

There are two good solutions implemented directly in PostGIS in the answers to this GIS SE question:

Spatial clustering with PostGIS

You can also find some useful pointers in the answers to:

How to identify clusters in vector point data?

answered 2012-10-26T13:40:54.090

Your Answer