过滤掉相同半径内的 GPS 坐标

Filtering out GPS coordinates that are within same radius

我在 CSV 文件中有一个 lat/long 格式的列表,其中包含将近 100,000 个 GPS 坐标。其中很多彼此之间只有几英寸的距离,所以我想以某种方式合并它们,或者过滤掉在一定半径内太靠近的那些。

你们知道可以自动执行此操作的脚本或服务吗?

参考了一篇很好的论文,解释了如何在另一个线程的指定边界框内找到最近的 lat/lng 点,您可以在这里找到:latitude/longitude find nearest latitude/longitude - complex sql or complex calculation

这里是论文的直接link:Geo Distance Search with MySQL

我认为您可以将论文中的想法应用到您的域中以设置过滤程序。