4 ms·
Is there any altimeter access available through the browser? Would be neat to use this in 3D, could be done with a native app but I don't think in the browser.
by cryptoz 8y ago
Is there any altimeter access available through the browser? Would be neat to use this in 3D, could be done with a native app but I don't think in the browser.
- dafer45 8y agoAltitude data is available in principle from the GPS (although the precission is worse for this). So it would be possible to implement support for altitude too if that is needed. Do you have more information about what exactly you would like to achieve?
- cryptoz 8y agoI was just imagining it would be neat to find 3D areas: go upstairs, down a hall, downstairs, and have it compute the volume of the 3D area. The barometers available on devices would allow this to happen, but I don't know (don't think) that when you request location access via the browser it returns altitude information if the device supports it.
- dafer45 8y agoI see. This is indeed harder. I don't think there is any web API for accessing these sensors. Moreover, measuring the volume would require tracing out a much more complicated path since volumes are bounded by surfaces rather than edges. Given that the technical problems were solved, do you think that a human actually could manage to trace out a volume in an other cases than simple rectangular blocks etc?
- Gys 8y agoMeasurement of the altitude is notoriously bad with gps only. See for example https://en.wikipedia.org/wiki/Altimeter https://en.wikipedia.org/wiki/Altimeter
- cryptoz 8y agoSorry, I meant with a barometer. Mobile devices usually have a barometer that provides significantly more accurate altitude information.