(for the TomTom GO)
Points of Interest
It is possible to add new Points of Interest (POI) to the TomTom GO. This section explains how.Warning:
2. Example POI database
Copy the following code into a file called Campings_Amsterdam.asc or use the corresponding file from the /TomTomGO-SDK/examples/poi/ folder.
Here several camping grounds in Amsterdam are defined by their latitudes, longitudes and names. Please note that an empty line should be added to the database, in order for the last entry to be read in.
Now use the tool makeov2.exe from the directory /TomTomGO-SDK/tools/. From a command line type the following command:
This converts the text file Campings_Amsterdam.asc into a file called 'Campings_Amsterdam.ov2', which contains the same POI database in TomTom GO format.
Now copy the converted Campings_Amsterdam.ov2 to the directory where your map data is located on the SD card. For example, if you use the Benelux map this directory is called /mnt/sdcard/Benelux-Map/.
Restart the TomTom GO and the POI category "Campings Amsterdam" is added to the default POI categories.
Please note that this example database contains records of camp grounds in Amsterdam. These camp grounds can of course only be viewed on an map containing Amsterdam, but as an example this OV2 file can be used with other maps as well (you can select the category and add POI to it, the category shows up when selecting a Point Of Interest as a destination, etc.).
3. Installing POI databases
A POI database for the TomTom GO consists of a file with extension OV2 and, optionally, a companion file with extension BMP. To make such databases visible as a POI category on the TomTom GO, these files must be stored on the SD card in the same directory where the map data is located:
After you have put the OV2 file on the SD card, restart the TomTom GO and if the file is correct, the new POI category will be added to the existing categories, with the BMP file being the icon for the category. If the BMP file is omitted, some default icon will show.
In the Manage POI page of the Preferences Menu, make sure the "Display POI" option is check marked. Also, make sure the new POI category is check marked from the Enable/Disable POI menu option (it is by default).
Even if you choose not to display your POI on the map, you can now select them in the same manner as the default POI categories, i.e. "Navigate To", "Itinerary Planning", etc.
4. Creating POI databases
POI databases can already be created manually on the TomTom GO by using the "Add POI Category" from the "Manage POI" menu in the Preferences Menu. Once the category is defined, an OV2 file with the same name as the category is created in the directory where your map data is located. When adding a POI to this category, information on the POI is stored in this file.
These OV2 files can also be created by converting whole databases into the TomTom navigation application format on your PC.
The input file on your PC should be a text file, preferably with extension ASC.
Every line should represent a point of interest, defined by the following:
The fields should be separated by commas.
Longitudes and latitudes may be specified either as degrees and fractions of degrees, or in degrees, minutes and seconds. Both colons and single-quote/double-quote notation may be used for minutes and seconds. So, the following lines are all equivalent:
Any line starting with a semi-colon will be ignored, as well as empty lines.
5. Converting POI databases
The ASC file representing a POI-database can be converted into an OV2 file, which is in the TomTom GO format, by using the following tool provided with the SDK:
The following command converts a text file representing your POI Database into an OV2 file:
It is also possible to convert OV2 files into text files, which can be useful if you have created an OV2 file on the TomTom GO to which you want to add POI on your PC, or if you have downloaded one.
The tool to use then is:
The following command converts an OV2 file into a text file:
If the name is omitted, the output file will have the same name as the input file, but with extension ASC.
Note that there are several OV2 files available on the Internet and on the TomTom website.
6. OV2 file structure
This section explains the OV2 file format, for developers who want to create OV2 files without converting them with makeov2.exe.
An OV2 file consists of a sequence of variable-length records. Every record starts with a one-byte "type". This type tells you how to process the rest of the record.
You should not encounter types other than 0, 1, 2 and 3 - if you do, the file is either corrupt or in a different (e.g. a higher-version) format.
Coordinates are stored as 4-byte integers representing a WGS84 longitude or latitude, multiplied by 100,000 and rounded to the nearest integer. As such, an X-coordinate should always be a value between -18,000,000 and +18,000,000, and a Y-coordinate should be a value between -9,000,000 and +9,000,000.DELETED RECORD:
If you encounter any other type, either the file is corrupt, or the file contains extra (proprietary) records. In either case, you should stop processing immediately. Since there is always the danger that the file is corrupt, you should in fact wonder whether the preceding records read so far were in fact valid.