android - 如何从 nmea 句子信息计算以米为单位的 gps 精度

标签 android bluetooth gps nmea

我有一个 android 应用程序,它从蓝牙 gps 接收器获取 GPGGA 和 GPRMC 语句,如何计算以米为单位的给定位置的水平精度?

最佳答案

如果您像您在评论中所说的那样以米为单位提供 HDOP 精度,那么您提供的是一个完全错误的幻想值。

作为与实际问题相关的替代答案,我只是想提供一个指向 GIS Stackexchange 网站的相关链接,该网站也提出了这个问题:https://gis.stackexchange.com/questions/97774/how-can-i-convert-horizontal-dilution-of-position-to-a-radius-of-68-confidence

简而言之:这不是微不足道的,仅靠 HDOP 不足以获得可靠的准确性。正如 user30184 评论的那样,有些人只是使用例如3-5米作为设备的精度,然后将其与HDOP相乘得到精度。

但总的来说,让我引用来自 this also provided link 的 claudegps :

You can't. DOP is not an indicator of "error" or "accuracy". Bad DOP does not always mean bad accuracy for example. Moreover the "accuracy" should not consider only DOP: Imagine to be indoor (very low signal, a lot of multipath ecc) but with a good DOP: you may have a very bad accuracy even with a good DOP... So your indication DOP-based will be wrong. Unfortunately, if you have only NMEA sentences, you usually don't have enough data to estimate the accuracy (that can be done internally to the receiver as it have much more informations inside).

您也可以查看此链接:https://www.gps-forums.com/threads/estimating-accuracy-from-raw-nmea-data.46273/最后但同样重要的是,来自 this link :

6 sources of error (and additional factors) affect the accuracy of GPS positions

关于android - 如何从 nmea 句子信息计算以米为单位的 gps 精度,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29301909/

相关文章:

android - 触摸阶段行为问题

android - 更新到 Android Studio 3.2 后,Gradle 同步失败,没有特定错误 - Android Gradle 插件 3.2.0

android - Swift 到 Kotlin - 扩展

javax.bluetooth 包

java - Google Play 服务位置 API - 计算距离

android - 使用 MvxExpandableListView

iphone - 如何使用 iPhone 与 IDBlue RFID 笔通信 RFID 标签?

.net - .NET 的 Garmin 协议(protocol) GPS 库有哪些

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

ios - 为什么 NSBluetoothPeripheralUsageDescription key 的应用程序被 "Missing Purpose String in Info.plist File"拒绝?