| 1 |
<preface xmlns="http://docbook.org/ns/docbook" version="5.0" xml:id="Introduction"> |
| 2 |
<title>Introduction to GPSBabel</title> |
| 3 |
<section xml:id="The_Problem"> |
| 4 |
<title>The Problem: Too many incompatible GPS file formats</title> |
| 5 |
<para>There are simply too many gratuitously different file formats |
| 6 |
to hold waypoint, track, and route information in various programs |
| 7 |
used by computers and GPS receivers. |
| 8 |
|
| 9 |
<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.topografix.com/gpx.asp">GPX</link> |
| 10 |
defines a |
| 11 |
standard in XML to contain all the data, but there are too many |
| 12 |
programs that don't understand it yet and too much data in |
| 13 |
alternate formats.</para> |
| 14 |
<para>Perhaps you have an |
| 15 |
<link linkend="fmt_garmin">GPSMap 60CSx</link> |
| 16 |
and your friend has a |
| 17 |
<link linkend="fmt_garmin">StreetPilot 2720</link> |
| 18 |
. |
| 19 |
You've collected a list of your favorite locations as waypoints and you'd |
| 20 |
like to be able to share them. Unfortunately, his copy of |
| 21 |
<link linkend="fmt_gdb">Garmin Mapsource</link> |
| 22 |
won't read data created by your copy of |
| 23 |
<link linkend="fmt_tpg">National Geographic Topo</link> |
| 24 |
. What you need |
| 25 |
is a program that converts data between the two programs.</para> |
| 26 |
<para>GPSBabel actually solves that problem for you and much more... |
| 27 |
</para> |
| 28 |
</section> |
| 29 |
<section xml:id="The_Solution"> |
| 30 |
<title>The Solution</title> |
| 31 |
<para>The original author of GPSBabel, |
| 32 |
<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="/people/robertlipe.html">Robert Lipe</link> |
| 33 |
, needed to convert waypoints between a couple of formats, so he |
| 34 |
whipped up a converter and designed it upon an extensible foundation so |
| 35 |
that it was easy to add new formats and made the program freely available. |
| 36 |
<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="/people/index.html">Many others</link> |
| 37 |
have contributed to the program since then.</para> |
| 38 |
<para>Most file formats added so far have taken under 200 |
| 39 |
lines of reasonable ISO C so they can be stamped |
| 40 |
out pretty trivially. Formats that are ASCII text delimited in some |
| 41 |
fixed way can be added with no programming at all via our |
| 42 |
|
| 43 |
<link linkend="Styles">style</link> |
| 44 |
mechanism.</para> |
| 45 |
</section> |
| 46 |
</preface> |