[whatwg] Pressure API?

Am 20.10.2010 15:23, schrieb Henri Sivonen:
>>> now that device orientation, geolocation, camera etc. have been
>>> spec'ed:
>>> Is there any intent to provide an API for pressure sensors?
>>>
>>> This might well be the next hip feature in smartphones ...
>>
>> Note that differential pressure measurements from nearby locations can
>> be better at determining
>> altitude differences than GPS, plus, they work indoors.
> 
> Are there other use cases apart from guessing the altitude? 

A browser-based dive computer ;-)

And maybe something determining the weather.


> It figuring out the device altitude is the use case, shouldn't the API expose the altitude and allow the altitude to be computed by the browser or by the operating system from a pressure sensor, from GPS or both?
> 


Agreed, maybe providing some meta-information. But you probably do want
the raw data in any case.

Jens

Received on Wednesday, 20 October 2010 06:35:54 UTC