User Guide

Table Of Contents
u-center-User Guide
UBX-13005250 - R18
Production Information 5 u-center Menus and Windows
Page 38 of 67
Figure 36: Digital map file: world.png
The Map has 1765 pixels (0 to 1764) in the horizontal and 1046 pixels (0 to 1045) in the vertical direction. The
origin is the upper left corner. To calibrate this map we will use the following three calibration points (#1 to #3).
Pixel WGS84
Coordinate
Reference Point # X Y Longitude Latitide
Upper Left Corner 1 0 0 -180.0 90.0
Lower Right Corner 2 1764 1045 180.0 -90.0
Upper Right Corner 3 1764 0 180.0 90.0
Table 16: Calibration reference points
To determine the exact pixel position you can use Microsoft Paint (mspaint.exe) or any other pixel-editing
program.
The calibration file is a plain ASCII text file. The file may contain comments. The file consists of two sections,
which start with keywords encapsulated in braces.
The REFERENCE section, which is mandatory, contains the three points used to calibrate a map. Each reference
point is on a single line and has the following syntax: # = <x>, <y>, <lon>, <lat> where
# is the index of the reference point
<x> is the horizontal image coordinate
<y> is the vertical image coordinate
<lat> is the latitude in degrees and WGS84
<lon> is the longitude in degrees and WGS84.
The optional MARKER section defines additional points on the map. Each point is on a single line with the syntax:
# = i, <x>, <y>[, <text>] or # = c, <lat>, <lon>[, <text>] where
# is the index of the marker point
i indicates that the coordinates relate to the image
c indicates that the coordinates relate to the world
<x> is the horizontal image coordinate
<y> is the vertical image coordinate
<lat> is the latitude in degrees and WGS84
<lon> is the longitude in degrees and WGS84.
<text> is a optional string in quotes labeling the marker point.
The points must have a unique index from 1 to <num>. The maximum marker point index <num> is written to
the same section on a separate line with the syntax Count = <num>.