How can I get the latitude and longitude of “x” meter from ref latitude and longitude?

后端 未结 4 1749
自闭症患者
自闭症患者 2021-01-14 05:21

I have a distance in meters and ref latitude and longitude. Now I want latitude and longitude from the given ref point on x meters in four direction (south, north, east and

4条回答
  •  盖世英雄少女心
    2021-01-14 06:10

    How accurate does it have to be? You can often assume the earth is a sphere with a radius of 6360 km. In that case, one degree north or south is 10000/90 kilometers (that's how the meter was defined). East/West is only slightly harder, one degree east is 10000/90 km * cos(latitude).

提交回复
热议问题