<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>On a Tangent &#187; Visualisation</title>
	<atom:link href="http://www.goodwin.id.au/tag/visualisation/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.goodwin.id.au</link>
	<description>A blog about all sorts of stuff</description>
	<lastBuildDate>Mon, 18 Jul 2011 18:36:36 +0000</lastBuildDate>
	<language>en-US</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=3.8.35</generator>
	<item>
		<title>Visualising Newcastle&#8217;s Live Music Scene</title>
		<link>http://www.goodwin.id.au/2011/04/26/visualising-newcastles-live-music-scene/</link>
		<comments>http://www.goodwin.id.au/2011/04/26/visualising-newcastles-live-music-scene/#comments</comments>
		<pubDate>Tue, 26 Apr 2011 00:41:09 +0000</pubDate>
		<dc:creator><![CDATA[Andrew]]></dc:creator>
				<category><![CDATA[Visualisation]]></category>
		<category><![CDATA[animation]]></category>
		<category><![CDATA[geolocation]]></category>
		<category><![CDATA[newcastlemusic]]></category>

		<guid isPermaLink="false">http://www.goodwin.id.au/?p=501</guid>
		<description><![CDATA[Until recently I was responsible for running an online gig guide for Newcastle, NSW, Australia. Over the four years that the gig guide operated I published over 60,000 events. Collating and mapping the events was a painstaking task that took many hours each week. Each of the events in the database is accompanied by a [&#8230;]]]></description>
				<content:encoded><![CDATA[<p><a href="http://www.goodwin.id.au/wp-content/uploads/2011/04/cropped_nm_gigs_visualisation.png"><img src="http://www.goodwin.id.au/wp-content/uploads/2011/04/cropped_nm_gigs_visualisation-300x219.png" alt="" title="cropped_nm_gigs_visualisation" width="300" height="219" class="alignleft size-medium wp-image-519" /></a>Until recently I was responsible for running an online gig guide for Newcastle, NSW, Australia. Over the four years that the gig guide operated I published over 60,000 events. Collating and mapping the events was a painstaking task that took many hours each week. </p>
<p>Each of the events in the database is accompanied by a latitude and longitude, allowing the events to be located on a map. The animation below shows a visualisation of some of the events. The video covers events from July 2009 to December 2009. Orange flashes show areas of live music activity. Major venues are labelled. Each frame in the video covers one hour of real time.</p>
<p>View the video in fullscreen to make the venue labels readable.</p>
<p><object width="600" height="340"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=22867096&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=0&amp;show_portrait=0&amp;color=00adef&amp;fullscreen=1&amp;autoplay=0&amp;loop=0" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=22867096&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=0&amp;show_portrait=0&amp;color=00adef&amp;fullscreen=1&amp;autoplay=0&amp;loop=0" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="601" height="338"></embed></object>
<p><a href="http://vimeo.com/22867096">Visualising Newcastle&#8217;s Live Music Scene</a> from <a href="http://vimeo.com/ajg">Andrew Goodwin</a> on <a href="http://vimeo.com">Vimeo</a>.</p>
<p>This animation uses less than 10% of the gig archive database. The full dataset extends from Gosford in the South, to Taree in the North, and West to Merriwa in the Upper Hunter Valley. Gigs were recorded for a period of 4 years from October 2006 to December 2010.</p>
<p>The full archive of past events can be viewed at the <a href="http://www.newcastlemusic.com/gigarchive.php">NewcastleMusic.com Gig Archive</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.goodwin.id.au/2011/04/26/visualising-newcastles-live-music-scene/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Visualising iPhone Location Information</title>
		<link>http://www.goodwin.id.au/2011/04/21/iphone-tracking-heatmap/</link>
		<comments>http://www.goodwin.id.au/2011/04/21/iphone-tracking-heatmap/#comments</comments>
		<pubDate>Thu, 21 Apr 2011 07:08:35 +0000</pubDate>
		<dc:creator><![CDATA[Andrew]]></dc:creator>
				<category><![CDATA[Visualisation]]></category>
		<category><![CDATA[geolocation]]></category>
		<category><![CDATA[newcastle]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[privacy]]></category>

		<guid isPermaLink="false">http://www.goodwin.id.au/?p=442</guid>
		<description><![CDATA[The iPhone operating system records a user's Longitude and Latitude over time. This information can be accessed readily and visualised. This posts describes the process of creating an animation of the location data over time. Most of the co-ordinates were from the Sydney and Hunter regions of NSW, Australia.]]></description>
				<content:encoded><![CDATA[<p>After hearing about the existence of a <a href="http://www.wired.com/gadgetlab/2011/04/iphone-tracks/">file that stores the location of an iPhone</a>, I decided to investigate for myself. </p>
<p>Apparently iPhones running iOS4 periodically record the device&#8217;s Latitude and Longitude and timestamp in one of the numerous <a href="http://sqlite.org/">SQLite</a> databases in phone&#8217;s backup and configuration system. Several sites have provided methods of <a href="http://stackoverflow.com/questions/3085153/how-to-parse-the-manifest-mbdb-file-in-an-ios-4-0-itunes-backup">extracting the filename</a> from encrypted backup filesystem. Once located, the contents of the file in question can be investigated using any number of techniques including the <a href="https://addons.mozilla.org/en-US/firefox/addon/sqlite-manager/">SQLite Manager plugin for Firefox</a>.  </p>
<p>This system of logging the location of the iPhone to file has been in use for some time, as pointed out in this <a href="https://alexlevinson.wordpress.com/2011/04/21/3-major-issues-with-the-latest-iphone-tracking-discovery/">excellent blog post</a> by Alex Levinson, co-author of the book <a href="http://www.amazon.com/iOS-Forensic-Analysis-iPhone-Professionals/dp/1430233427">iOS Forensic Analysis</a>.</p>
<p>Many news reports have claimed that this information is not transmitted back to Apple, but this revealing post from F-Secure Security Labs suggests that by default this <a href="http://www.f-secure.com/weblog/archives/00002145.html">location information is sent back to Apple twice a day</a> so that Apple may collate a database of Wi-Fi locations. </p>
<p>The co-ordinates stored in the location database are also readily available to any iPhone application installed on the phone through the iOS API. About halfway down the page in the <a href="http://developer.apple.com/technologies/ios/whats-new.html">What&#8217;s New in iOS 4</a> page on the apple website we find this quote:</p>
<blockquote><p>
<strong>Background location</strong> &#8211; Navigation apps can now continue to guide users who are listening to their iPods, or using other apps. iOS 4 also provides a new and battery-efficient way to monitor location when users move between cell towers. This is a great way for your social networking apps to keep track of users and their friends&#8217; locations.
</p></blockquote>
<h4>Visualising The Data</h4>
<p>Since I had access to the raw data in a convenient SQLite database format, I decided to create my own visualisation. I wrote a PHP script that selected some of the rows from the tracking database and generated a series of images using PHP&#8217;s <a href="http://php.net/manual/en/book.image.php">GD Image Library</a>. The location of each point was highlighted orange and allowed to fade gradually over time, creating a &#8220;heatmap&#8221; effect.</p>
<p>The resulting animation shows the location of my iPhone during the period July 2010 to April 2011. During that period I made several interstate trips, but this animation focuses on the Sydney, Newcastle, Hunter Valley and Port Stephens areas.</p>
<p>At the beginning of the tracking period I lived in Sydney, but traveled to Newcastle regularly for work. Numerous hotspots can be seen in the Wyong area, this is because I usually stop at the Twin Service Stations at Wyong to break up the journey along the F3. Here I usually check my email and make a few phone calls. Later parts of the animation show more activity in Newcastle and ends with a recent holiday to Port Stephens.</p>
<p><iframe title="YouTube video player" width="560" height="349" src="http://www.youtube.com/embed/j_sYfYrp4co?rel=0" frameborder="0" allowfullscreen></iframe></p>
<p>The animation is also available in <a href="http://www.youtube.com/watch?v=j_sYfYrp4co&amp;hd=1">High Definition on YouTube</a>.</p>
<p>In total there were 4181 rows of co-ordinates in my tracking file, each one with a timestamp and estimated horizontal accuracy. The information was inside a table called called &#8220;cellLocation&#8221;. The dataset went back some 275 days. Presumably the collection of gelocation information in this file began when I installed iOS4 in the middle of last year.</p>
<p>Clearly, storage of such information in an unencrypted format  by default on every iPhone in the world could be a potential privacy issue, but it&#8217;s <a href="http://www.zdnet.com.au/iphone-ipad-tracking-big-deal-339313651.htm">not like this information hasn&#8217;t been collected before</a>. Google, Foursquare, Facebook and Twitter all collect information on the whereabouts of it&#8217;s users whenever they can. These companies gain access to the more accurate information as they have access to the device&#8217;s built-in GPS. Each time you check in on foursquare, tag yourself in a Facebook place, or geotag your tweets you are explicitly opting in to these information collection services. </p>
<p><strong>What&#8217;s different this time is that now the end user has the ability to actually view the information that is being collected about their location by their mobile devices. </strong></p>
<p>This one of the first times that this information has been so readily accessible. <a href="http://mashable.com/2011/03/02/100-million-iphones/">Over 100 Million iPhones have been sold</a>, making this one of the most widely and publicly available geolocation datasets. Unfortunately, this information is fragmented across tens of millions of computer in the form of iPhone&#8217;s backup files. </p>
<p>Various open source applications are appearing that allow users to visualise their movements based on the contents of the iPhone tracking file. Form example, an <a href="http://petewarden.github.com/iPhoneTracker/">OSX application</a> released by Alasdair Allan and Pete Warden, and a <a href="http://www.ikarsoft.com/?p=93">Java application</a>n that outputs the waypints in .kml format ready for viewing in Google Earth. </p>
<p>I can say from my own experience that reviewing the location information from my own phone was a thought provoking exercise. I started wondering who collects information about my location. I&#8217;ve already mentioned Twitter, Foursquare, Facebook etc. but there&#8217;s many more less obvious examples of tracking going on. </p>
<p>The geolocation information has been derived from the location of nearby cell towers. Information of this nature is collected by mobile providers so they know which cell tower to route the current call through. The Latitude and Longitude seems to be accurate to within a few kilometers at worst. </p>
<p>My current mobile carrier, Optus, would have a wealth of information about my whereabouts at any point in time. The data they have would be almost exactly the same as the information I extracted from the iPhone database. </p>
<p><strong>Mobile carriers collect this information routinely</strong></p>
<p>We can&#8217;t stop the mobile carriers from collecting this information because they need it for the the robust and efficient operation of their network. What we should be doing however is questioning is what their policy with respect to this information once they collect it. </p>
<p>For example:</p>
<ul>
<li>Exactly what information is collected and retained</li>
<li>How long will they retain this information.</li>
<li>What is the carriers policy on giving up this information to third parties (Advertisiers, partner companies, law enforcement).</li>
</ul>
<p>The location of a users phone at a particular time location is routinely used in criminal cases. This is how former Justice Einfeld was convicted of lying under oath in early 2009. Police then <a href="http://www.brisbanetimes.com.au/national/how-police-tracked-einfeld-20090324-98m7.html">used mobile phone records to trace Einfeld</a> as he drove south over the Spit Bridge.</p>
<p>If the mobile phone companies are willing to give up this data for case involving a speeding fine, then they are very likely to be willing to divulge the same information to authorities under more serious circumstances.</p>
<p>I&#8217;m hoping this post raises awareness of the fact that location information can be, and <em>is</em> being collected from every mobile phone user. Perhaps in the near future it will be routine to ask more about your mobile carrier&#8217;s privacy and data retention policies when choosing a network.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.goodwin.id.au/2011/04/21/iphone-tracking-heatmap/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
