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.

W<br />

FIGURE 8-2: Lines of longitude<br />

Chapter 8 — GPS <strong>Data</strong><br />

You can take a measurement of latitude and longitude (although the convention is to use longitude<br />

followed by latitude) and combine them to get a fixed point of the Earth’s surface. This is<br />

similar to the grid system used in games such as Battleship in which by specifying how many<br />

squares to move along and up, you get to the square in question.<br />

For example, 0° longitude, 0° latitude (written as 0°, 0° ) is a point in the Atlantic Ocean off the<br />

coast of Africa, while 180° east (or west, for that matter) longitude, 0° latitude is still on the<br />

equator, but this time on the other side of the world completely, in the Pacific Ocean, off the<br />

coast of Fiji.<br />

Degrees are a good start to plotting coordinates, but they aren’t as precise as possible. What you<br />

now need to do is further divide the degrees into minutes. Each degree consists of 60 minutes:<br />

12° 12’ N 04° 08’ W<br />

N<br />

In addition to minutes, you can add even greater precision by adding decimal parts of a minute:<br />

12° 12.255’ N 04° 08.345’ W<br />

Instead of using decimal minutes, you can also subdivide minutes into seconds (where one<br />

minute has 60 seconds). However, decimal minutes are the general coordinate format used with<br />

the WGS84 datum system that we are going to use here, and they are the default units shown<br />

on GPS receivers.<br />

No matter what coordinate format you choose, the actual location represented on the planet is<br />

the same. The numbers may be different, but the location is the same. For example, the following<br />

three sets of coordinates represent the same spot on the globe:<br />

N 38 deg 26 min 48.517 sec, W 76 deg 5 min 38.192 sec<br />

N 38 deg 26.80862 min, W 76 deg 5.63653 min<br />

-76.0939423, 38.4468104<br />

S<br />

Greenwich Meridian<br />

E<br />

167

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

Saved successfully!

Ooh no, something went wrong!