longitude/latitude 信息是否直接来自 Android 设备上的 GNSS 芯片?
Does longitude/latitude info come directly from GNSS chip on Android devices?
我正在尝试与设备上的 GNSS 芯片直接通信,但我不清楚 RAW GNSS 信息是否直接来自 GNSS 芯片。我使用了 link 中提供的应用程序,它似乎读取了 longitude/latitude 信息。
这些信息是直接来自GNSS芯片吗?此外,GNSS 驱动程序是否足以提取此信息?还是longitude/latitude信息是根据GNSS原始数据计算出来的?如果是后者,我如何从原始 GNSS 计算 longitude/latitude(参考就足够了)?
注意:我对高精度位置不感兴趣,也不对室内位置检索(使用 Wi-Fi 和运营商服务)感兴趣。我想记录 GPS(或 Glonass 或其他)并将其保存为 longitude/latitude 格式。
显然,GPS 提供了信息。我找到了部分答案 here。 (这是针对 GPS 的,它不包括 Glonass 和 Galileo 等其他 GNSS 芯片)。
显然,GPS 硬件按照 NMEA 格式输出结果。来自页面:
GPS is a commonly used constellation of GNSS satellites. GPS hardware typically reports location information as ASCII strings in the NMEA standard format. Each line of data is a comma-separated list of data values known as a sentence. While each GPS module may choose to report different portions of the NMEA protocol, most devices send one or more of the following sentences:
GPGGA (Fix Information): Includes position fix, altitude, timestamp, and satellite metadata.
GPGLL (Geographic Latitude/Longitude): Includes position fix and timestamp.
GPRMC (Recommended Minimum Navigation): Includes position fix, speed, timestamp, and navigation metadata.
因此,GPS 驱动程序足以提供 longitude/latitude 信息。
我正在尝试与设备上的 GNSS 芯片直接通信,但我不清楚 RAW GNSS 信息是否直接来自 GNSS 芯片。我使用了 link 中提供的应用程序,它似乎读取了 longitude/latitude 信息。
这些信息是直接来自GNSS芯片吗?此外,GNSS 驱动程序是否足以提取此信息?还是longitude/latitude信息是根据GNSS原始数据计算出来的?如果是后者,我如何从原始 GNSS 计算 longitude/latitude(参考就足够了)?
注意:我对高精度位置不感兴趣,也不对室内位置检索(使用 Wi-Fi 和运营商服务)感兴趣。我想记录 GPS(或 Glonass 或其他)并将其保存为 longitude/latitude 格式。
显然,GPS 提供了信息。我找到了部分答案 here。 (这是针对 GPS 的,它不包括 Glonass 和 Galileo 等其他 GNSS 芯片)。
显然,GPS 硬件按照 NMEA 格式输出结果。来自页面:
GPS is a commonly used constellation of GNSS satellites. GPS hardware typically reports location information as ASCII strings in the NMEA standard format. Each line of data is a comma-separated list of data values known as a sentence. While each GPS module may choose to report different portions of the NMEA protocol, most devices send one or more of the following sentences:
GPGGA (Fix Information): Includes position fix, altitude, timestamp, and satellite metadata.
GPGLL (Geographic Latitude/Longitude): Includes position fix and timestamp.
GPRMC (Recommended Minimum Navigation): Includes position fix, speed, timestamp, and navigation metadata.
因此,GPS 驱动程序足以提供 longitude/latitude 信息。