阅读背景:

从GPS坐标组中获取最大距离

来源:互联网 

So I have a database with multiple rows of GPS coordinates. I know how to calculate the distance from a given lat/lng from any one of them in the database, but what I want to do basically is look at the coordinates of a set of rows and get the two rows that are farthest apart. I'd love it if I could do this in SQL, but if I have to do it in my application code that would work to. Here is what I am doing to calculate the distance between two points:So I have a database with multiple rows of GPS




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: