MacOS下Terminal获取GPS经纬度坐标
通过命令行直接获取经纬度坐标MacOS
- 首先下载WhereAmI,最新版本: https://github.com/robmathers/WhereAmI/releases/download/v1.1.0/whereami-1.1.0.zip
- 直接在命令行中输入运行即可(第一次运行需要允许应用)
![]()
能够显示经度、纬度、精度、准确率和时间,定位达到了小数点后4位, 误差为65米。
参考博客
StackOverflow-Python get GPS location on macOS
Github-robmathers/WhereAmI

浙公网安备 33010602011771号