Modern smartphones are complex computing systems that can replace many specialized devices. One of these functions is the determination of geographic coordinates and altimetry data, that is, altitude above sea level. This information can be critical for climbers, drone pilots, surveyors or simply curious tourists who want to know exactly what altitude they are at at the moment.
The built-in capabilities of the operating system Android allow you to receive this data via satellite navigation, but the accuracy directly depends on the quality of signal reception and the presence of additional sensors in the device. Standard maps often show the height of the relief, but not your current position relative to sea level in real time.
There are several methods for obtaining accurate readings, ranging from using specialized software to analyzing the technical characteristics of your gadget. Understanding the operating principles of GPS module and the barometer will help to avoid errors in measurements.
Principles of determining altitude via GPS and GLONASS
The main source of location data for a smartphone is the global navigation satellite system. The device receives signals from several satellites simultaneously, calculating not only latitude and longitude, but also altitude. However, it is worth considering that the vertical error of satellite systems is traditionally higher than the horizontal one.
The accuracy of the determination depends on the number of visible satellites and the quality of the antenna. In dense urban areas or in deep gorges, the signal can be reflected from surfaces, creating an effect multipaththat distorts the final coordinate calculations.
For maximum accuracy of GPS measurements, go to an open space, away from tall buildings and trees, and give the device 1-2 minutes to warming up and searching for satellites.
Modern chips support working with several systems simultaneously: American GPS, Russian GLONASS, European Galileo and Chinese BeiDou. Combining signals from different constellations can significantly improve positioning accuracy.
- ๐ฐ๏ธ The number of visible satellites directly affects the speed of fixing coordinates.
- ๐ The vertical GPS error can range from 10 to 30 meters under normal conditions.
- ๐ฒ Tree foliage and concrete walls significantly reduce signal quality.
- ๐ Updating the satellite almanac takes time when you first start navigation.
Using the built-in barometer for accurate measurements
Many flagship and mid-budget smartphones are equipped with a physical sensor atmospheric pressure - barometer. This sensor measures air pressure, which, according to the standard atmospheric model, decreases with increasing altitude. It is the presence of this sensor that allows you to achieve high accuracy in determining elevation differences.
โ ๏ธ Attention: Atmospheric pressure is highly dependent on weather conditions. Cyclones and anticyclones can cause fluctuations in readings, which the system may mistakenly interpret as changes in altitude.
Barometer calibration usually requires an Internet connection to obtain sea level pressure data at your location from the nearest weather station. Without this calibration, the readings will be relative and not absolute.
You can check the presence of a barometer in your device through specialized utilities or in the technical specifications on the manufacturerโs website. The absence of this sensor does not make it impossible to measure altitude, but it reduces the accuracy and requires a constant connection to the network to correct the data.
Top altimeter applications for Android
Standard system tools rarely display altitude above sea level in a convenient form, so installing third-party software is the most effective solution. There are many applications that aggregate GPS and barometer data, providing the user with accurate information.
One โโof the popular solutions is Altimeter from various developers who use a hybrid calculation method. Such apps allow you to switch between data sources and configure units of measurement.
| Application name | Data source | Offline work | Features |
|---|---|---|---|
| Altimeter & Altitude | GPS + Barometer | Yes | Precise calibration, pressure graph |
| My Altitude | GPS + SRTM | Partially | Uses the terrain elevation base |
| GPS Status & Toolbox | Raw GPS data | Yes | Professional tool, reset A-GPS |
| Barometer & Altimeter | Barometer | Yes | Minimalistic interface, only for the sensor |
When choosing an application, pay attention to the presence of advertising and the ability to work in the background. Some utilities require constant access to geolocation, which can speed up battery drain.
Configuring geolocation for maximum accuracy
To obtain reliable altitude data, you must correctly configure geolocation services on the system Android. By default, the device can only use Wi-Fi and mobile networks to save battery, which gives a large error.
Go to location settings and select the โAcross all sourcesโ or โHigh accuracyโ mode. This will force the smartphone to use the GPS module at full capacity. It is also recommended to enable the function Google Geolocation accuracy, which helps to quickly determine coordinates.
โ๏ธ Setting up GPS for mountaineering
An important step is clearing the A-GPS (Assisted GPS) cache. This is satellite position data that is stored in the phone's memory. If they are out of date, searching for a signal may take a long time.
Settings โ Applications โ Show system โ Google Play Services โ Storage โ Clear cache
After clearing the cache, launch the outdoor navigation app and wait a few minutes. The system will download a fresh almanac of satellites, which will improve the vertical positioning accuracy.
Using Google Maps and Google Earth
It is not always necessary to install additional software, since popular mapping services also provide information about altitude. In the app Google Maps when you switch to terrain mode, you can see elevation lines, but the exact value for a specific point is often hidden.
A more effective tool is Google Earth. When you hover your cursor or move a marker, real-time coordinates and altitude are often displayed at the bottom of the screen.
Why might Google Maps show a different altitude than the real one?
The data in the maps is based on digital terrain models (SRTMs), which have a resolution of about 30 meters. If you are on the roof of a building or on a bridge, the map will show the height of the ground below you, not your actual position.
For professional use, this data may not be accurate enough due to averaging over the area of โโthe terrain cell. However, for a general familiarization with the area, this is quite enough.
Troubleshooting and sensor calibration
If the altitude readings fluctuate greatly or differ from the expected values, sensor calibration may be required. Smartphones Samsung, Xiaomi and other brands often have hidden engineering menus for testing equipment.
Dial the code #0# or ##4636## in your phone (the code may differ depending on the model) to enter the testing menu. There you can check the operation of the accelerometer and barometer.
โ ๏ธ Attention: Making changes to the engineering menu may disrupt the operation of the device. Use these sections only to view current sensor readings; do not change settings without understanding their purpose.
A frequent problem is a software failure of the geolocation service. In this case, rebooting the device or temporarily turning on airplane mode helps, which resets all radio modules.
If the discrepancy in altitude readings exceeds 50 meters, most likely the problem is a lack of barometer calibration or a poor GPS signal, and not a breakdown of the phone.
You should also make sure that the correct time and date are set on the device. Errors in time can lead to incorrect calculation of satellite positions and, as a result, to an error in determining coordinates.
Frequently asked questions (FAQ)
Why is the altitude on your phone different from the readings on road signs?
Road signs indicate the altitude above sea level for a given area, but they are static. Your phone shows the height at the specific point where you are standing. The difference may be caused by the terrain (you are higher or lower than the road), GPS error or changes in atmospheric pressure.
Do you need the Internet for the altimeter to work?
A pure GPS altimeter does not need the Internet to work, only satellites are needed. However, for calibrating the barometer and quickly downloading satellite data (A-GPS), a network connection is desirable. After the initial download, the data is cached.
Can a smartphone be used as a professional altimeter?
For amateur tourism and trekking - yes, the accuracy of a modern smartphone is quite enough. For professional geodesy or aviation, civilian smartphones are not suitable due to insufficient accuracy and certification of the equipment.
How often do you need to calibrate the barometer?
It is recommended to calibrate each time you arrive in a new area with a very different climate, or if you notice that the readings โfloatโ without changing the real position. Automatic calibration via the network usually occurs in the background.