2009
09.19

Recently my dad walked the “Camino de Santiago” and forwarded way points he had taken with his Garmin GPS with some notes about each point. I looked at the the Garmin output and it seemed I needed MapQuest to read them? Not too deterred and not wishing to wait for a copy of MapQuest I thought there must be a way to convert these files. A little bit of searching and I came across an amazing utility “gpsbabel”, that was able to cross covert many formats.

Once downloaded I then ran the following command:

gpsbabel -i gdb,roadbook -f sample.gdb -x nuketypes,waypoints,tracks -x transform,wpt=rte -o kml -F sample.kml

where sample.gdb is from the Garmin GPS and sample.kml is the output file.

This KML file had data for both Google Maps and Google Earth (double the info I needed), so I manually removed one set and also added data to the name and description tags. So once I had a single KML file
with data like so for each way point:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<Placemark>
  <name>Altos de Perdón</name>
  <Snippet />
  <description>
    <![CDATA[
    <table><tr><td>CdS crosses NA 6005.</td></tr>
      <tr><td><small>lon: -1.742692</small></td></tr>
      <tr><td><small>lat: 42.735722</small></td></tr>
      <tr><td><small>alt: 2503.827 ft</small></td></tr>
    </table>
  ]]></description>
  <LookAt>
    <longitude>-1.742692</longitude>
    <latitude>42.735722</latitude>
    <tilt>66</tilt>
  </LookAt>
  <styleUrl>#route</styleUrl>
  <Point>
    <coordinates>-1.742692,42.735722,763.166504</coordinates>
  </Point>
</Placemark>

I created a google maps account and in “my maps”, then created a new map and imported the KML file. I made the map public to embed the map!

view in large map
However, if you are more interested in the walk, then check out this entry.
I created a google maps account and in “my maps”, then created a new map and imported the KML file. I made the map public to embed the map!
view in large map

Bookmark and Share

No Comment.

Add Your Comment