<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="https://shkspr.mobi/blog/wp-content/themes/edent-wordpress-theme/rss-style.xsl" type="text/xsl"?>
<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>gps &#8211; Terence Eden’s Blog</title>
	<atom:link href="https://shkspr.mobi/blog/tag/gps/feed/" rel="self" type="application/rss+xml" />
	<link>https://shkspr.mobi/blog</link>
	<description>Regular nonsense about tech and its effects 🙃</description>
	<lastBuildDate>Sun, 27 Jul 2025 15:18:11 +0000</lastBuildDate>
	<language>en-GB</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://shkspr.mobi/blog/wp-content/uploads/2023/07/cropped-avatar-32x32.jpeg</url>
	<title>gps &#8211; Terence Eden’s Blog</title>
	<link>https://shkspr.mobi/blog</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title><![CDATA[How many marriages have been saved by GPS?]]></title>
		<link>https://shkspr.mobi/blog/2020/11/how-many-marriages-have-been-saved-by-gps/</link>
					<comments>https://shkspr.mobi/blog/2020/11/how-many-marriages-have-been-saved-by-gps/#comments</comments>
				<dc:creator><![CDATA[@edent]]></dc:creator>
		<pubDate>Wed, 11 Nov 2020 12:46:16 +0000</pubDate>
				<category><![CDATA[/etc/]]></category>
		<category><![CDATA[gps]]></category>
		<category><![CDATA[technology]]></category>
		<guid isPermaLink="false">https://shkspr.mobi/blog/?p=37159</guid>

					<description><![CDATA[I have a distinct and unpleasant memory of my parents not-arguing-in-front-of-the-children. It was the early 1990s and my parents had decided to take us on a road trip across America. My dad&#039;s experience of driving the sleepy high-streets of the UK suburbs had not prepared him for the terror of the Los Angeles freeway at night. He was jetlagged and my mum, bless her, can&#039;t read maps.  On the hard …]]></description>
										<content:encoded><![CDATA[<p>I have a distinct and unpleasant memory of my parents not-arguing-in-front-of-the-children. It was the early 1990s and my parents had decided to take us on a road trip across America. My dad's experience of driving the sleepy high-streets of the UK suburbs had not prepared him for the terror of the Los Angeles freeway at night. He was jetlagged and my mum, bless her, can't read maps.</p>

<p>On the hard shoulder, of the wrong side of the road, they argued about whether the map <em>really</em> said that you could exit the Interstate from the left. And whether the entrance to our Holiday Inn would be clearly signposted.  Meanwhile, my brother and I thought the baddies from The A-Team were going to machine-gun our car.  There was much wailing and gnashing of teeth.</p>

<p>My parents didn't get divorced. But we also never took another driving holiday in a foreign country.</p>

<p>My wife and I are both a bit crap at reading maps. But our driving holidays have been... uneventful.  Google maps has calmly told us when and where to turn.  When our route has been unexpectedly blocked, it doesn't complain, but serenely re-routes us.  From New York to New Zealand, we've been free to drive without arguing.</p>

<p>In truth, I've no idea how many divorces are triggered by someone NOT READING THE BLOODY MAP PROPERLY. But I bet that number has decreased since GPS became ubiquitous and affordable.</p>

<p>Technology has many unintended third-order effects.</p>

<p>The rise of YouTube means that I now know how to rewire a plug socket, reset my boiler, properly hang a shelf, and correctly replace a door handle.  No more expensive calls to a handyman!  But it also means I'm over-confident, and require people to come out and fix my mistakes.</p>

<p>Similarly, recipe sites and tutorials encourage even the most inept cook to make something fantastic. Perhaps this has led to a surge in takeaways when the <a href="https://www.eater.com/2018/11/21/18101843/ortolans-bird-napkin-billions-succession">Ortolan buntings drowned in Armagnac</a> prove too complex for the amateur chef.</p>

<p>It is said that <a href="https://web.archive.org/web/20201111124825/https://economics.yale.edu/sites/default/files/files/Workshops-Seminars/Labor-Public/elder-091009.pdf">mandatory motorcycle helmets reduced the number of young male organ donors</a>.  While Uber has reduced drunk driving,  WhatApp has increased distracted driving.</p>

<p>Every little piece of technology we create goes on to have a far stranger impact than we could ever imagine.</p>
<img src="https://shkspr.mobi/blog/wp-content/themes/edent-wordpress-theme/info/okgo.php?ID=37159&HTTP_REFERER=RSS" alt="" width="1" height="1" loading="eager">]]></content:encoded>
					
					<wfw:commentRss>https://shkspr.mobi/blog/2020/11/how-many-marriages-have-been-saved-by-gps/feed/</wfw:commentRss>
			<slash:comments>5</slash:comments>
		
		
			</item>
		<item>
		<title><![CDATA[Reducing GPS accuracy in photos]]></title>
		<link>https://shkspr.mobi/blog/2020/10/reducing-gps-accuracy-in-photos/</link>
					<comments>https://shkspr.mobi/blog/2020/10/reducing-gps-accuracy-in-photos/#comments</comments>
				<dc:creator><![CDATA[@edent]]></dc:creator>
		<pubDate>Thu, 01 Oct 2020 11:56:50 +0000</pubDate>
				<category><![CDATA[/etc/]]></category>
		<category><![CDATA[exif]]></category>
		<category><![CDATA[gps]]></category>
		<category><![CDATA[metadata]]></category>
		<category><![CDATA[photography]]></category>
		<guid isPermaLink="false">https://shkspr.mobi/blog/?p=36818</guid>

					<description><![CDATA[Here&#039;s a quick one-liner to reduce the precision of location stored in a photo&#039;s EXIF metadata:  exiftool -c &#34;%.2f&#34; -TagsFromFile @ -GPSLatitude -GPSLongitude photo.jpg   (Thanks to the EXIFtool Forum for their help.)  Why is this useful?  Modern phones automatically attach a GPS location to every photo you take. GPS resolution is around 10 metres. When you share your photos, you&#039;re often sharing …]]></description>
										<content:encoded><![CDATA[<p>Here's a quick one-liner to reduce the precision of location stored in a photo's EXIF metadata:</p>

<pre><code class="language-bash">exiftool -c "%.2f" -TagsFromFile @ -GPSLatitude -GPSLongitude photo.jpg
</code></pre>

<p>(Thanks to the <a href="https://exiftool.org/forum/index.php?topic=11651.new;topicseen#new">EXIFtool Forum</a> for their help.)</p>

<h2 id="why-is-this-useful"><a href="https://shkspr.mobi/blog/2020/10/reducing-gps-accuracy-in-photos/#why-is-this-useful">Why is this useful?</a></h2>

<p>Modern phones automatically attach a GPS location to every photo you take. GPS resolution is around 10 metres. When you share your photos, you're often sharing your <em>precise</em> location.</p>

<p>I wanted to upload some photos to the Wikimedia Commons of <a href="https://shkspr.mobi/blog/2020/09/opening-a-rediffusion-junction-box/">an interesting junction box installed in our home</a>.  I didn't want my home location stored on the Internet forever - but I thought it would be useful to include a <em>rough</em> location.</p>

<p>The above command takes a location of <code>51.123456,0.987654</code> and returns <code>51.12,0.98</code>.  That's good enough to roughly show the location, without revealing it exactly.</p>
<img src="https://shkspr.mobi/blog/wp-content/themes/edent-wordpress-theme/info/okgo.php?ID=36818&HTTP_REFERER=RSS" alt="" width="1" height="1" loading="eager">]]></content:encoded>
					
					<wfw:commentRss>https://shkspr.mobi/blog/2020/10/reducing-gps-accuracy-in-photos/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
		<item>
		<title><![CDATA[GPS at 30,000 feet]]></title>
		<link>https://shkspr.mobi/blog/2019/11/gps-at-30000-feet/</link>
					<comments>https://shkspr.mobi/blog/2019/11/gps-at-30000-feet/#respond</comments>
				<dc:creator><![CDATA[@edent]]></dc:creator>
		<pubDate>Mon, 11 Nov 2019 07:27:28 +0000</pubDate>
				<category><![CDATA[/etc/]]></category>
		<category><![CDATA[australia]]></category>
		<category><![CDATA[gps]]></category>
		<category><![CDATA[NaBloPoMo]]></category>
		<category><![CDATA[photos]]></category>
		<guid isPermaLink="false">https://shkspr.mobi/blog/?p=32778</guid>

					<description><![CDATA[GPS is a modern miracle. Using SPACESHIPS and RELATIVITY you can locate yourself anywhere on the planet.  Fun fact! Your GPS won&#039;t work if you&#039;re above 18Km or going faster than 500 metres per second. Just in case you&#039;re a Soviet Guided Missile.  But if you&#039;re on a regular international flight, you should be just fine!  Here are some screenshots I took using the open source GPS Test for Android.  …]]></description>
										<content:encoded><![CDATA[<p>GPS is a modern miracle. Using SPACESHIPS and RELATIVITY you can locate yourself anywhere on the planet.</p>

<p>Fun fact! Your GPS won't work if you're above 18Km or going faster than 500 metres per second. Just in case you're a <a href="https://gizmodo.com/your-gps-doesnt-work-at-mach-2-because-its-afraid-youre-5824905">Soviet Guided Missile</a>.</p>

<p>But if you're on a regular international flight, you should be just fine!  Here are some screenshots I took using the <a href="https://github.com/barbeau/gpstest">open source GPS Test for Android</a>.</p>

<p>Top tips: make sure you get a GPS lock and update your <a href="https://en.wikipedia.org/wiki/Assisted_GPS">A-GPS</a> data. It's also worth getting as close to a window as possible in order to see the sky without the metal shell of the aeroplane blocking you.</p>

<img src="https://shkspr.mobi/blog/wp-content/uploads/2019/09/GPS.png" alt="Long list of GPS satellites." width="540" height="980" class="aligncenter size-full wp-image-32782">

<p>What a glorious sight!  American GPS, Russian <a href="https://en.wikipedia.org/wiki/GLONASS">ГЛОНАСС</a>, China's <a href="https://en.wikipedia.org/wiki/BeiDou_Navigation_Satellite_System">北斗</a>, Japan's <a href="https://en.wikipedia.org/wiki/Quasi-Zenith_Satellite_System">準天頂衛星</a> and the EU's <a href="https://en.wikipedia.org/wiki/Galileo_(satellite_navigation)">Galileo</a>.  I was asleep when we went over India, so I don't know if my phone would have picked up <a href="https://www.isro.gov.in/irnss-programme">NavIC</a>.</p>

<p>The sky view is particularly beautiful.
<img src="https://shkspr.mobi/blog/wp-content/uploads/2019/09/Sky-View.png" alt="The sky peppered with satellites. " width="540" height="962" class="aligncenter size-full wp-image-32789"></p>

<p>I also found a page on British Airways' inflight WiFi which showed what the plane itself was reporting.</p>

<img src="https://shkspr.mobi/blog/wp-content/uploads/2019/09/BA.png" alt="BA info screen showing 10km height and 848kmph." width="540" height="278" class="aligncenter size-full wp-image-32783">

<p>My cheap phone and the multi-million pound plane disagree slightly on speed and height. But not by much!</p>

<p>I was also able to take these geo-tagged photos of Australia from the plane.</p>

<h2 id="sydney"><a href="https://shkspr.mobi/blog/2019/11/gps-at-30000-feet/#sydney">Sydney</a></h2>

<img src="https://shkspr.mobi/blog/wp-content/uploads/2019/09/IMG_20190914_151506.jpg" alt="The city of Sydney in the far distance." width="3456" height="4608" class="aligncenter size-full wp-image-32785">

<h2 id="desert"><a href="https://shkspr.mobi/blog/2019/11/gps-at-30000-feet/#desert">Desert</a></h2>

<img src="https://shkspr.mobi/blog/wp-content/uploads/2019/09/IMG_20190914_163825.jpg" alt="The sand dunes look like nerves splayed out of a human body." width="3456" height="4608" class="aligncenter size-full wp-image-32784">

<img src="https://shkspr.mobi/blog/wp-content/uploads/2019/09/IMG_20190914_172837.jpg" alt="Undulating waves of sand." width="3456" height="4608" class="aligncenter size-full wp-image-32786">

<img src="https://shkspr.mobi/blog/wp-content/uploads/2019/09/IMG_20190914_172937.jpg" alt="The desert, as seen through a plane window." width="4608" height="3456" class="aligncenter size-full wp-image-32787">

<p>So, next time you're on an international flight, take a peek at the sky!</p>
<img src="https://shkspr.mobi/blog/wp-content/themes/edent-wordpress-theme/info/okgo.php?ID=32778&HTTP_REFERER=RSS" alt="" width="1" height="1" loading="eager">]]></content:encoded>
					
					<wfw:commentRss>https://shkspr.mobi/blog/2019/11/gps-at-30000-feet/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title><![CDATA[Car Hacking - With Bluetooth OBD]]></title>
		<link>https://shkspr.mobi/blog/2012/12/car-hacking-with-bluetooth-obd/</link>
					<comments>https://shkspr.mobi/blog/2012/12/car-hacking-with-bluetooth-obd/#comments</comments>
				<dc:creator><![CDATA[@edent]]></dc:creator>
		<pubDate>Thu, 06 Dec 2012 10:15:32 +0000</pubDate>
				<category><![CDATA[/etc/]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[car]]></category>
		<category><![CDATA[gps]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[hacking]]></category>
		<category><![CDATA[hacks]]></category>
		<category><![CDATA[obd]]></category>
		<category><![CDATA[obd2]]></category>
		<category><![CDATA[obdii]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[torque]]></category>
		<category><![CDATA[toyota]]></category>
		<guid isPermaLink="false">http://shkspr.mobi/blog/?p=6838</guid>

					<description><![CDATA[Friend, colleague, and fellow geek, Sam Machin has introduced me to the wonders of the OBDII port!  Essentially, OBD (On Board Diagnostics) is a port which is found on every car produced since the late 1990s. It allows garages to see all sorts of diagnostic information about your car, its engine, and all other manner of petrol-headed goodness. It&#039;s designed to be easily accessible and conform to…]]></description>
										<content:encoded><![CDATA[<p>Friend, colleague, and fellow geek, <a href="http://sammachin.com/">Sam Machin</a> has introduced me to the wonders of the OBDII port!</p>

<p>Essentially, OBD (<a href="http://en.wikipedia.org/wiki/OBDII">On Board Diagnostics</a>) is a port which is found on every car produced since the late 1990s. It allows garages to see all sorts of diagnostic information about your car, its engine, and all other manner of petrol-headed goodness. It's designed to be easily accessible and conform to a common standard.</p>

<p>So, it's no surprise that a whole cottage-industry has developed around this port. Whereas connecting to OBD used to be something done only by garages, now anyone can buy an adapter. Which is how I got this £20 <a href="http://www.amazon.co.uk/gp/product/B009NPAORC/ref=as_li_ss_tl?ie=UTF8&amp;camp=1634&amp;creative=19450&amp;creativeASIN=B009NPAORC&amp;linkCode=as2&amp;tag=shkspr-21">BlueTooth capable OBD dongle</a>.</p>

<p>After scrabbling around in <a href="https://shkspr.mobi/blog/2012/12/new-car/">my new Toyota Yaris Hybrid</a>, I found the OBD port just to the right of the steering wheel.
<img class="aligncenter size-full wp-image-6845" title="OBDII port in Toyota Yaris" src="https://shkspr.mobi/blog/wp-content/uploads/2012/12/OBDII.jpg" alt="OBDII port in Toyota Yaris" width="600" height="363"></p>

<p>Fitting it was simply a matter of figuring our which way round it went, and then jamming it in. It fits well and doesn't feel like it will fall out - but a bit of gaffer tape may be in order to secure it when I drive along bumpy roads.
<img class="alignnone size-full wp-image-6849" title="Toyota Yaris Hybrid OBD Port" src="https://shkspr.mobi/blog/wp-content/uploads/2012/12/Toyota-Yaris-Hybrid-OBD-Port.jpg" alt="Toyota Yaris Hybrid OBD Port" width="375" height="500">
As soon as it plugged in, the lights started flashing and I was able to pair it with my Android phone.</p>

<h2 id="security"><a href="https://shkspr.mobi/blog/2012/12/car-hacking-with-bluetooth-obd/#security">Security</a></h2>

<p>The default code for these things is either "0000", "1234", or "6789". I <em>really</em> wish that could be changed. OR, at least, print a unique 8 digit code on each device. Essentially, the unit is on all the time - slowing drawing energy from the battery - which means that it is discoverable all the time.</p>

<p>So, anyone walking around the car park - or stuck in traffic with me - can get a full readout of my car's diagnostics.</p>

<p>True, it's not the biggest security threat in the world. We know that <a href="https://shkspr.mobi/blog/2012/11/is-samsung-spying-on-your-printer/">proprietary software is riddled with bugs</a>. Toyota had to <a href="https://www.cnet.com/science/toyota-software-bugs-unlike-those-in-flaky-pcs/">recall hundreds of thousands of cars due to software glitches</a>.</p>

<p>Perhaps there's a bug in the car - or the device - which will let an attacker stall the engine, or unlock the doors, or find out my fuel efficiency.</p>

<p>Of course, I could unplug the dongle every time I get out of the car (some units have physical power buttons) but that's a faff I can do without.</p>

<h2 id="the-plan"><a href="https://shkspr.mobi/blog/2012/12/car-hacking-with-bluetooth-obd/#the-plan">The Plan</a></h2>

<p>I'm using the free Android app <a href="https://play.google.com/store/apps/details?id=org.prowl.torquefree">Torque</a> (<a href="https://play.google.com/store/apps/details?id=org.prowl.torque">Pro Version available for £3</a>).</p>

<p>It's a nifty program which lets you monitor (and export) data from the engine.
<a href="https://shkspr.mobi/blog/wp-content/uploads/2012/12/wpid-Screenshot_2012-12-06-08-42-41.png"><img class="alignleft  wp-image-6840" title="Torque Android Screenshot" src="https://shkspr.mobi/blog/wp-content/uploads/2012/12/wpid-Screenshot_2012-12-06-08-42-41.png" alt="Torque Android Screenshot" width="350" height="622"></a> My phone will quite happily pair with the car's audio system and the OBD dongle - so that shouldn't be a problem. But it does rely on my remembering to pair the device (and take my phone with me!).</p>

<p>What I'm planning to do is use a cheap 2nd hand Android phone to act as a 3G bridge for the dongle. The Yaris has a USB port hidden in the glove compartment - it's usually used for playing music from a USB stick, but I think it should be sufficient to trickle charge a phone.</p>

<p>As the car doesn't have a built in GPS unit, I can use the Android's GPS to keep track of the car. I can use its 3G connection to email or text me whenever the car is moved - useful if it's being stolen or towed. I can plot my journeys, automatically let my wife know when I'm stuck in traffic, and all sorts of other jiggery-pokery.</p>

<p>Let the hacking commence :-)</p>
<img src="https://shkspr.mobi/blog/wp-content/themes/edent-wordpress-theme/info/okgo.php?ID=6838&HTTP_REFERER=RSS" alt="" width="1" height="1" loading="eager">]]></content:encoded>
					
					<wfw:commentRss>https://shkspr.mobi/blog/2012/12/car-hacking-with-bluetooth-obd/feed/</wfw:commentRss>
			<slash:comments>7</slash:comments>
		
		
			</item>
	</channel>
</rss>
