05.03.2013 Views

Data Hacking

Data Hacking

Data Hacking

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

186 Part III — <strong>Data</strong> <strong>Hacking</strong><br />

The data at the top of the file is called the header data and contains information about the what<br />

the file is, what created it, and where the layout of the file is stored (the TopoGrafix website).<br />

Leave this information alone, as making changes to it can cause the file to be unreadable by<br />

EasyGPS:<br />

<br />

2004-11-18T15:59:12Z<br />

<br />

<br />

The next section of the file contains information relating to the range of data held by the file.<br />

The terms minlon and minlat stand for minimum longitude and minimum latitude, respectively,<br />

while maxlon and maxlat stand for maximum longitude and maximum latitude, respectively.<br />

This is used by the file to speed up the sorting of the data by latitude and longitude:<br />

<br />

39.0589602004-11-18T15:48:31Z<br />

BENCH<br />

BENCH<br />

Scenic Area<br />

Scenic Area<br />

<br />

Next you come to the data relating to the waypoints themselves. The data is quite straightforward<br />

to read and edit. Latitude and longitude (lat and lon) are stored in degrees and decimal<br />

degrees, with – used to signify southern latitudes and eastern longitudes. The + symbol is not<br />

required for northern latitudes and western longitudes. All the coordinates used are relative to<br />

WGS84. Time is stored in Universal Coordinated Time (UTC) format and not local time.<br />

Name and description are text fields and symbol specifies the type of symbol used; type enables<br />

you to enter a text description for the symbol. Symbols are device-dependant and I recommend<br />

that you only edit these with the appropriate software. Elevation (ele) information is in meters.<br />

You can edit these values with any text editor to whatever value that you want. For example,<br />

let’s say that when you look at the map, you find that the elevation at the site for the coordinates<br />

is 55 meters instead of the 39.058960 (a measurement that is accurate to a fraction of a<br />

millimeter and totally unrealistic for a GPS), you simply change the value. While you are at it,<br />

change the time too:<br />

<br />

55.0000002004-11-22T12:31:00Z<br />

BENCH<br />

BENCH<br />

Scenic Area<br />

Scenic Area<br />

<br />

Using the format laid out, you can also use the file to create new waypoints. The basic skeleton<br />

that holds the data is as follows:

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!