Modern smartphones have turned into universal pocket laboratories, capable of measuring not only time and distance, but also the physical parameters of the environment. For travelers, climbers or simply curious users, the question often arises at what altitude they are currently located. Knowing the exact altimetry mark can be critical when planning routes in the mountains or for understanding weather conditions.
Fortunately, most devices based on Android equipped with the necessary sensors to carry out such measurements without the involvement of third-party equipment. However, the result directly depends on the quality of the built-in sensors and the chosen calculation method. In this article we will analyze in detail all the available methods, from using built-in system functions to installing specialized software.
Using the built-in barometer
The most accurate way to obtain altitude data is to use the built-in one. barometric sensor. This sensor measures atmospheric pressure, which naturally decreases with distance from the Earth's surface. Based on the obtained values, the system calculates the relative height above the reference point.
It is worth noting that not all smartphones are equipped with such a module. Typically, a barometer is present in flagship models and mid-price devices aimed at outdoor activities. To check the presence of a sensor, you can use diagnostic utilities or specialized applications for checking hardware.
The operating principle is based on the international standard atmosphere, where a pressure drop of 1 hectopascal approximately corresponds to a rise of 8 meters. However, to obtain absolute values, calibration to a known point is necessary. Without this procedure, you will only see a change in altitude relative to your current position.
โ ๏ธ Attention: Atmospheric pressure is constantly changing due to weather conditions. A sudden change in altitude readings without you moving often indicates an approaching cyclone or anticyclone, rather than a shift in terrain.
If your device has a barometer, the accuracy of the measurements can be up to several meters, which significantly exceeds the vertical capabilities of satellite navigation. This makes this method preferable for trekking and mountaineering.
Before climbing, be sure to calibrate the barometer at a point with a known altitude (for example, at the foot of a mountain or at an observation deck with a sign) to minimize the error in the further route.
Determination of altitude via GPS and GLONASS
An alternative method is to use satellite navigation systems. The GNSS module in your smartphone receives signals from GPS, GLONASS, Galileo or BeiDou satellites, calculating three-dimensional coordinates, including altitude. This method does not require a barometer and works on most devices.
However, the vertical accuracy of GPS is traditionally inferior to the horizontal. The error can range from 10 to 50 meters and even more in dense urban areas or in gorges. The signal may be reflected from buildings (multipath effect), which distorts calculations ellipsoidal height.
To improve signal quality, it is recommended to be in an open area with a good view of the sky. It is also worth waiting a few minutes after turning on geolocation for the device to download the latest satellite almanacs and perform a cold start.
- ๐ฐ๏ธ Turn on the โHigh accuracyโ mode in the geolocation settings to use all available sources.
- ๐๏ธ Avoid measurements inside buildings, tunnels or dense forests, where the signal is strong weakened.
- ๐ Give the device time to warm up the GPS module before starting serious measurements.
Despite the lower accuracy, the GPS method is convenient in that it shows the absolute altitude above sea level (taking into account the geoidal model), and not just the pressure difference. This is useful for checking with topographic maps.
Popular applications for measuring altitude
Standard Android tools do not always provide a convenient interface for displaying altimetry data in real time. Therefore, it is advisable to install specialized software from the store Google Play. Such applications aggregate data from all available sensors, providing the most accurate picture.
One โโof the leaders in this niche is the application Altimeter & Altitude Widget. It can switch between operating modes using either a barometer, GPS, or a combination of both. The user can see the current altitude, the maximum for the session and the height difference passed.
Another powerful tool is GPS Status & Toolbox. This is a professional tool that shows raw data from satellites, including each satellite's signal strength and calculated altitude. Here you can manually reset A-GPS data to speed up satellite search.
When choosing software, pay attention to the presence of a calibration function and the ability to save tracks. Some applications allow you to export data in GPX or KML format for subsequent analysis on a computer.
โ ๏ธ Attention: Application interfaces and calculation algorithms can be updated by developers. Always check the official description in the application store to understand the current capabilities of a particular version of the app.
โ๏ธ Selecting an application for an altimeter
Using online maps and services
If you do not need real-time measurement while driving, but just find out the height of a specific point on the map, itโs easier just use web services. Google Maps, Yandex.Maps and specialized resources like WhatIsMyElevation provide this data instantly.
To obtain information in Google Maps on your computer, just right-click on the point of interest. The drop-down menu often displays coordinates and, in some versions, terrain. However, on mobile devices this feature may be hidden or require an elevation layer to be enabled.
There are sites where you enter your coordinates or address, and the service returns your altitude based on global digital elevation models (SRTM or ASTER). The accuracy of such data is usually about 10-30 meters, which is enough for a general understanding of the landscape.
This method is ideal for pre-planning a hike or studying the area before a trip. You can mark key points in advance and find out their elevations to assess the difficulty of the upcoming route.
Why can maps show different heights?
Different services use different geodetic models of the Earth. Somewhere an ellipsoid is used, and somewhere a geoid (sea level), which creates discrepancies in numbers of up to several tens of meters.
Comparison of methods and data accuracy
To choose the optimal method, you need to understand the strengths and weaknesses of each of them. The barometer perfectly records changes, but โfloatsโ when the weather changes. GPS gives an absolute value, but is noisy and has a large error. Online maps are static, but based on verified geodetic data.
The table below shows a comparison of the main characteristics of various methods for determining height on devices Android.
| Method | Accuracy | Weather dependence | Necessity Internet |
|---|---|---|---|
| Barometer | High (1-3 m) | High | No (desirable for calibration) |
| GPS / GLONASS | Medium (10-50 m) | Low | No (sky view required) |
| Online maps | Medium (5-30 m) | No | Required |
| Combined | Very high | Average | Desirable |
Modern applications often use touch furzycombining barometer and GPS data. This allows you to smooth out the shortcomings of each method separately: GPS corrects the drift of the barometer due to weather, and the barometer smoothes out GPS noise when moving.
For professional tasks, such as scientific research or precision mapping, a smartphone still cannot replace a professional geodetic receiver. But for domestic needs and amateur tourism its capabilities are more than enough.
The best accuracy in dynamics is provided by a combination of a barometer and GPS, when the application automatically corrects pressure readings based on satellite data when a connection appears.
Calibration and error correction
Even the most advanced sensors require periodic adjustments. If you notice that the altitude readings clearly do not correspond to reality (for example, you are on the seashore, and the phone shows 200 meters), you need to perform calibration.
Many applications have the โCalibrate by GPSโ or โSet altitude manuallyโ function. The first option tries to take data from satellites, the second allows you to enter a known value found on a map or sign. This resets the accumulated barometric pressure error.
It's also worth checking your power saving settings. Aggressive battery saving modes may disable sensors or reduce GPS polling rates, resulting in incorrect data. Add the altimeter app to exceptions or whitelist.
- ๐ Disable Power Saving mode during measurements.
- ๐ Be in an open area when calibrating with GPS.
- ๐ก๏ธ Be aware of the temperature: extreme cold may temporarily reduce accuracy sensors.
Regular verification of readings with reference values will help maintain the instrument in combat readiness. This is especially true before the start of complex mountain expeditions, where an error in determining the altitude can be costly.
โ ๏ธ Attention: Do not blindly trust the readings of one device. In critical situations, always have a paper map with the relief or check the data with other group members.
Frequently asked questions
Why does the altitude reading keep changing even though I am standing still?
This is due to changes in atmospheric pressure due to weather conditions. The barometer reacts to the arrival of cyclones or anticyclones. For stable readings, periodic auto-calibration via GPS or the Internet is required.
Is it possible to measure altitude without the Internet?
Yes, if your smartphone has a barometer or GPS module. The application will use sensor data locally. The Internet will only be required for the initial calibration or downloading of relief maps.
What is the difference between the height above the ellipsoid and above sea level?
GPS initially measures the height relative to the mathematical model of the Earth (ellipsoid). Height above sea level (geoidal) takes into account the unevenness of the gravitational field. The difference between them can reach 100 meters depending on the region.
Does the case affect the accuracy of measurements?
A regular silicone or plastic case does not affect the operation of the barometer or GPS. However, metal cases or cases with magnetic fasteners can shield the signal or interfere with the compass, which indirectly affects navigation.
Which application is the most accurate for Android?
There is no universal leader, since accuracy depends on the hardware of the phone. Good results are shown Altimeter from eXaltica, GPS Status and built-in trackers in sports watches synchronized with a smartphone.