The gps2htmlReport package

[Tags: bsd3, library, program]

Generate a HTML summary report of GPS tracks

[Skip to ReadMe]


Versions0.1, 0.2, 0.2.1, 0.2.2, 0.3, 0.3.1
Change logNone available
Dependenciesbase (==4.*), bytestring, cairo, Chart, cmdargs, colour, data-accessor, directory, filepath, gd (>=3000.7.1), gps (>=0.8.4 && <0.9), GPX (==0.5), hsmagick, html, http-enumerator, process, random, tar, time, xsd (>=0.3.5) [details]
AuthorRob Stewart <>
MaintainerRob Stewart <>
Home page
Bug tracker
Source repositoryhead: git clone git://
UploadedSun Jan 29 18:00:12 UTC 2012 by RobStewart
Downloads963 total (40 in last 30 days)
0 []
StatusDocs uploaded by user
Build status unknown [no reports yet]




Maintainers' corner

For package maintainers and hackage trustees

Readme for gps2htmlReport-0.3.1

GPS 2 HTML Report

This is a utility written in Haskell, to generate HTML reports from GPS track files.

Included in the report:

An example can be seen here.

The hackage page is here.


A user first of all needs to install the Haskell Platform, and a few additional system packages - GraphcsMagick and Cairo . For exmaple, on an RPM-based machine, as root:

># yum install haskell-platform GraphicsMagick cairo gtk2hs-buildtools

The recommended way to install the gps2HtmlReport program, is to grab it via hackage:

cabal update
cabal install gps2htmlReport

Or to install the version in the github repository:

git clone git://
cd Gps2HtmlReport
cabal update
cabal configure
cabal install


First of all, you need to have your GPS date in a GPX file. There are many gpx exporters available. I use my Android phone to take GPX tracks, with a great application, OSMTracker. This application allows you to export your GPS tracks to GPX. I am sure that there are plenty of good applications for iOS to perform the same function. And I'm aware that GPS devices allow .gpx files to be extracted from GPS logs.


The program will search for all files ending in ".gpx", and for each one, generate a HTML report.

$ cd $location_of_gpx_files
$ ls
$ gps2HtmlReport --help

gps2HtmlReport [OPTIONS]
  A Haskell utility to generate HTML page reports of GPS Tracks and Track
  overlays on OpenStreetMap tiles

Common flags:
  -i --imageonly  Generates only an image of the track overlay on an
                  OpenStreetMap layer
  -a --archive    Produce tar archive for web and image files
     --hashnames  Create reports in hashed directory names
  -h --help       Display help message
  -v --version    Print version information
  -V --Verbose    Loud verbosity
  -q --quiet      Quiet verbosity


If you receive this error when trying to run the program:

can't load .so/.DLL for: stdc++ ( cannot open shared object file: No such file or directory)

... then you are experiencing this bug: #5289.

To fix this

If you experience other problems, please let me know - and preferrably sending me the problematic .gpx file.


Thanks to Thomas DuBuisson, for implementing the `gps' package and contributing it to Hackage.