<?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>Never Use This Font &#187; GPS</title>
	<atom:link href="http://neverusethisfont.com/blog/tags/gps/feed/" rel="self" type="application/rss+xml" />
	<link>http://neverusethisfont.com/blog</link>
	<description>Aaron Parecki is the co-founder of Geoloqi.com, and specializes in backend systems development.</description>
	<lastBuildDate>Mon, 11 Jul 2011 22:50:38 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Analyzing the iPhone Location Log File</title>
		<link>http://neverusethisfont.com/blog/2011/04/analyzing-the-iphone-location-log-file/</link>
		<comments>http://neverusethisfont.com/blog/2011/04/analyzing-the-iphone-location-log-file/#comments</comments>
		<pubDate>Thu, 21 Apr 2011 06:39:25 +0000</pubDate>
		<dc:creator>aaron</dc:creator>
				<category><![CDATA[Geo]]></category>
		<category><![CDATA[OS X/Apple]]></category>
		<category><![CDATA[GPS]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[tracking]]></category>

		<guid isPermaLink="false">http://neverusethisfont.com/blog/?p=499</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p>Today at Where 2.0, two data scientists <a href="http://radar.oreilly.com/2011/04/apple-location-tracking.html">announced a discovery</a> that iPhones are recording GPS positions into a hidden file on the device. I&#8217;ll save a summary for an update of this post, but go read the original article for now.</p>
<p>I downloaded the logs from <a href="http://caseorganic.com/blog/">Amber Case</a>&#8216;s iPhone, and have been looking through them to see what&#8217;s there. Turns out it&#8217;s a lot more than just the cell tower positions of the phone. There&#8217;s also a list of all wifi access points the device has seen, as well as the best-guess position of each wifi access point!</p>
<p>There also seems to be a table in the database containing a record of all the requests that other programs have made for your location, which includes the app&#8217;s bundle ID. Here&#8217;s a snippet of the logs:</p>
<div style="overflow: scroll; background-color: #eee;">
<table><TR><TH>MCC</TH><TH>MNC</TH><TH>LAC</TH><TH>CI</TH><TH>RSSI</TH><TH>ARFCN</TH><TH>PSC</TH><TH>RSCP</TH><TH>ECN0</TH><TH>Operator</TH><TH>Transmit</TH><TH>BundleId</TH><TH>Timestamp</TH><TH>Latitude</TH><TH>Longitude</TH><TH>HorizontalAccuracy</TH><TH>Altitude</TH><TH>VerticalAccuracy</TH><TH>Speed</TH><TH>Course</TH><TH>Confidence</TH></TR><TR><TD>310</TD><TD>410</TD><TD>56983</TD><TD>2067187</TD><TD>-1</TD><TD>9721</TD><TD>414</TD><TD>96</TD><TD>7</TD><TD>AT&amp;T</TD><TD>-1</TD><TD></TD><TD>325045574.119049</TD><TD>37.39194315</TD><TD>-121.977325016667</TD><TD>47.4216335497634</TD><TD>53.2738933563232</TD><TD>70.2810013757997</TD><TD>0.0</TD><TD>-1.0</TD><TD>90</TD></TR><TR><TD>310</TD><TD>410</TD><TD>56983</TD><TD>2067187</TD><TD>-1</TD><TD>9721</TD><TD>414</TD><TD>109</TD><TD>12</TD><TD>AT&amp;T</TD><TD>-1</TD><TD>com.geoloqi</TD><TD>325044683.18984</TD><TD>37.3916252333333</TD><TD>-121.9769063</TD><TD>47.4216335497634</TD><TD>35.2740898132324</TD><TD>70.2810013757997</TD><TD>0.0</TD><TD>-1.0</TD><TD>90</TD></TR><TR><TD>310</TD><TD>410</TD><TD>56983</TD><TD>2039667</TD><TD>-1</TD><TD>9721</TD><TD>276</TD><TD>76</TD><TD>4</TD><TD>AT&amp;T</TD><TD>-1</TD><TD>com.localmind.ios</TD><TD>325043720.464916</TD><TD>37.4044454</TD><TD>-121.9751501</TD><TD>162.957953194342</TD><TD>28.2493667602539</TD><TD>228.343673256242</TD><TD>0.0</TD><TD>-1.0</TD><TD>90</TD></TR><TR><TD>310</TD><TD>410</TD><TD>56983</TD><TD>2039667</TD><TD>-1</TD><TD>9721</TD><TD>276</TD><TD>72</TD><TD>5</TD><TD>AT&amp;T</TD><TD>-1</TD><TD>com.naveenium.foursquare</TD><TD>325024994.168633</TD><TD>37.4042630166667</TD><TD>-121.975922583333</TD><TD>162.957953194342</TD><TD>28.2504062652588</TD><TD>228.343673256242</TD><TD>0.0</TD><TD>-1.0</TD><TD>90</TD></TR><TR><TD>310</TD><TD>410</TD><TD>56983</TD><TD>2070748</TD><TD>-1</TD><TD>512</TD><TD>180</TD><TD>96</TD><TD>13</TD><TD>AT&amp;T</TD><TD>-1</TD><TD>com.apple.camera</TD><TD>324957354.61129</TD><TD>37.3848867333333</TD><TD>-121.995491966667</TD><TD>162.957953194342</TD><TD>28.3031120300293</TD><TD>228.343673256242</TD><TD>0.0</TD><TD>-1.0</TD><TD>90</TD></TR><TR><TD>310</TD><TD>410</TD><TD>56983</TD><TD>2068368</TD><TD>-1</TD><TD>9721</TD><TD>180</TD><TD>99</TD><TD>14</TD><TD>AT&amp;T</TD><TD>-1</TD><TD>com.alamofire.gowalla</TD><TD>324956280.786805</TD><TD>37.3848867333333</TD><TD>-121.995491966667</TD><TD>162.957953194342</TD><TD>28.3031120300293</TD><TD>228.343673256242</TD><TD>0.0</TD><TD>-1.0</TD><TD>90</TD></TR><TR><TD>310</TD><TD>410</TD><TD>56983</TD><TD>2052127</TD><TD>-1</TD><TD>9721</TD><TD>464</TD><TD>89</TD><TD>12</TD><TD>AT&amp;T</TD><TD>-1</TD><TD>com.google.GoogleLatitude</TD><TD>324940590.288545</TD><TD>37.4049282</TD><TD>-121.976459016667</TD><TD>162.957953194342</TD><TD>28.2496871948242</TD><TD>228.343673256242</TD><TD>0.0</TD><TD>-1.0</TD><TD>90</TD></TR><TR><TD>310</TD><TD>410</TD><TD>56977</TD><TD>2497652</TD><TD>-1</TD><TD>4385</TD><TD>299</TD><TD>71</TD><TD>9</TD><TD>AT&amp;T</TD><TD>-1</TD><TD>com.apple.Maps</TD><TD>324879306.751405</TD><TD>37.5537628166667</TD><TD>-122.309797466667</TD><TD>76.3568859153783</TD><TD>46.2922878265381</TD><TD>113.17575656752</TD><TD>0.0</TD><TD>158.0</TD><TD>90</TD></TR><TR><TD>310</TD><TD>410</TD><TD>56976</TD><TD>2757485</TD><TD>-1</TD><TD>9721</TD><TD>252</TD><TD>89</TD><TD>9</TD><TD>AT&amp;T</TD><TD>-1</TD><TD>com.yelp.yelpiphone</TD><TD>324873997.281525</TD><TD>37.7768964333333</TD><TD>-122.3948506</TD><TD>162.957953194342</TD><TD>50.9832305908203</TD><TD>228.343673256242</TD><TD>0.0</TD><TD>-1.0</TD><TD>90</TD></TR></table>
</div>
<p>The Bundle IDs of the apps that requested location are clearly visible, and it also shows where the phone was when the app requested the location. This suggests to me that the purpose for these logs is not malicious on Apple&#8217;s part at all.</p>
<p>I also observed that the timestamps of the logs in the <code>CellLocation</code> table were not very granular. There seemed to be batches of 30-50 significantly different locations at a time, with anywhere from 1 to 12 hours between timestamps. My guess after asking Amber about her syncing habits, is that the timestamps correspond to the date the phone was synced with the computer, not necessarily the date the timestamp was recorded. This is speculation at this point, and I will hopefully be able to come to a better conclusion after some more analysis of the data.</p>
<p>If it in in fact the timestamp of the sync, this would seem to further contradict the notion that Apple is covertly tracking your every move, since location data is far more useful when it contains a timestamp associated with it. This data says something more like &#8220;Here are all the cell towers the phone has seen since it was last synced.&#8221; I&#8217;m not sure exactly what purpose this would serve.</p>
<p>Some of the other database tables that piqued my interest included:</p>
<p><code>WifiLocation</code> &#8211; a database of all wifi hotspots seen, their mac addresses and latitude/longitudes</p>
<p><code>Fences</code> &#8211; my guess is this corresponds to Apple&#8217;s <a href="https://developer.apple.com/library/ios/#documentation/CoreLocation/Reference/CLRegion_class/Reference/Reference.html">CLRegion</a> API, which allows iOS developers to define fences which trigger a method when the user crosses the boundary.</p>
<p><code>*Harvest</code> &#8211; All tables ending in Harvest correlate with the different location tracking types, Cell, CDMA, Wifi, etc. These tables track requests made to the various location providers.</p>
<p>So far it&#8217;s been a lot of fun to look through this data, and I&#8217;m looking forward to continuing to play with the data. Many thanks to <a href="http://twitter.com/petewarden">Pete Warden</a> and <a href="http://about.me/alasdairallan">Alasdair Allan</a> for pointing out this log!</p>
<hr />
<p>Aaron Parecki is the co-founder of <a href="http://geoloqi.com">Geoloqi.com</a>, a private, real-time location sharing platform. Geoloqi allows you to securely track your location and you always have complete control over who can see your location. You can leave yourself a Geonote at a place which will be sent to you next time you&#8217;re there. <a href="http://geoloqi.org/API">Geoloqi has an API</a> which lets you download all of your location history, as well as build fun apps on top of the platform!</p>
]]></content:encoded>
			<wfw:commentRss>http://neverusethisfont.com/blog/2011/04/analyzing-the-iphone-location-log-file/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Mapping wifi access points in Portland</title>
		<link>http://neverusethisfont.com/blog/2010/01/mapping-wifi-access-points-in-portland/</link>
		<comments>http://neverusethisfont.com/blog/2010/01/mapping-wifi-access-points-in-portland/#comments</comments>
		<pubDate>Sat, 02 Jan 2010 21:09:46 +0000</pubDate>
		<dc:creator>aaron</dc:creator>
				<category><![CDATA[Geo]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[geomena]]></category>
		<category><![CDATA[GPS]]></category>
		<category><![CDATA[mapping]]></category>
		<category><![CDATA[Portland]]></category>
		<category><![CDATA[Wifi]]></category>

		<guid isPermaLink="false">http://neverusethisfont.com/blog/?p=231</guid>
		<description><![CDATA[I&#8217;ve been logging GPS data for about a year and a half. I use an app on my Windows Mobile phone to log the GPS data, and my phone has a wifi antenna that stays in the &#8220;off&#8221; position most of the time. I met with @donpdonp the other day and he introduced me to [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been <a href="http://aaronparecki.com/GPS_Visualization">logging GPS data</a> for about a year and a half. I use an app on my Windows Mobile phone to log the GPS data, and my phone has a wifi antenna that stays in the &#8220;off&#8221; position most of the time. I met with <a href="http://twitter.com/donpdonp">@donpdonp</a> the other day and he introduced me to the <a href="http://geomena.org">geomena.org</a> project. I realized it should be possible to log access points along with my existing GPS logging. It was easy to install Airomap on my phone, so now I can log wifi points too! </p>
<p>So far I&#8217;ve only made about a dozen trips with the wifi antenna on, but I&#8217;ve already logged 2200 unique mac addresses, and 427 open access points. And this is only on my normal route to and from work, I haven&#8217;t made any special wardriving trips yet. Here is a heatmap visualization of the access points I&#8217;ve logged so far. </p>
<p><img src="http://neverusethisfont.com/blog/wp-content/uploads/2010/01/Picture-17.png" alt="Wifi Hotspot Heatmap" title="Wifi Hotspot Heatmap" width="519" height="472" class="aligncenter size-full wp-image-232" /></p>
<p>This uses a custom tileserver I wrote to provide an additional data layer to the map. Hotter spots on the map correspond to more open access points in that area. </p>
<p>This is a version which shows each access point as a marker on the map so you can click on them.</p>
<div id="attachment_233" class="wp-caption aligncenter" style="width: 610px"><img src="http://neverusethisfont.com/blog/wp-content/uploads/2010/01/Picture-18.png" alt="Wifi Access Points in Portland. Red: encrypted, Blue: open" title="Wifi Access Points in Portland" width="600" height="759" class="size-full wp-image-233" /><p class="wp-caption-text">Wifi Access Points in Portland. Red: encrypted, Blue: open</p></div>
<p>Most of the access points appear to be in the middle of the street, because most have been seen only one time by my logger, which was in the middle of the street. As the access points are seen repeatedly from other positions, the points will adjust to a more accurate position. You can already see this happening for a few points which appear in the middle of blocks or on streets through which I did not drive.</p>
<p>Again, these maps are still in their infancy, since I&#8217;ve only logged a few days worth of points on very narrow routes. But it&#8217;s amazing that I&#8217;ve already driven by 2200 access points just in the normal course of the day. I&#8217;m looking forward to continuing logging data and eventually importing it into the geomena database. It&#8217;s easy to see how quickly we could map out the entire city with just a couple people running loggers!</p>
]]></content:encoded>
			<wfw:commentRss>http://neverusethisfont.com/blog/2010/01/mapping-wifi-access-points-in-portland/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

