gpt4 book ai didi

gps - 这是哪种 Lat-Lon 表示法?

转载 作者:行者123 更新时间:2023-12-02 01:35:21 25 4
gpt4 key购买 nike

我有一组经纬度坐标,看起来像,

  • 纬度=9339452,经度=4294611105
  • 纬度=9386855,经度=4294690789
  • 纬度=9388898,经度=4294697554
  • 纬度=9389437,经度=4294725570

我需要一个公式来将上面给定的 GPS 坐标转换为弧度或度数。如果您知道此类 GPS 表示,请告诉我。

最佳答案

第二个数字 (4294...) 是负符号数 (INT32),读作 UINT32。

这会给

Lat=9339452, Lon=-356191
Lat=9386855, Lon=-276507
Lat=9388898, Lon=-269742
Lat=9389437, Lon=-241726

这将更好地匹配纬度/经度坐标(lon=53ish,lat=-1.5ish)。

将这些数字从弧度转换为度数并除以 1e7:

Lat=53.51111825650155, Lon=-2.04082410005443,
Lat=53.78271744012741, Lon=-1.58426841058238,
Lat=53.79442296788193, Lon=-1.54550781574178,
Lat=53.79751121039769, Lon=-1.38498795985793,

即,f(x) = x * 180/pi * 1e-7

关于gps - 这是哪种 Lat-Lon 表示法?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31535673/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com