<feed xmlns="http://www.w3.org/2005/Atom" xmlns:foaf="http://xmlns.com/foaf/0.1/"><title>norman.walsh.name: Comments on /2006/01/02/2005</title><link rel="alternate" type="text/html" href="http://norman.walsh.name/2006/01/02/2005"/><id>http://norman.walsh.name/2006/01/02/2005/comments.atom</id><updated>2012-05-23T10:54:18.99476Z</updated><entry><title>Comment 1 on /2006/01/02/2005</title><link rel="alternate" type="text/html" href="http://norman.walsh.name/2006/01/02/2005#comment0001"/><id>http://norman.walsh.name/2010/09/25/oauth#comment0001</id><published>2006-01-03T16:11:36Z</published><updated>2006-01-03T16:11:36Z</updated><author><name>Norman Walsh</name><foaf:mbox_sha1sum>da39a3ee5e6b4b0d3255bfef95601890afd80709</foaf:mbox_sha1sum></author><content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml">Several people have asked me how I generated that map. I got
<a rel="nofollow" href="http://www.w3.org/2000/10/swap/pim/travel.html">the idea</a> years ago from Dan Connolly.

<p>The appointments in my Sidekick tell me what flights I've taken. For example:

</p><pre>&lt;Vevent rdf:about="http://norman.walsh.name/knows/when#e85"&gt;
    &lt;summary&gt;BDL-ORD/AA 2363&lt;/summary&gt;
    &lt;categories&gt;Flight&lt;/categories&gt;
    &lt;it:tripid&gt;trip-2005-01-sun&lt;/it:tripid&gt;
    &lt;it:depart rdf:resource="http://norman.walsh.name/knows/where#BDL"/&gt;
    &lt;it:arrive rdf:resource="http://norman.walsh.name/knows/where#ORD"/&gt;
    &lt;it:flight&gt;2363&lt;/it:flight&gt;
    &lt;it:airline&gt;American Airlines&lt;/it:airline&gt;
&lt;/Vevent&gt;</pre>

The address book entry for each airport tells me its latitude and
longitude.:

<pre>&lt;rdf:Description rdf:about="http://norman.walsh.name/knows/where#BDL"&gt;
   &lt;c:category&gt;Airports&lt;/c:category&gt;
   &lt;c:associatedName&gt;Bradley International Airport&lt;/c:associatedName&gt;
   &lt;geo:lat&gt;41.9388889&lt;/geo:lat&gt;
   &lt;geo:long&gt;-72.6832222&lt;/geo:long&gt;
&lt;/rdf:Description&gt;</pre>

And from that, it's easy to construct a summary of the great-circle arcs
that my flights have taken:

<pre>&lt;arc depart="2005-01-17 15:06:00Z" arrive="2005-01-17 16:37:00Z"
     from="BDL" to="ORD"&gt;
  &lt;marker name="BDL" latitude="41.9388889" longitude="-72.6832222"/&gt;
  &lt;marker name="ORD" latitude="41.9795950" longitude="-87.9044642"/&gt;
&lt;/arc&gt;</pre>

A Perl script uses that data to construct "arc" and "mark" files for
<a rel="nofollow" href="http://en.wikipedia.org/wiki/Xplanet">XPlanet</a>. And, finally, XPlanet
plots the arcs and marks on a
<a rel="nofollow" href="http://en.wikipedia.org/wiki/Peter%27s_Projection">Peter's
projection</a> of the globe.

<p>By the way, that's 36,966mi more-or-less which places my average speed for last year in excess of 4mph.</p></div></content></entry><entry><title>Comment 2 on /2006/01/02/2005</title><link rel="alternate" type="text/html" href="http://norman.walsh.name/2006/01/02/2005#comment0002"/><id>http://norman.walsh.name/2010/09/25/oauth#comment0002</id><published>2006-01-05T22:01:06Z</published><updated>2006-01-05T22:01:06Z</updated><author><name>Lars Marius Garshol</name><foaf:mbox_sha1sum>da39a3ee5e6b4b0d3255bfef95601890afd80709</foaf:mbox_sha1sum></author><content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml">
    <p>Very cool. So cool, in fact, that I had to do <a rel="nofollow" href="http://www.garshol.priv.no/blog/22.html">the same thing myself</a>, but using Topic Maps instead of RDF, of course. :-)</p>
  </div></content></entry></feed>

