Distance from point to line on Earth

后端 未结 6 1105
傲寒
傲寒 2020-12-09 14:21

I need something as simple as

\"Subject 1.02: How do I find the distance from a point to a line?\"

But that works with Lon/Lat.

6条回答
  •  鱼传尺愫
    2020-12-09 14:46

    i havent worked with lon/lat before but.. i would create a coordinate system. center of earth being the origin. convert the lon/lat locations to the coordinate system do your calculations convert back to lon/lat

提交回复
热议问题