Follow

ITF Itineraries

ITF Files specification

Specification version 2.0


This section explains how to work with itinerary files (also referred to as ITF files).

1. About ITF Files

The ITF file contains the list of waypoints, which define the input for a route calculations.
Each waypoint contains 6 attributes, and each waypoint is of the following type attribute: via point, finish, start and invisible.
Route follows the points in the itinerary in a defined order.

2. Itinerary File Attributes

SectionNamec++ typeBytesDescription
Header Time long 4 bytes Creation time of itimerary In Sygic format. Count of seconds snce 1.1.2001
  Empty unsigned int 4 bytes  
  Visited Index short int 2 bytes Index of last visited point in itinerary
  Count of points unsigned short int 2 bytes Count of points in itinerary file
Point 1 Longitude long 4 bytes Longitude in degrees x 100 000
  Latitude long 4 bytes Latitude in degrees x 100 000
  Type unsigned char 1 byte Type of itinerary point: Via Point = 1, Finish = 2, Start = 3, Invisible = 4.
  Empty unsigned char 1 byte  
  Length of Name unsigned short int 2 bytes Length of Point name in bytes = (unsigned short int)( ( wcslen(Name) + 1 ) * sizeof(wchar_t))
  Name wchar_t[] Length of Name Name of point. Unicode null terminated string.
Point n Longitude long 4 bytes  
  Latitude long 4 bytes  
  Type unsigned char 1 byte  
  Empty unsigned char 1 byte  
  Length of Name unsigned short int 2 bytes  
  Name wchar_t[] Length of Name  
Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments