Saturday, November 30, 2013

GPSLogger for Android

Check for the latest release

This is a follow up article of this post. Now I proceed with a description of Android GPS logger developed and shared by Graziano Capelli. This application have been conceived for OpenStreetMap nevertheless it is also handy as GPS altimeter. 

P25.1 Application screen-shot

The application is compatible with Android V2.2 and higher. The Software have been tested mainly on Google IDEOS, Android 2.2, and Samsumg Galaxy with Android 4.1.2.

The power consumption ratio between the background run condition and the regular running mode is about one to two, the main power drain is from the screen back-light.

Installation is straightforward, you may find detailed information here.

At a glance, the installation consist in two steps. Download the source package here and/or copy the GPSLogger.apk file on your cellphone SD card. Alternatively you can use the QR CODE here below. Source code have been developed using Intellij IDEA 11.1.2 under Fedora 19.
P25.2 QR code for app download

Referring to figure 25.3, at the bottom you have two buttons. Toggle button on the left switches GeoPoint collecting state between recording and pause, and the right button saves the path collected. If path save is selected two files are generated, one in GPX format the other in KML format. Position is updated every second, and every twenty collected samples the application save to memory card the recorded positions.

In the preference screen (on recent android versions accessible by holding the home key) you can change the collecting density (the minimum distance between adjoining collected GeoPoints) and you can add an offset (in meters) for manual altitude correction.

P25.3 Application running
P25.3b Settings screen

After some logging is possible to connect to a PC and download the log files.

GPX is the format used by OpenStreetMap, hence you can directly upload this files to OpenStreetMap.
On the below figure you can appreciate the output get after uploading a GPX file to OpenStreetMap platform, the new logged road path is indicated in pink color.
P25.4 OpenStret output after GPX upload

You can also load your path into Google Earth using the KML file, next figure shows two different paths loaded into Google Eafrth

P25.5 Two paths loaded into GE

Main code is included into the source package folder \src\com, is writen in Java and it's commented by the author, if any doubt arise just ask.

The presented application is simple but useful in many DIY surveying tasks, is ideal to support some basic calibration procedures for air data instruments.
Post a Comment