Converting Palm Data Base files to PC format (Example using Track).
This information is useful to a programmer, but not to you. Ignore it.
). Choose a
directory and a file name with a CSV extension (this is an Excel formatted
file. These are text files and the values are separated by commas. Don't Save
the Report. That just saves the windows content and isn't needed.

The only column that is worthwhile is the Record column. The first row of that column shows the number of data points (8)
The second entry is the map you used (test.pdb).
The next two numbers are the X/Y coordinates (in palm screen units).
The X/Y coordinates are followed by the time.
This continues until the end of the
recording period.
If you made some behavioral annotations open the 050331_10_25a_pdb.PDB file from PDB reader and dump the records. The Excel sheet will look something like the one below.

Again, only the Record column is useful.
The first number is the behavior count (2). The other columns show the
behaviors and the time period they were seen. Behavior "A" was seen at time
5 (at 10:27:09 from the position list). Behavior "B" was seen at time 8
(10:27:13)
Retrieving a map from a PDB file is a little different. Open PDB Reader and select your map file. Unlike all the other files, the map file must be input in an SDWord format rather than as String (no, I havn't a clue why). Set PDB Reader as shown below. Then save it as a CSV file (same as above).

The format for the map file is shown below. Again, only the Record column is important.

For a map without icons (like trees or rocks), the first entry is 0. The second entry shows the number of points in the line drawing on the map (maybe a stream). The following numbers are the X/Y coordinates for the drawing on the map. If you have several separate lines drawn on the map, the lines will be separated by -1, followed by the number of points and then the X/Y coordinates.
If there are icons for your map then the first entry will be greater than 0 and will indicate the number of icons. Each icon is described by three numbers: the icon code, then the X/Y coordinates. The icon code is internal to the program and is not a code that has meaning to a PC. Code 1 is a different icon than code 2. The codes and their icons are shown below.