{"id":53,"date":"2007-06-15T14:30:44","date_gmt":"2007-06-15T21:30:44","guid":{"rendered":"http:\/\/www.rahulnair.com\/blog\/2007\/06\/15\/trip-tracker\/"},"modified":"2013-05-15T13:16:08","modified_gmt":"2013-05-15T20:16:08","slug":"trip-tracker","status":"publish","type":"post","link":"http:\/\/www.rahulnair.net\/blog\/2007\/06\/15\/trip-tracker\/","title":{"rendered":"Trip tracker"},"content":{"rendered":"<p>UPDATE: Since Yahoo! has shut down may of the services that Trip Tracker relied upon I have replaced the live links with some real example images that I captured over the years.<\/p>\n<p><a href=\"http:\/\/www.rahulnair.net\/blog\/wp-content\/uploads\/2007\/06\/1182918421.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.rahulnair.net\/blog\/wp-content\/uploads\/2007\/06\/1182918421-300x300.png\" alt=\"1182918421\" width=\"300\" height=\"300\" class=\"aligncenter size-medium wp-image-836\" srcset=\"http:\/\/www.rahulnair.net\/blog\/wp-content\/uploads\/2007\/06\/1182918421-300x300.png 300w, http:\/\/www.rahulnair.net\/blog\/wp-content\/uploads\/2007\/06\/1182918421-150x150.png 150w, http:\/\/www.rahulnair.net\/blog\/wp-content\/uploads\/2007\/06\/1182918421.png 440w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>Trip tracker is a quick hack that I created using the <a href='http:\/\/fireeagle.research.yahoo.com'>FireEagle location platform<\/a> from Yahoo! Research Berkeley and is designed to convery a quick summary or what I&#8217;m doing during my summer holiday. The first part is a badge image (above) that shows you some quick summary about my current location. It shows you the following things<\/p>\n<p><strong>Location<\/strong>: A map tile of my location which zooms appropriately based on the accuracy of the available location. This is obtained from the wonderful <a href=\"http:\/\/developer.yahoo.com\/maps\/rest\/V1\/mapImage.html\">Yahoo! Map Image API<\/a>. It also prints out the location in text. I seem to be running into some rate limiting issues with this api so the image may not always load.<br \/>\n<a href=\"http:\/\/www.rahulnair.net\/blog\/wp-content\/uploads\/2007\/06\/1183053464.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.rahulnair.net\/blog\/wp-content\/uploads\/2007\/06\/1183053464-300x300.png\" alt=\"1183053464\" width=\"300\" height=\"300\" class=\"aligncenter size-medium wp-image-837\" srcset=\"http:\/\/www.rahulnair.net\/blog\/wp-content\/uploads\/2007\/06\/1183053464-300x300.png 300w, http:\/\/www.rahulnair.net\/blog\/wp-content\/uploads\/2007\/06\/1183053464-150x150.png 150w, http:\/\/www.rahulnair.net\/blog\/wp-content\/uploads\/2007\/06\/1183053464.png 440w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p><strong>Weather<\/strong>: This is collected from the <a href=\"http:\/\/developer.yahoo.com\/weather\/\">Yahoo! Weather API<\/a> and is displayed as an icon along with the temperature in Fahrenheit. the icon respect sunrise\/sunset times and updates based on the lighting in that location.<br \/>\n<a href=\"http:\/\/www.rahulnair.net\/blog\/wp-content\/uploads\/2007\/06\/1182286899.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.rahulnair.net\/blog\/wp-content\/uploads\/2007\/06\/1182286899-300x300.png\" alt=\"1182286899\" width=\"300\" height=\"300\" class=\"aligncenter size-medium wp-image-833\" srcset=\"http:\/\/www.rahulnair.net\/blog\/wp-content\/uploads\/2007\/06\/1182286899-300x300.png 300w, http:\/\/www.rahulnair.net\/blog\/wp-content\/uploads\/2007\/06\/1182286899-150x150.png 150w, http:\/\/www.rahulnair.net\/blog\/wp-content\/uploads\/2007\/06\/1182286899.png 440w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p><strong>Time<\/strong>: Current time in MY (not your) location<br \/>\n<strong>Photographs<\/strong>: This is my favourite part of the badge and its a best guess as to the <a href=\"http:\/\/flickr.com\/\">Flickr<\/a> image most relevant for my current context. The algorithm searches Flickr in the following order<\/p>\n<ol>\n<li>Get my most recent photograph (limit 1 hour)<\/li>\n<li>Get the last photo I took in this location (5 mile radius)<\/li>\n<li>Get the Flickr geotagged image that is closest to my current location<\/li>\n<\/ol>\n<p><a href=\"http:\/\/www.rahulnair.net\/blog\/wp-content\/uploads\/2007\/06\/1182418751.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.rahulnair.net\/blog\/wp-content\/uploads\/2007\/06\/1182418751-300x300.png\" alt=\"1182418751\" width=\"300\" height=\"300\" class=\"aligncenter size-medium wp-image-834\" srcset=\"http:\/\/www.rahulnair.net\/blog\/wp-content\/uploads\/2007\/06\/1182418751-300x300.png 300w, http:\/\/www.rahulnair.net\/blog\/wp-content\/uploads\/2007\/06\/1182418751-150x150.png 150w, http:\/\/www.rahulnair.net\/blog\/wp-content\/uploads\/2007\/06\/1182418751.png 440w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p><strong>Detail page<\/strong><br \/>\nIf you click on the badge image you are taken to the <a href=\"http:\/\/www.rahulnair.net\/mashups\/badge\/display.php\">detail page<\/a> which is a really really ugly HTML page I created that includes an interactive AJAX map of my current location as well as a <a href=\"http:\/\/www.bigbadbully.org\/2007\/02\/flickr-flash-widget.html\">flash flickr widget<\/a> with my latest public photos<\/p>\n<p><a href=\"http:\/\/www.rahulnair.net\/blog\/wp-content\/uploads\/2007\/06\/1182883261.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.rahulnair.net\/blog\/wp-content\/uploads\/2007\/06\/1182883261-300x300.png\" alt=\"1182883261\" width=\"300\" height=\"300\" class=\"aligncenter size-medium wp-image-835\" srcset=\"http:\/\/www.rahulnair.net\/blog\/wp-content\/uploads\/2007\/06\/1182883261-300x300.png 300w, http:\/\/www.rahulnair.net\/blog\/wp-content\/uploads\/2007\/06\/1182883261-150x150.png 150w, http:\/\/www.rahulnair.net\/blog\/wp-content\/uploads\/2007\/06\/1182883261.png 440w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p><strong>Caching<\/strong><br \/>\nTo prevent my server from melting down the processing for the map tiles and flickr images is only done once every five minutes &#8211; if you want an updated location just wait for a few seconds or visit the detail page which shows live location on every refresh.<\/p>\n<p><a href=\"http:\/\/www.rahulnair.net\/blog\/wp-content\/uploads\/2007\/06\/1183489614.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.rahulnair.net\/blog\/wp-content\/uploads\/2007\/06\/1183489614-300x300.png\" alt=\"1183489614\" width=\"300\" height=\"300\" class=\"aligncenter size-medium wp-image-838\" srcset=\"http:\/\/www.rahulnair.net\/blog\/wp-content\/uploads\/2007\/06\/1183489614-300x300.png 300w, http:\/\/www.rahulnair.net\/blog\/wp-content\/uploads\/2007\/06\/1183489614-150x150.png 150w, http:\/\/www.rahulnair.net\/blog\/wp-content\/uploads\/2007\/06\/1183489614.png 440w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>Tomorrow I will be leaving for a 2 week driving holiday that will take me from Oakland all the way to Vancouver and back. I will be updating my location using my <a href=\"http:\/\/zonetag.research.yahoo.com\/\">ZoneTag<\/a> phone and you should be able to follow my trip using the trip tracker. If you&#8217;d like to develop against the location data from my trip you can access the live data <a href=\"http:\/\/fireeagle.research.yahoo.com\/api\/queryLoc.php?public=ZWNYMDAwMDAzbTJhcFpM\">here<\/a> (the most interesting part will probably be when I drive the 900 miles from Oakland to Seattle on the 16th). I will be leaving my location publicly accessible all through <a href=\"http:\/\/www.hackday.org\/\">London hack day<\/a> and possibly during the entire trip as well. Do let me know if you hack up with something cool.<\/p>\n<p>P.S.: A huge thanks to Beste Nazilli for helping out with the visual look and feel of the badge &#8211; as you can probably tell she did NOT have anything to do with the detail page \ud83d\ude42<br \/>\n[tags]location, lbs, badge, track, trip tracker, fireeagle, flickr, yahoo, maps, weather, research[\/tags]<\/p>\n<p><a href=\"http:\/\/www.rahulnair.net\/mashups\/badge\/display.php\"><img src='http:\/\/www.rahulnair.net\/mashups\/badge\/badge.php'><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>UPDATE: Since Yahoo! has shut down may of the services that Trip Tracker relied upon I have replaced the live links with some real example images that I captured over the years. Trip tracker is a quick hack that I created using the FireEagle location platform from Yahoo! Research Berkeley and is designed to convery [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[16,6,4],"tags":[],"class_list":["post-53","post","type-post","status-publish","format-standard","hentry","category-mashup","category-personal","category-work"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/pqPFW-R","_links":{"self":[{"href":"http:\/\/www.rahulnair.net\/blog\/wp-json\/wp\/v2\/posts\/53","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.rahulnair.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.rahulnair.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.rahulnair.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.rahulnair.net\/blog\/wp-json\/wp\/v2\/comments?post=53"}],"version-history":[{"count":0,"href":"http:\/\/www.rahulnair.net\/blog\/wp-json\/wp\/v2\/posts\/53\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.rahulnair.net\/blog\/wp-json\/wp\/v2\/media?parent=53"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.rahulnair.net\/blog\/wp-json\/wp\/v2\/categories?post=53"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.rahulnair.net\/blog\/wp-json\/wp\/v2\/tags?post=53"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}