[whatwg] Pressure API?

Henri Sivonen hsivonen at iki.fi
Wed Oct 20 06:23:01 PDT 2010


> > 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? 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?

-- 
Henri Sivonen
hsivonen at iki.fi
http://hsivonen.iki.fi/



More information about the whatwg mailing list