Note: This page describes an obsolete version of GPSBabel that may substantially differ from the current or development version.

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.