Note: This page describes the development version of GPSBabel. It may substantially differ from the latest released GPSBabel.

Style file overview

The first and foremost important step is understanding how the style file is laid out itself. The format is:


Where <whitespace> is one or more spaces or tabs. There should be no spaces or tabs at the beginning of the line; all directives start at the left edge in column zero.

An example style format is shown here:

# Format: MS S&T 2002/2003
# Author: Alex Mottram
#   Date: 12/09/2002

DESCRIPTION  Microsoft Streets and Trips 2002-2006
EXTENSION               txt


PROLOGUE Name Latitude Longitude Description URL Type Container Diff Terr

IFIELD SHORTNAME, "", "%s" # Name
IFIELD LAT_DECIMAL, "", "%f" # Latitude
IFIELD LON_DECIMAL, "", "%f" # Longitude
IFIELD DESCRIPTION, "", "%s" # Name 2 (Big Description)
IFIELD URL, "", "%s" # URL
IFIELD GEOCACHE_TYPE, "", "%s" # Geocache Type
IFIELD GEOCACHE_CONTAINER, "", "%s" # Geocache Type
IFIELD GEOCACHE_DIFF, "", "%3.1f" # Geocache Type
IFIELD GEOCACHE_TERR, "", "%3.1f" # Geocache Type

Each of these lines will be explained in the following sections.