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:
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?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With