Error in .pointsToMatrix(p1) : latitude > 90

后端 未结 3 1973
情话喂你
情话喂你 2021-01-16 09:46

I am trying to use the distVincentyEllipsoid function in the geosphere package in R to calculate the distance between different points in my data frame, following the exampl

3条回答
  •  执念已碎
    2021-01-16 10:02

    I was just having the same issue. Check to see if you input the data as c(LONG, LAT). I had made the mistake of using the more common format of c(LAT, LONG).

提交回复
热议问题