简体   繁体   中英

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

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?

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM