July 2008 Archives
This page describes the procedures used to record and process a series of Garmin GPX files for display online as a Google Map, or as a detailed report that displays a GPX file in the form of graphs and useful statistics.
In March 2008, I joined a Dragoman truck to embark on an Overland journey from the UK to St Petersburg, via Central Asia, China, Mongolia, and Kazakhstan. (See the full route here.) Starting in Istanbul, and continuing every driving day since then, I have been recording the route that the Dragoman truck has taken, using my Garmin GPSmap60Cx GPS receiver. This model of GPS receiver has a removable microSD card that can be used to store tracks. The GPS receiver comes with a 64MB card, but I exchanged this for a 1GB card, in order to have plenty of room to store the daily files. Is that big enough? Yes - the files take up very little space on the card - typically 120 bytes per trackpoint. That's approximately 8.3 million trackpoints on a 1GB card. In other words, if you are recording at the rate of 1 per second, 24 hours a day, it would take 96 days to fill up! I estimate to have generated about 20MB of data for the whole 6 month journey.
To get the GPSmap 60cx receiver to store a daily file of constantly updated positions, find the 'Tracks' page, and notice that there is a dot next to 'Off'. Use the Rocker Key to highlight the word 'On', then press 'Enter' to move the dot to there. You are now recording all your moves, and will continue to do so until you change the setting back to 'Off'. As well as storing positions in a file called the 'Active Tracklog', which we will ignore for the moment, the GPS also stores positions in a daily file, which will be named something like '20080327.gpx' i.e. YYYYMMDD. This is created and named automatically, and can be downloaded to your computer for processing. Whilst you can remove the microSD card from the GPS and put it in a card-reader to see the files, it is a lot easier just to access the data via a USB link. Plug your GPS receiver into your computer's USB port, turn the GPS on, and click Main Menu > Setup > Interface. Select the bottom button marked 'USB Mass Storage'. The computer will then alert you that a new Drive has been detected - use 'My Computer' or 'Windows Explorer' to locate the drive, which will contain the .gpx files that you have generated so far. Copy these to a new folder on your computer's hard drive, then eject the GPS using the 'Safely Remove Hardware' button in the System Tray, and turn off the GPS.
There are a number of ways to produce an online map of your stored GPX files. The following Web sites allow you to plot your GPX data on a Web map:
GPS - GPX Interactive Map (View GPX files on Google Maps)
GPX Loader for Google Maps (View GPX files on Google Maps)
GPS Planner (for routes)
GPS Visualizer (Convert GPX to SVG maps and elevation profiles)
GMapToGPX (View GPX files on Google Maps)
Innersource (View GPX files on Google Maps)
Marengo GPS Route Planner (View GPX files on Google Maps)
Online GPX Viewer (View GPX files on Google Maps)
Track Viewer (View GPX files on Google Maps)
However, if you want to display a map on your own website, already formatted with all the details of your track, you will need some software that can create it. First of all, you must sign up for a Google Map API. This authorises you to embed Google Maps in your own web pages with JavaScript, and provides a unique API password that you will need for each map. Note that the API applies to just ONE FOLDER on your website. You have to specify the address of the folder when you sign up for the API - for instance: http://www.mysite.com/webmaps/ All the maps that you authorise with the API code MUST be in that folder.
Next, the software. There are various programs that can be used to create the map code. I use RoboGEO, a program primarily designed to geo-reference photographs (more about doing that here). One of its other many abilities is to produce a Google map page showing the location of each photo. You can also add a track on the map, which is what we are interested in here. I simply omit to upload any photos, but make sure the Tracklog is displayed when creating the webpage. To do this, follow these steps:
- Start the 'RoboGeo' program
- Click File > Get Locations > Tracklog > Import Tracklog file
- Select the required file - when it is imported, the total number of points will be displayed
- Click File > Export > Google Maps
- Paste your API code to the 'Google Key' box
- Set the Webpage Title to '20081231' or similar
- Set the View to 'Map'
- Check the box 'Include the GPS Tracklog on the Map'
- Set the 'Approx max number of polylines to create' to a value greater than the total points in your file
- Click 'Create Google Map', and save it in a folder with the same name as the Title
- Upload the map.htm and map.xml files to your server, and view the map online in a web-browser
To view the maps I've already generated, click on the links below. The map will initially load as a standard roadmap, but you can also select a Satellite view, or a hybrid view of the two, using the buttons in the top right of the screen. The amount of detail that the Satellite view will provide depends on Google's current satellite photos for that area. In the countryside this might just show a general view that identifies built-up and rural areas, whilst in bigger cities you can often zoom in to see individual buildings, and decide which exit we took from a carpark, or even where we parked in that carpark! The detail can be astonishing. You can click-and-drag to move the map around, and zoom in and out using the +/- slider on the left of the screen. Note that Google provides no maps for Georgia or Azerbiajan (why not?), and the western parts of China are similarly blank, so you will have to use the satellite photos instead.
To create the detailed Route-Reports, I use the online uTrack report generator at http://utrack.crempa.net This page will upload a GPX file from your computer and produce a detailed Route-Report that shows a number of graphs and statistics, such as:
- Elevation profile graph - elevation plotted against distance.
- Elevation profile graph - elevation plotted against time.
- Elevation statistics: Minimum elevation, Maximum elevation, Average elevation, Maximum difference, Total climbing, Total descent, Start elevation, End elevation, and Final balance.
- Speed profile graph - speed plotted against distance.
- Speed profile graph - speed plotted against time.
- Speed statistics: Minimum speed, Maximum speed, Average climbing speed, Average descent speed, Average flat speed, and Average speed.
- Time statistics: Date of track, Start time, End time, Total track time, Climbing time, Descent time, and Flat time.
- Distance profile graph - distance plotted against time.
- Distance statistics: Total flat distance, Total real distance, Climbing distance, Descent distance, and Flat distance.
Once the report has been generated, an option is presented to save it as a PDF file, which can later be uploaded to your server. To view the Reports I have generated so far, click on the links below. You will need a PDF reader installed on your computer to read PDF files - suitable software is available free from Adobe. Some errors still exist - for instance, when the satellite signal is lost when we drive through a tunnel, the altitude can have unexpected results. When I have more time, I will try and edit these files to remove such glitches, but for now, whilst I am 'on the road', these reports will at least give you an idea of what we have been doing.
The table below contains links and details of all the maps and reports generated so far:
| Date | Country | Route Notes | Route Map | Route Report |
|---|---|---|---|---|
| March 27th 2008 | Turkey | Istanbul - Ankara | Map | Report |
| March 28th 2008 | Turkey | Ankara - Nevsehir | Map | Report |
| March 30th 2008 | Turkey | Nevsehir - Refahiye | Map | Report |
| March 31st 2008 | Turkey | Refahiye - Sumela Monastery | Map | Report |
| April 02nd 2008 | Turkey/Georgia | Sumela Monastery - Batumi | Map | Report |
| April 03rd 2008 | Georgia | Batumi - Kutaisi | Map | Report |
| April 04th 2008 | Georgia | Kutaisi - Kazbegi | Map | Report |
| April 05th 2008 | Georgia | Trekking at Kazbegi | Map | Report |
| April 06th 2008 | Georgia | M27 - Tbilisi | Map | Report |
| April 09th 2008 | Georgia | Tbilisi - Telavi | Map | Report |
| Date | Country | Route Notes | Route Map | Route Report |
| April 10th 2008 | Georgia | Telavi - N41.50 E046.03 | Map | Report |
| April 11th 2008 | Georgia | N41.50 E046.03 - N41.06 E047.17 | Map | Report |
| April 12th 2008 | Georgia | N41.06 E047.17 - Laihic | Map | Report |
| April 13th 2008 | Georgia | Laihic - Baku | Map | Report |
| April 16th 2008 | Turkmenistan | Around Turkmenbashi | Map | Report |
| April 17th 2008 | Turkmenistan | Turkmenbashi - Yaradzhy | Map | Report |
| April 18th 2008 | Turkmenistan | Yaradzhy - Ashgabat | Map | Report |
| April 20th 2008 | Turkmenistan | Ashgabat - Darvaza | Map | Report |
| April 21st 2008 | Turkmenistan | Darvaza - N41.46 E059.35 | Map | Report |
| April 22nd 2008 | Turkmen/Uzbek | N41.46 E059.35 - Khiva | Map | Report |
| Date | Country | Route Notes | Route Map | Route Report |
| April 24th 2008 | Uzbekistan | Khiva - Bukhara | Map | Report |
| April 27th 2008 | Uzbekistan | Bukhara - N40.57 E065.35 | Map | Report |
| April 28th 2008 | Uzbekistan | N40.57 E065.35 - N40.01 E066.35 | Map | Report |
| April 29th 2008 | Uzbekistan | N40.01 E066.35 - Samarkand | Map | Report |
| May 01st 2008 | Uzbekistan | Samarkand - Tashkent | Map | Report |
| May 04th 2008 | Uzbekistan | Tashkent - Fergana | Map | Report |
| May 05th 2008 | Uzbek/Kyrgyz | Fergana - Uzgen | Map | Report |
| May 06th 2008 | Kyrgyzstan | Uzgen - Toktogul Lake | Map | Report |
| May 07th 2008 | Kyrgyzstan | Toktogul Lake - N42.05 E074.08 | Map | Report |
| May 08th 2008 | Kyrgyzstan | N42.05 E074.08 - N41.49 E074.31 | Map | Report |
| Date | Country | Route Notes | Route Map | Route Report |
| May 09th 2008 | Kyrgyzstan | N41.49 E074.31 - Kochkorka | Map | Report |
| May 10th 2008 | Kyrgyzstan | Kochkorka - Issyk-Kul Lake | Map | Report |
| May 11th 2008 | Kyrgyzstan | Issyk-Kul Lake - Karakol | Map | Report |
| May 12th 2008 | Kyrgyzstan | Karakol - Sarycat Ertas | Map | Report |
| May 13th 2008 | Kyrgyzstan | Trekking at Sarycat Ertas | Map | Report |
| May 14th 2008 | Kyrgyzstan | Sarycat Ertas - Cholpon Ata | Map | Report |
| May 15th 2008 | Kyrgyzstan | Cholpon Ata - Ala Archa Canyon | Map | Report |
| May 16th 2008 | Kyrgyzstan | Trekking in Ala Archa Canyon | Map | Report |
| May 17th 2008 | Kyrgyzstan | Ala Archa Canyon - Bishkek | Map | Report |
| May 19th 2008 | Kyrgyzstan | Bishkek - Naryn | Map | Report |
| Date | Country | Route Notes | Route Map | Route Report |
| May 20th 2008 | Kyrgyzstan | Naryn - N40.43 E075.05 | Map | Report |
| May 21st 2008 | Kyrgyz/China | N40.43 E075.05 - Kashgar | Map | Report |
| May 22nd 2008 | China | Kashgar - Tashkurgan | Map | Report |
| May 23rd 2008 | China | Tashkurgan - Kashgar | Map | Report |
| May 27th 2008 | China | Kashgar - N37.14 E079.01 | Map | Report |
| May 28th 2008 | China | N37.14 E079.01 - Minfeng | Map | Report |
| May 29th 2008 | China | Minfeng - N41.44 E085.03 | Map | Report |
| May 30th 2008 | China | N41.44 E085.03 - Turpan | Map | Report |
| May 31st 2008 | China | Sightseeing around Turpan | Map | Report |
| June 01st 2008 | China | Sightseeing around Turpan | Map | Report |
| Date | Country | Route Notes | Route Map | Route Report |
| June 02nd 2008 | China | Turpan - Liaodun | Map | Report |
| June 03rd 2008 | China | Liaodun - Mogao Caves | Map | Report |
| June 04th 2008 | China | Mogao Caves - Dunhuang | Map | Report |
| June 05th 2008 | China | Dunhuang - Jiayuguan | Map | Report |
| June 06th 2008 | China | Sightseeing around Jiayuguan | Map | Report |
| June 07th 2008 | China | Jiayuguan - Shandan | Map | Report |
| June 08th 2008 | China | Shandan - N36.59 E103.08 | Map | Report |
| June 09th 2008 | China | N36.59 E103.08 - Liujiaxia | Map | Report |
| June 10th 2008 | China | Liujiaxia and the Bingling Caves | Map | Report |
| June 11th 2008 | China | Liujiaxia - Lanzhou | Map | Report |
| Date | Country | Route Notes | Route Map | Route Report |
| June 12th 2008 | China | Lanzhou - Pinliang | Map | Report |
| June 13th 2008 | China | Pinliang - Kongtong Shan | Map | Report |
| June 14th 2008 | China | Pinliang - Xian | Map | Report |
| June 16th 2008 | China | Xian - Terracotta Warriors | Map | Report |
| June 17th 2008 | China | Walking on Xian city walls | Map | Report |
| June 18th 2008 | China | Xian - Pingliang | Map | Report |
| June 20th 2008 | China | Pingliang - Zhongwei | Map | Report |
| June 21st 2008 | China | Zhongwei - Yinchuan | Map | Report |
| June 22nd 2008 | China | Yinchuan - Salaqi | Map | Report |
| June 23rd 2008 | China | Salaqi - Datong | Map | Report |
| Date | Country | Route Notes | Route Map | Route Report |
| June 24th 2008 | China | Sightseeing around Datong | Map | Report |
| June 25th 2008 | China | Datong - Chengde | Map | Report |
| June 27th 2008 | China | Great Wall at Jinshanling | Map | Report |
| June 28th 2008 | China | Chengde - Zunhua tombs | Map | Report |
| June 29th 2008 | China | Exploring the Zunhua tombs | Map | Report |
| June 30th 2008 | China | Zunhua tombs - Beijing | Map | Report |
Then, after a break in Beijing...
| Date | Country | Route Notes | Route Map | Route Report |
|---|---|---|---|---|
| July 14th 2008 | China | Beijing to Great Wall and Ming Tombs | Map | Report |
| July 15th 2008 | China | Beijing to Datong by train | Map | Report |
| July 16th 2008 | China | Datong - Erenhot | Map | Report |
| July 17th 2008 | China/Mongolia | Erenhot - Zamyn Uud | Map | Report |
| July 18th 2008 | Mongolia | Zamyn Uud - N43.29 E109.36 | Map | Report |
| July 19th 2008 | Mongolia | N43.29 E109.36 - N43.03 E106.51 | Map | Report |
| July 20th 2008 | Mongolia | N43.03 E106.51 - N43.30 E104.48 | Map | Report |
| July 21st 2008 | Mongolia | N43.30 E104.48 - N43.46 E104.04 | Map | Report |
| July 22nd 2008 | Mongolia | N43.46 E104.04 - Yolyn Am | Map | Report |
| July 23rd 2008 | Mongolia | Yolyn Am - Mayhan Tolgoy | Map | Report |
| Date | Country | Route Notes | Route Map | Route Report |
| July 24th 2008 | Mongolia | Mayhan Tolgoy - Junichin Govi | Map | Report |
| July 25th 2008 | Mongolia | Junichin Govi dune walking | Map | Report |
| July 26th 2008 | Mongolia | Junichin Govi - N44.54 E102.12 | Map | Report |
| July 27th 2008 | Mongolia | N44.54 E102.12 - Arvaikheer | Map | Report |
| July 28th 2008 | Mongolia | Arvaikheer - N46.59 E103.03 | Map | Report |
| July 29th 2008 | Mongolia | N46.59 E103.03 - Shiveet Mankhan | Map | Report |
| July 30th 2008 | Mongolia | Walking near Shiveet Mankhan | Map | Report |
| July 31st 2008 | Mongolia | Shiveet Mankhan - Terkhin Tsagaan Nuur | Map | Report |
| August 01st 2008 | Mongolia | Walking near Terkhin Tsagaan Nuur | Map | Report |
| August 02nd 2008 | Mongolia | Terkhin Tsagaan Nuur - N48.52 E099.27 | Map | Report |
| Date | Country | Route Notes | Route Map | Route Report |
| August 03rd 2008 | Mongolia | N48.52 E099.27 - N50.05 E100.02 | Map | Report |
| August 04th 2008 | Mongolia | N50.05 E100.02 - Hovsgol Nuur | Map | Report |
| August 05th 2008 | Mongolia | Walking near Hovsgol Nuur | Map | Report |
| August 06th 2008 | Mongolia | Hovsgol Nuur - Moron | Map | Report |
| August 07th 2008 | Mongolia | Moron - N49.16 E098.09 | Map | Report |
| August 08th 2008 | Mongolia | N49.16 E098.09 - N48.51 E096.41 | Map | Report |
| August 09th 2008 | Mongolia | N48.51 E096.41 - N49.05 E094.16 | Map | Report |
| August 10th 2008 | Mongolia | N49.05 E094.16 - Chjargas Nuur | Map | Report |
| August 12th 2008 | Mongolia | Chjargas Nuur - N49.22 E090.53 | Map | Report |
| August 13th 2008 | Mongolia | N49.22 E090.53 - Tsagaan Nuur | Map | Report |
| Date | Country | Route Notes | Route Map | Route Report |
| August 14th 2008 | Mongolia/Russia | Tsagaan Nuur - Kosh Agach | Map | Report |
| August 15th 2008 | Russia | Kosh Agach - N51.36 E085.36 | Map | Report |
| August 16th 2008 | Russia | N51.36 E085.36 - N51.39 E085.45 | Map | Report |
| August 17th 2008 | Russia | N51.39 E085.45 - Troitskoye | Map | Report |
| August 18th 2008 | Russia | Troitskoye - Aleysk | Map | Report |
| August 19th 2008 | Russia | Aleysk - Rubtsovsk | Map | Report |
| August 20th 2008 | Russia/Kazstan | Rubtsovsk - Semey | Map | Report |
| August 21st 2008 | Kazakhstan | Semey - N49.45 E082.02 | Map | Report |
| August 22nd 2008 | Kazakhstan | N49.45 E082.02 - N48.45 E080.51 | Map | Report |
| August 23rd 2008 | Kazakhstan | N48.45 E080.51 - N45.43 E080.19 | Map | Report |
| Date | Country | Route Notes | Route Map | Route Report |
| August 24th 2008 | Kazakhstan | N45.43 E080.19 - Kapcagajskoje Vodochranilisce | Map | Report |
| August 25th 2008 | Kazakhstan | Kapcagajskoje Vodochranilisce - Almaty | Map | Report |
Then, after a few days in Almaty...
| Date | Country | Route Notes | Route Map | Route Report |
|---|---|---|---|---|
| August 28th 2008 | Kazakhstan | Almaty - Lugovoy | Map | Report |
| August 29th 2008 | Kazakhstan | Lugovoy - Vannovka | Map | Report |
| August 30th 2008 | Kazakhstan | Trekking in the Hills | Map | Report |
| August 31st 2008 | Kazakhstan | Vannovka - Turkestan | Map | Report |
| September 02nd 2008 | Kazakhstan | Turkestan - Dzhusaly | Map | Report |
| September 03rd 2008 | Kazakhstan | Dzhusaly - Aral Sea | Map | Report |
| September 04th 2008 | Kazakhstan | Aral Sea - Aralsk | Map | Report |
| September 05th 2008 | Kazakhstan | Aralsk - Irgiz | Map | Report |
| September 06th 2008 | Kazakhstan | Irgiz - N50.06 E059.63 | Map | Report |
| September 07th 2008 | Kazakhstan | N50.06 E059.63 - Aktyubinsk | Map | Report |
| Date | Country | Route Notes | Route Map | Route Report |
| September 08th 2008 | Kazakhstan | Aktyubinsk - Calkar Lake | Map | Report |
| September 09th 2008 | Kazakhstan | Calkar Lake - Uralsk | Map | Report |
| September 10th 2008 | Kazstan/Russia | Uralsk - Samara | Map | Report |
| September 12th 2008 | Russia | Samara - Kazan | Map | Report |
| September 14th 2008 | Russia | Kazan - Nizhny Novgorod | Map | Report |
| September 15th 2008 | Russia | Nizhny Novgorod - Suzdal | Map | Report |
| September 16th 2008 | Russia | Suzdal and Vladimir | Map | Report |
| September 19th 2008 | Russia | Suzdal - Moscow | Map | Report |
| September 23rd 2008 | Russia | Moscow - Novgorod | Map | Report |
| September 25th 2008 | Russia | Novgorod - St Petersburg | Map | Report |
| Date | Country | Route Notes | Route Map | Route Report |
| September 29th 2008 | Russia/Estonia | St Petersburg - Kokhtla Yarve | Map | Report |
| September 30th 2008 | Estonia/Latvia | Kokhtla Yarve - Riga | Map | Report |
| October 01st 2008 | Lat/Lith/Poland | Riga - Warsaw | Map | Report |
| October 02nd 2008 | Poland/Germany | Warsaw - Frankfurt | Map | Report |
| October 03rd 2008 | Germany/Holland | Frankfurt - Eindhoven | Map | Report |
| October 04th 2008 | Holland/Belgium | Eindhoven - Brugge | Map | Report |
| October 05th 2008 | Belgium/France | Brugge - Calais | Map | Report |
| Date | Country | Route Notes | Route Map | Route Report |
And so to the end of a truly memorable journey. Since we started at Calais on the 17th of March, the truck has driven exactly 38,138 Kms, or in other words, 23,836 Miles. Many thanks are due to drivers Toni, for UK to Beijing; Blair, for Beijing to Mongolia; Vernon, for Kazakstan to Calais; and a very big thanks to Jay, who drove the whole way with me, Calais to Calais.
Note: All route and stored position data are copyright 2008 Tim Makins and MapAbility.Com
