Re: [geolocation-sensor] Barometer altitude (if the device has barometer) (#43)

@karianpour via https://lists.w3.org/Archives/Public/public-device-apis/2021Oct/0000.html

>I wanted to point out that in some sports, like paragliding, the background tracking needs the barometric altitude as well as gps altitude. I know that some devices might not have the barometer, but it would be perfect to be able to access it if it is present.

Thanks for the proposal. We encourage you to continue append your feedback to this GH issue.

Helpful would be to expand on the use cases that require both high accuracy and high precision.

Now revisiting this issue after some time, I want to note typically Web APIs abstract out implementation details such as whether barometer or GPS, a fusion of both, or some other hardware, is used to measure the altitude. There are exceptional cases (see [GPS spoofing attacks](https://en.wikipedia.org/wiki/Spoofing_attack#GPS_spoofing)) where this might fail, but generally leaving these as implementation details work out well.

I believe browser implementations could already use the underlying OS APIs such as [pressure](https://developer.android.com/reference/android/hardware/Sensor#TYPE_PRESSURE) and fuse with GPS for both high accuracy and high precision altitude. I'd like to understand the use cases better where this type of fusion is not working out and require the use of barometer (only?) directly. Earlier [enableHighAccuracy](https://www.w3.org/TR/geolocation/#enablehighaccuracy-member) flag caused interoperability issues, so we want to learn from that too.

-- 
GitHub Notification of comment by anssiko
Please view or discuss this issue at https://github.com/w3c/geolocation-sensor/issues/43#issuecomment-932049685 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Friday, 1 October 2021 08:59:15 UTC