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:
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.