Travel Mapping
Tracking Cumulative Travels
Travel Mapping Manual: Highway Data (.wpt) Files
Each route in TM is represented by a highway data
file, which we often refer to as a "waypoint file". These files have
a .wpt extension.
Contents
🔗
.wpt Filenames
- 🔗
One .wpt file is needed for each highway in each region. Highways
crossing into multiple subdivisions of a subdivided country (e.g.,
states in the USA), or crossing into multiple countries (e.g.,
UNECE International 'E' Roads in Europe) must be chopped at borders into separate files for
each region.
- 🔗
Filenames are entirely lowercase and have a .wpt extension.
- 🔗
Be sure you can see file extensions in your operating system.
Windows hides known file extensions by default, so if you see a ".wpt"
extension, the file might actually have something else appended, such as
".wpt.txt". This is no good. In Windows Explorer, you can disable the
"Hide extensions for known file types" option in Tools menu > Folder
Options > View tab.
- 🔗
region.route.wpt is the format for the filename.
- 🔗
For undivided countries, the region is the 3-letter
ISO alpha-3 country code. See our
list on
GitHub, which is based
on the CIA
World Fact Book.
- 🔗
For divided countries (USA, CAN, MEX, GBR, RUS, KAZ),
the region is an abbreviation for the subdivision rather
than for the country. The USA and CAN use the standard postal
codes. GBR (United Kingdom) uses WLS, SCT, ENG, NIR. For other
countries, ask about the subdivision codes. Some countries (e.g.,
MEX) have the country code prepended to avoid collisions with
subdivision codes of other countries (NL = Newfoundland and Labrador
in Canada , MEX-NL = Nuevo León in Mexico). See our
list on
GitHub.
- 🔗
The route is a concatenation of 3-digit zero-padded
number designation (e.g., a005, us042, pa343, la3132), the banner if
applicable (bus, trk), and the 3-letter Abbrev. if applicable (e.g.,
cat, pit).
- 🔗
Examples:
- fra.a021.wpt = France A21.
- pa.pa042trkeag.wpt = Pennsylvania PA 42 Truck (Eagles Mere).
- grc.a005.wpt = Greece A5 (main piece).
- grc.a005art.wpt = Greece A5 Arta section.
🔗
.wpt Data Format