<?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/"
	xmlns:georss="http://www.georss.org/georss" >

<channel>
	<title>Even the wrong words seem to rhyme &#187; gps</title>
	<atom:link href="http://www.kevinblake.co.uk/tag/gps/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.kevinblake.co.uk</link>
	<description>a blog-life by Kevin Blake</description>
	<lastBuildDate>Thu, 13 May 2010 22:27:44 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>//TODO: Learn, play, discuss.</title>
		<link>http://www.kevinblake.co.uk/todo/594/</link>
		<comments>http://www.kevinblake.co.uk/todo/594/#comments</comments>
		<pubDate>Sat, 11 Jul 2009 14:24:34 +0000</pubDate>
		<dc:creator>Kevin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[.net]]></category>
		<category><![CDATA[dotnet]]></category>
		<category><![CDATA[gallery3]]></category>
		<category><![CDATA[geotagging]]></category>
		<category><![CDATA[gps]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[technology]]></category>

		<guid isPermaLink="false">http://www.kevinblake.co.uk/?p=594</guid>
		<description><![CDATA[Somewhat inspired by Mike Taulty&#8217;s blog, I&#8217;ve decided I should throw my Tech TODO list at the world, because it might encourage / guilt me into doing some of them, as well as provide a preview on what this blog might be including over the next few months. So all of these are technologies, packages, [...]]]></description>
			<content:encoded><![CDATA[<p>Somewhat inspired by <a href="http://mtaulty.com/CommunityServer/blogs/mike_taultys_blog/archive/2009/07/02/todo-list.aspx" target="_blank">Mike Taulty&#8217;s blog</a>, I&#8217;ve decided I should throw my Tech TODO list at the world, because it might encourage / guilt me into doing some of them, as well as provide a preview on what this blog might be including over the next few months.</p>
<p>So all of these are technologies, packages, or platforms I want to be checking out in the not-to-distant future.  In no particular order, they&#8217;re bound to be added to as I go and quite possibly ignored as well.</p>
<ul>
<li>.NET
<ul>
<li>ASP.NET MVC</li>
<li>ADO.NET Data Services</li>
<li>F#</li>
<li>IronRuby</li>
<li>Open-sourcing a simple XML resource provider (CodePlex)</li>
<li>.NET 4
<ul>
<li>Windows Communication Foundation</li>
<li>Entity Framework</li>
<li>Parallel Extensions</li>
</ul>
</li>
</ul>
</li>
<li>Gallery3
<ul>
<li>Module development
<ul>
<li>Migrate Twitter module</li>
<li>Migrate auto-GPS-tagging module</li>
</ul>
</li>
<li>Theme development</li>
</ul>
</li>
<li>Google Wave</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.kevinblake.co.uk/todo/594/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>April Fools 2009</title>
		<link>http://www.kevinblake.co.uk/april-fools-2009/481/</link>
		<comments>http://www.kevinblake.co.uk/april-fools-2009/481/#comments</comments>
		<pubDate>Wed, 01 Apr 2009 20:53:09 +0000</pubDate>
		<dc:creator>Kevin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[april fool]]></category>
		<category><![CDATA[entertainment]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[google maps]]></category>
		<category><![CDATA[gps]]></category>
		<category><![CDATA[marketing]]></category>
		<category><![CDATA[twitter]]></category>
		<category><![CDATA[web design]]></category>
		<category><![CDATA[xbox 360]]></category>

		<guid isPermaLink="false">http://www.kevinblake.co.uk/?p=481</guid>
		<description><![CDATA[I can&#8217;t keep the pretense up any longer, I&#8217;m not really a bodybuilder and it&#8217;s not really my new web site.  I&#8217;ve been redirecting this site to my alter-ego at kevinblake.com all day long.  Fooled ya, didn&#8217;t I? Whilst rumours of my career change might have been greatly exagerrated, it&#8217;s been another good April Fool&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p>I can&#8217;t keep the pretense up any longer, I&#8217;m not really a bodybuilder and it&#8217;s not really my new web site.  I&#8217;ve been redirecting this site to my alter-ego at kevinblake.com all day long.  Fooled ya, didn&#8217;t I?</p>
<div id="attachment_482" class="wp-caption alignright" style="width: 243px"><a href="http://www.kevinblake.co.uk/wp-content/uploads/2009/04/april-fool.jpg" rel="lightbox"><img class="size-full wp-image-482" title="april-fool" src="http://www.kevinblake.co.uk/wp-content/uploads/2009/04/april-fool.jpg" alt="Kevin Blake - rumours of my career change have been greatly exagerrated" width="233" height="134" /></a><p class="wp-caption-text">Rumours of my career change have been greatly exaggerated</p></div>
<p>Whilst rumours of my career change might have been greatly exagerrated, it&#8217;s been another good April Fool&#8217;s Day worldwide as individuals and businesses have thrown off any seriousness of the rest of the year by turning to Newsbiscuit-esque stories and ideas everywhere.  April 1st is of particular interest to me as a web developer, as an opportunity to proudly display the more playful side of a company, attract new audiences, and to make people smile.</p>
<p>So here are some of my favourites (apologies if a lot of these links don&#8217;t work.  Chances are, it&#8217;s not April 1st any more).  If you&#8217;ve been <a href="http://twitter.com/kevinblake" target="_blank">following me on Twitter</a> today, you&#8217;ll have probably seen a lot of these already.</p>
<ul>
<li><a href="http://www.google.com.au/intl/en/gball/" target="_blank">Google&#8217;s gBall</a><br />
Google Australia joined the Google party early with the new pay-per-kick GPS enabled gBall.</li>
<li><a href="http://tech.slashdot.org/article.pl?sid=09/03/31/1950221&amp;from=rss" target="_blank">Slashdot &#8211; IE 8.1 supports Firefox Plugins, Rendering Engine</a><br />
Not a particularly brilliant or engaging story, but the first one I found of the year.</li>
<li><a href="http://www.google.com/intl/en_us/landing/cadie/" target="_blank">Google&#8217;s CADIE<br />
</a>The world&#8217;s first AI, took over Google sites everywhere; YouTube, Google Maps, Gmail and Google Image Search and my personal favourite &#8211; a <a href="http://www.google.com/intl/en/landing/chrome/cadie/" target="_blank">3D-glasses enabled Chrome</a>.</li>
<li><a href="http://labs.opera.com/news/2009/04/01/" target="_blank">Opera Face Gestures</a><br />
The natural progression from mouse gestures, with a priceless video.</li>
<li><a href="http://uk.gamespot.com/news/6207121.html" target="_blank">Gamespot&#8217;s Umbrella Corporation requests bailout</a><br />
One for the gamers fitting in nicely with today&#8217;s G20 protests, Resident Evil&#8217;s Umbrella Corporation have requested government bailout for its failing company.</li>
<li><a href="http://www.xbox.com/en-GB/games/a/alpinelegend/" target="_blank">XBOX&#8217;s Alpine Legend</a><br />
Another one for the gamers, and worth it for the video alone, yodel with Franz the Manz Long on Xbox Live.</li>
<li><a href="http://www.lastminute.com/site/entertainment/event-product.html%3Fskin%3Dengb.lastminute.com%26eventID%3D781239766-1%26ticketOnly%3D1%26intcmp%3Dhomepage_april_fool1_spar" target="_blank">Lastminute Spar days</a><br />
Expedia may have been offering <a href="http://www.expedia.com/daily/mars/flights-to-mars/?mcicid=Mars_home_us" target="_blank">flights to Mars</a>, but Lastminute had a far more relaxing Spar Days on offer today.</li>
</ul>
<p>And lastly, in the papers&#8230;</p>
<ul>
<li><a href="http://www.express.co.uk/posts/view/92419/The-invisible-car-Now-you-see-it-now-you-don-t" target="_blank">The Daily Express invisible car</a></li>
<li><a href="http://www.nickburcher.com/2009/04/bmw-magnetic-tow-technology-april-fools.html" target="_blank">BMW&#8217;s magnetic tow technology</a></li>
<li><a href="http://www.nickburcher.com/2009/04/waitrose-pinanas-april-fool-creative.html" target="_blank">Waitrose Pinana&#8217;s</a></li>
</ul>
<p>Do you have any favourites I&#8217;ve missed?  Don&#8217;t forget, it&#8217;s never too early to start planning next years pranks <img src='http://www.kevinblake.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.kevinblake.co.uk/april-fools-2009/481/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Automatically Geotagging your Gallery</title>
		<link>http://www.kevinblake.co.uk/automatically-geotagging-your-gallery/344/</link>
		<comments>http://www.kevinblake.co.uk/automatically-geotagging-your-gallery/344/#comments</comments>
		<pubDate>Sun, 16 Nov 2008 21:42:12 +0000</pubDate>
		<dc:creator>Kevin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[blakepics]]></category>
		<category><![CDATA[gallery2]]></category>
		<category><![CDATA[geotagging]]></category>
		<category><![CDATA[gps]]></category>
		<category><![CDATA[mashup]]></category>
		<category><![CDATA[technology]]></category>

		<guid isPermaLink="false">http://www.kevinblake.co.uk/?p=344</guid>
		<description><![CDATA[As always, an imminent holiday has inspired me to update the entire system behind geotagging my photos.  Likewise, needing to plan said holiday has given me the opportunity to procrastinate and do something else instead. Wishlist A repository I can drop files created by the Genie BGT-31 GPS tracker. Automatically convert the tracks into GPX [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_348" class="wp-caption alignright" style="width: 160px"><a href="http://www.kevinblake.co.uk/wp-content/uploads/2008/11/blakepics-tags.jpg" rel="lightbox"><img class="size-thumbnail wp-image-348" title="blakepics-tags" src="http://www.kevinblake.co.uk/wp-content/uploads/2008/11/blakepics-tags-150x150.jpg" alt="Tags from Blakepics" width="150" height="150" /></a><p class="wp-caption-text">Automatically add geonames.org tags to Gallery</p></div>
<p>As always, an imminent holiday has inspired me to update the entire system behind geotagging my photos.  Likewise, needing to plan said holiday has given me the opportunity to procrastinate and do something else instead.</p>
<p><strong>Wishlist</strong></p>
<ul>
<li>A repository I can drop files created by the Genie BGT-31 GPS tracker.</li>
<li>Automatically convert the tracks into GPX format.</li>
<li>Automatically stamp any photos within <a href="http://www.blakepics.com" target="_blank">Blakepics</a> with their longitude / latitude values into the EXIF information.</li>
<li>Use that EXIF information to populate the database for the <a href="http://gallery.menalto.com/" target="_blank">Gallery2</a> maps module.</li>
<li>Use <a href="http://www.geonames.org/" target="_blank">geonames</a> to get some basic tags, and automatically add those to the tags database.</li>
</ul>
<p>I can happily report all of the above is happily running on a schedule on the Blakepics server.   Whilst I realise a lot of these options aren&#8217;t particularly available on a shared hosting server, I&#8217;m going to talk about them anyway.</p>
<p><strong>A small disclaimer</strong></p>
<p>Be under no illusion, a lot of these scripts are hacked together with no thought given to scalability, stability, or re-use.  They&#8217;d be a lot better off as a proper Gallery2 module to be honest &#8211; and hopefully someone will beat me to it in making that a reality.  However, for the time being &#8211; this is all provided as-is <img src='http://www.kevinblake.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><strong>NMEA repository</strong></p>
<p>The repository is quite simple with an SFTP server running (sshd for example), and <a href="http://filezilla-project.org/" target="_blank">FileZilla</a> on the client</p>
<p><strong>Convert the tracks to GPX</strong></p>
<ol>
<li>Install the rather excellent gpsbabel.<br />
<code>yum install gpsbabel</code></li>
<li>Run this <a href="http://www.kevinblake.co.uk/wp-content/uploads/2008/11/convert-to-gpx.txt">convert-to-gpx.pl.txt</a> perl script to combine all your nmea tracks to create a single gpx file.</li>
</ol>
<p><strong>Stamp the photos</strong></p>
<ol>
<li>Get the <a href="http://www.carto.net/projects/photoTools/gpsPhoto/" target="_blank">gpsPhoto perl script</a>.  You might find you need to install some perl modules:<br />
<code>perl -eshell -MCPAN<br />
install <em>modulename</em></code></li>
<li>Use this <a href="http://www.kevinblake.co.uk/wp-content/uploads/2008/11/geocode-photospl.txt">geocode-photos.pl.txt</a> script to find any matching photos from your Gallery, and tag them.  Note that I limit them to only photos I&#8217;ve uploaded myself, as I don&#8217;t want to go messing around with other peoples (and they were probably not at the same location anyway)</li>
</ol>
<p><strong>Fill the Gallery2 maps module with the EXIF data</strong></p>
<p>There&#8217;s a maintenance task to use the EXIF data to power the maps module of Gallery2, so using <a href="http://www.roelbroersma.nl/index.php/2008/07/29/gallery2-cron-job-to-automate-build-all-thumbnailresizes" target="_blank">Roel Broersma&#8217;s excellent script to run the maintenance tasks</a>, these can be scheduled with the extra line:</p>
<p><code>wget --quiet --output-document=/dev/null --cookies=on --load-cookies $TMP_PATH/myg2cookies "$G2_URL/main.php?g2_controller=core.AdminMaintenance&amp;g2_form%5Baction%5D%5BrunTask%5D=1&amp;g2_taskId=PopulateGPSEXIFInfos&amp;g2_authToken=$AUTHTOKEN"</code></p>
<p><strong>Give some meaning to your location data with geonames</strong></p>
<p>Geonames provides a reverse-lookup to get some more human readable descriptions of your photos.  So I use this to put in the country, region and town data into my Gallery.  You can go a bit further and get details of nearby landmarks from Wikipedia to add if you like, but i don&#8217;t find it too useful for my purposes.</p>
<ol>
<li>You&#8217;ll need some more perl modules<br />
<code>perl -eshell -MCPAN<br />
install Image::ExifTool;<br />
install Image::ExifTool::Location;<br />
install Geo::GeoNames;<br />
install Data::Dumper;</code></li>
<li>Get my <a href="http://www.kevinblake.co.uk/wp-content/uploads/2008/11/write-geoname-tagspl.txt">write-geoname-tags.pl.txt</a> perl script, which is actually a combination of all the previous scripts.  This will query the web service, and update your tags.</li>
</ol>
<p><strong>It all sounds very complicated&#8230;</strong></p>
<p>Well, yes.  My aim isn&#8217;t to create the easiest system to set-up, it&#8217;s to create the easiest system to use.  Uploading a single NMEA track list now causes all of the above to happen automatically.  That said, I recognise that it&#8217;s not for the faint-hearted.</p>
<p>So why not try one of these easier solutions:</p>
<ul>
<li><a href="http://www.gpsbabel.org/os/Windows_FE.html" target="_blank">GPS Babel GUI</a> (Windows / Linux command-line tools available)</li>
<li><a href="http://code.google.com/p/gpicsync/" target="_blank">GPicSync</a> (Linux / Windows)</li>
<li><a href="http://freefoote.dview.net/linux_gpscorr.html" target="_blank">GPS Correlate</a> (Linux only)</li>
<li><a href="http://www.flickr.com" target="_blank">Flickr</a> (all)</li>
</ul>
<p><strong>What next?</strong></p>
<p>Add all of these scripts mentioned above to a cron task, and forget all about it.  You can probably combine the whole lot into a single job (I wanted to keep them separate, so some could be run nightly, and others weekly or monthly).</p>
<p>Hopefully this is the humble beginnings of a more efficient and elegant solution.  For now I&#8217;m at least getting a lot more data into and out of my photos</p>
<p>Do let me know if you make any improvements, or have any ideas for viable new features &#8211; I&#8217;d be interested to hear from you.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.kevinblake.co.uk/automatically-geotagging-your-gallery/344/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Geotagging with the Genie BGT-31</title>
		<link>http://www.kevinblake.co.uk/geotagging-with-the-genie-bgt-31/336/</link>
		<comments>http://www.kevinblake.co.uk/geotagging-with-the-genie-bgt-31/336/#comments</comments>
		<pubDate>Wed, 12 Nov 2008 23:00:21 +0000</pubDate>
		<dc:creator>Kevin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[bgt-31]]></category>
		<category><![CDATA[geotagging]]></category>
		<category><![CDATA[gps]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[trackstick]]></category>

		<guid isPermaLink="false">http://www.kevinblake.co.uk/?p=336</guid>
		<description><![CDATA[Don&#8217;t get me wrong, buying the Trackstick was a really good idea, it&#8217;s fuelled my interest in the location-aware Internet, it&#8217;s given me excuses to connect with other developers on Gallery2, had me writing geo-based modules, updates and hacks, and eased geotagging a whole bunch of photos. But in the past two years, it&#8217;s also [...]]]></description>
			<content:encoded><![CDATA[<p>Don&#8217;t get me wrong, buying the <a href="http://www.trackstick.com/" target="_blank">Trackstick</a> was a really good idea, it&#8217;s fuelled my interest in the <a href="http://www.kevinblake.co.uk/blogging-on-location/32/">location-aware Internet</a>, it&#8217;s given me excuses to connect with other developers on Gallery2, had me writing geo-based modules, updates and hacks, and eased geotagging a whole bunch of photos.</p>
<p>But in the past two years, it&#8217;s also caused me to create and use some <a href="http://www.kevinblake.co.uk/geo-tagging-the-universe-one-step-at-a-time/81/">really really complicated geotagging techniques</a>,  frustration over <a href="http://www.kevinblake.co.uk/travelling-with-technology/113">forgetting what the flashing lights mean</a> in Krakow, and aided and abetted in <a href="http://www.kevinblake.co.uk/split-internet-or-lack-of/89/">destroying one man&#8217;s Internet business</a> in Split, even if just for a day.</p>
<p>Even the new Trackstick II&#8217;s still only boast a 1MB block of memory for storing tracks on, and I still need their proprietary drivers that caused me to destroy the book store/Internet Cafe in Split.  So for my next trip to Vietnam, I&#8217;ve bought the <a href="http://www.storagedepot.co.uk/Handheld-GPS/sc893/p75.aspx" target="_blank">Genie BGT-31</a>.  Granted, it&#8217;s almost twice the size of the Trackstick but contains a USB-chargeable battery which means no more carrying around stacks of AAA batteries and separate charger.</p>
<p>The built-in memory will store up to 20,000 records &#8211; but more importantly, supports SD cards, increases the measly 1MB into 1GB (thanks to the numerous cards lying around my flat and down the side of sofas).  These can taken out very quickly and dropped into the EEE where <a href="http://www.gpsbabel.org/" target="_blank">gpsbabel</a> will convert the flat NMEA text format to whatever you might need &#8230; GPX, for example.</p>
<p>It also has a screen, so I no longer need to repeat the mantra constantly to myself in my head (or aloud) &#8211; &#8220;green for good, red for bad&#8221;.  Not to mention keep my blog posts updated with some more positioning (well, possibly).</p>
<p>So far the first impressions are good &#8211; and it will certainly tide me over until we can just tag the photos using our government-issue ID card&#8217;s weekly e-statements.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.kevinblake.co.uk/geotagging-with-the-genie-bgt-31/336/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Geonaming your Geotags &#8211; Automatic picture captions</title>
		<link>http://www.kevinblake.co.uk/geonaming-your-geotags-automatic-picture-captions/151/</link>
		<comments>http://www.kevinblake.co.uk/geonaming-your-geotags-automatic-picture-captions/151/#comments</comments>
		<pubDate>Sat, 06 Oct 2007 11:39:12 +0000</pubDate>
		<dc:creator>Kevin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[gallery2]]></category>
		<category><![CDATA[geotagging]]></category>
		<category><![CDATA[gps]]></category>
		<category><![CDATA[photography]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[trackstick]]></category>

		<guid isPermaLink="false">http://www.kevinblake.co.uk/technology/geonaming-your-geotags-automatic-picture-captions/151/</guid>
		<description><![CDATA[This time last year, I wrote about how to Geotag your photos using a simple GPS device and oodles of free software. Not much has changed in that process since, except now there&#8217;s a lot more software to choose from and the clever folks over at Trackstick.com have made it a lot easier to export [...]]]></description>
			<content:encoded><![CDATA[<p>This time last year, I wrote about how to <a href="http://www.kevinblake.co.uk/geo-tagging-the-universe-one-step-at-a-time/81/">Geotag your photos</a> using a simple GPS device and oodles of free software.  Not much has changed in that process since, except now there&#8217;s a lot more software to choose from and the clever folks over at <a href="http://www.trackstick.com/" target="_blank">Trackstick.com</a> have made it a lot easier to export your GPX tracks.</p>
<p>The spatially-aware web is producing a lot more services for us to use, and now Geonames.org some excellent reverse geocoding functionality.  That&#8217;s the process of taking geo-data (such as longitude and latitude) and getting place names back.  Which is really cool for tagging, titling or adding descriptions to your geocoded pictures.</p>
<p>They provide an impressive array of web services in both JSON and XML ranging from postal code searches, to reverse geocoding based on the community-based Wikipedia entries.  And if that&#8217;s not enough for you, you can download a copy of their huge database and manipulate it off-line however you want.</p>
<p>So me, I wrote some JavaScript to take advantage of the reverse geocoding and tied it into the Blakepics Gallery2 Tags module.  I&#8217;ll take the Wikipedia entries as an example, because that returns the most landmarks for me.  The example code at the bottom of the page actually makes use of two more web services in addition.</p>
<p><img src="http://www.kevinblake.co.uk/images/assets/geonames_encoding.gif" border="1" alt="" width="505" height="133" /><br />
The URL to call the web service is pretty simple enough:</p>
<p><code>var url = "http://ws.geonames.org/findNearbyWikipediaJSON?lat=" + lat + "&amp;lng=" + lon + "&amp;radius=10";</code></p>
<p>I&#8217;ve kept everything in JavaScript rather than building any back-end code whatsoever, so you need to make sure to use the JSON web services and take advantage of the script tags to avoid any cross-domain security policies.  The <a href="http://www.xml.com/pub/a/2005/12/21/json-dynamic-script-tag.html" target="_blank">JSONScriptRequest </a>library can be a powerful ally here.  This leaves my server to do more important things, but it all depends on your needs for the app.</p>
<p><code>url += "&amp;callback=showWikipediaNames";<br />
bObj3 = new JSONscriptRequest(url);<br />
// Build the dynamic script tag<br />
bObj3.buildScriptTag();<br />
// Add the script tag to the page<br />
bObj3.addScriptTag();<br />
</code></p>
<p>Then on the callback<br />
<code>function showWikipediaNames(wikijsonData) {<br />
var wikiobjects = wikijsonData.geonames;<br />
if (wikijsonData.geonames) {<br />
for (var i=0;i&lt;wikiobjects.length;i++) {<br />
addSuggestion(wikiobjects[i].title)<br />
}<br />
}<br />
bObj3.removeScriptTag();<br />
}</code></p>
<p>With me so far?  The final step in the process is to add the call to the JavaScript into your Gallery2 templates.</p>
<p><code>&lt;a href="#" onclick="return showGeoNameOptions(this, {$block.gpsinfo.LoadGPSInfo.lat}, {$block.gpsinfo.LoadGPSInfo.lon});"&gt;GeoNames&lt;/a&gt;<br />
</code></p>
<p>And before you know it, you have suggestions from geonames on how to tag your photos.  Now you can go away and make it suggest some titles and descriptions too.  If anyone&#8217;s interested in packaging this up into a slightly better Gallery module (or any other application), drop me a line.  If this is enough for you, download my example and use it as you see fit.</p>
<h3>Download</h3>
<ul>
<li><a href="http://www.kevinblake.co.uk/assets/code/examples/geonaming_gallery2_tags.zip">Download example code for Geonaming Tags on Gallery2</a> (use at your own risk).</li>
</ul>
<h4>Pre-requisites</h4>
<ul>
<li><a href="http://gallery.menalto.com" target="_blank">Gallery 2</a></li>
<li><a href="http://codex.gallery2.org/Gallery2:Modules:tags" target="_blank">Tags module</a></li>
<li>Some images with Longitude/Latitude stored into the EXIF data</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.kevinblake.co.uk/geonaming-your-geotags-automatic-picture-captions/151/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Great Gormley Hunt &#8211; Event Horizon, Blind Light and Quantum Cloud</title>
		<link>http://www.kevinblake.co.uk/the-great-gormley-hunt-event-horizon-blind-light-and-quantum-cloud/130/</link>
		<comments>http://www.kevinblake.co.uk/the-great-gormley-hunt-event-horizon-blind-light-and-quantum-cloud/130/#comments</comments>
		<pubDate>Wed, 11 Jul 2007 21:41:04 +0000</pubDate>
		<dc:creator>Kevin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[anthony gormley]]></category>
		<category><![CDATA[entertainment]]></category>
		<category><![CDATA[gps]]></category>
		<category><![CDATA[london]]></category>
		<category><![CDATA[trackstick]]></category>

		<guid isPermaLink="false">http://www.kevinblake.co.uk/entertainment/the-great-gormley-hunt-event-horizon-blind-light-and-quantum-cloud/130/</guid>
		<description><![CDATA[Antony Gormley is probably most widely known as the man behind The Angel of the North. Actually, he&#8217;s the man of the Angel of the North, using his own body as the subject for a huge number of sculptures designed to challenge our perception of ourselves and the space that we live in. Recently, as [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.blakepics.com/london/gormley/IMG_0188.JPG.html"><img style="float: right; margin-left: 10px" title="Gormley #31" src="http://www.blakepics.com/d/48301-4/IMG_0188.JPG" alt="Gormley #31" width="150" height="150" /></a><br />
<a href="http://www.antonygormley.com/" target="_blank"> Antony Gormley</a> is probably most widely known as the man behind <a href="http://www.gateshead.gov.uk/Leisure%20and%20Culture/Angel/Home.aspx" target="_blank">The Angel of the North</a>.  Actually, he&#8217;s the man of the Angel of the North, using his own body as the subject for a huge number of sculptures designed to challenge our perception of ourselves and the space that we live in.  Recently, as part of the <a href="http://www.southbankcentre.co.uk/gormley/" target="_blank">Blind Light exhibition at The Hayward</a>, Gormley has erected 31 casts of himself and put them on rooftops and walkways around London.  Well, not personally &#8211; I&#8217;m sure he had some help.  Every one of them faces the Hayward gallery, turning the watchers into the watched &#8211; and keeping Londoners looking skywards for the last 2 months.</p>
<p>Putting aside the rumours that Gormley himself is actually inside one of the life-size casts, I naturally wanted to find them all.  So since I had this afternoon off from work and it&#8217;s not far from the office, I decided to stalk Antony Gormley&#8217;s creations for a little while.  And I think, armed with a trackstick and camera I&#8217;ve managed to find all 31 of them.  It&#8217;s very difficult to tell now, which are the same statues from different angles.</p>
<p>Three viewing terraces at the Hayward provide the means to see all of the statues, and as Gormley&#8217;s previously commented &#8211; it&#8217;s very interesting to become part of the small community on that rooftops, trying to find them all.  Whether actively pointing them out &#8211; or passively seeing other people do the same.  It&#8217;s also rather eery to have all of those lifeless bodies staring back at you.</p>
<p><a href="http://www.blakepics.com/london/greenwich/IMG_0193.JPG.html"><img class="g2image_float_right" style="float: left; margin-right: 10px" title="Quantum Cloud, Greenwich Peninsula, by Antony Gormley" src="http://www.blakepics.com/d/48536-4/IMG_0193.JPG?g2_GALLERYSID=0d90622d2f835b484eccf471b9e24fcf" alt="Quantum Cloud, Greenwich Peninsula, by Antony Gormley " width="150" height="150" /></a>And Event Horizon isn&#8217;t the only attraction nearby.  Inside the gallery, there are a huge number of sculptures and exhibits , including Allotment II, 300 reinforced concrete life-sized units each modelled upon the inhabitants of Malmo.  Every single one is different, and you can&#8217;t help but be impressed at the sheer number of them,  as well as yes &#8211; as the guide says &#8211; it&#8217;s anthropomorphic heaven.  Throw away all your 20th century ideals of not being allowed to have first impressions any more.  These are concrete blocks, and you won&#8217;t be hauled off to jail for being sexist, racist, ageist or judging someone by their appearance in any way.  You can&#8217;t help but find your favourites or make random judgements over what sort of person they would be.  Well  I couldn&#8217;t.</p>
<p>Blind Light, the namesake of the entire exhibition is a massive glass box filled with a bright white fluffy cloud.  The result of this, is that once inside you can&#8217;t see a damned think.  After wandering around, barely able to see your own hands held out in front of you &#8211; you will have no idea where you are.  Ghostly shadows will occasionally pass by and if you keep going, you&#8217;ll find the edges of the box where spectators will see your face emerge from the mist.  It&#8217;s very surreal, but a great experience, and yet another example of Gormley making the spectators a part of the art.  Not one for the claustrophobic, perhaps.</p>
<p>I won&#8217;t list everything else, I promise.  Go for yourself and experience the world through different eyes.  What I will do, is talk about another Gormley gem in the mostly forgotten area of London that we call Greenwich.  The Quantum Cloud stands at 30m tall, making it even larger than the Angel of the North at Gateshead.  In fact, until the construction of the <a href="http://www.bofthebang.com/" target="_blank">B of the Bang</a> sculpture in Manchester, 2005 &#8211; it was the largest sculpture in England.  The Quantum Cloud sits on the Thames, by the pier at the newly opened O2 Arena, formally known as the Millennium Dome.  It&#8217;s formed of hundreds of 1.5m lengths of random steel rods, at the centre of which you can make out the 20ft tall man standing amongst the cloud.  But don&#8217;t look too closely, or you won&#8217;t see it.  Magic eye, eat your heart out.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.kevinblake.co.uk/the-great-gormley-hunt-event-horizon-blind-light-and-quantum-cloud/130/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Geo-tagging the universe, one step at a time&#8230;</title>
		<link>http://www.kevinblake.co.uk/geo-tagging-the-universe-one-step-at-a-time/81/</link>
		<comments>http://www.kevinblake.co.uk/geo-tagging-the-universe-one-step-at-a-time/81/#comments</comments>
		<pubDate>Sun, 01 Oct 2006 17:27:33 +0000</pubDate>
		<dc:creator>Kevin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[blakepics]]></category>
		<category><![CDATA[gallery2]]></category>
		<category><![CDATA[geotagging]]></category>
		<category><![CDATA[gps]]></category>
		<category><![CDATA[photography]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[trackstick]]></category>
		<category><![CDATA[travel]]></category>

		<guid isPermaLink="false">http://blog.puzzlebox.co.uk/?p=81</guid>
		<description><![CDATA[I&#8217;ve recently brought myself a Track Stick, after Ben pointed them out on thinkgeek.com. Believe it or not, the purpose of this purchase was not to attach it to the underside of a family members car, nor will I be attempting to covertly attach it to employees feet to verify that they&#8217;re are just going [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.kevinblake.co.uk/images/assets/googleearth-intergration.jpg" border="1" alt="" align="right" />I&#8217;ve recently brought myself a <a href="http://www.trackstick.com">Track Stick</a>, after Ben pointed them out on thinkgeek.com.  Believe it or not, the purpose of this purchase was not to attach it to the underside of a family members car, nor will I be attempting to covertly attach it to employees feet to verify that they&#8217;re are just going across the river for some lunch and not in actual fact going for an interview somewhere else.</p>
<p>In fact, it&#8217;s far less sinister than all of that, to track my holidays, places I&#8217;ve been, and more importantly &#8211; the photos I take whilst I&#8217;m there.  <a href="http://en.wikipedia.org/wiki/Geotagging" target="_blank">Geotagging</a>, or geocoding has received quite a lot of press lately, since Flickr have introduced it into their service.</p>
<p>I took the Track Stick into London at the weekend, for a trial run before Croatia later this month.  The concept is quite simple.  The GPS device records your co-ordinates alongside the time and date.  The camera records the time and date when you took the photo.  Once you&#8217;re back home on your PC, you can use these two pieces of information to automatically add co-ordinates into each of your photos&#8217; EXIF headers (metadata).  From there, it gets really fun <img src='http://www.kevinblake.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<ul>
<li>View your photos on a map like Google Earth.</li>
<li>Search for your photos based on location.</li>
<li>Find other photos that were taken in a similar area.</li>
<li>Automatically create descriptions of your photos based on how other people describe theirs of the same place.</li>
<li>Use all of those photos to construct 3D models of your holiday.</li>
</ul>
<p>Okay, the technology isn&#8217;t all there, yet.  But the important thing is to start gathering this data and to certainly make what use of it you can.  So, that&#8217;s what I&#8217;ve done <img src='http://www.kevinblake.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><strong>How to tag your photos</strong></p>
<ol>
<li>You&#8217;re going to need a <a href="http://blog.puzzlebox.co.uk/code-samples/sample.gpx" target="_blank">GPX track file, like the one here</a>.  The bare minimum you need is the latitude, longitude and date/time.  Sadly, my Track Stick won&#8217;t output this by default.  So I had to create a small script to make one from the CSV format it does supply.  If you&#8217;re in a similar position, you can <a href="http://www.kevinblake.co.uk/code-samples/trackstick-to-gpx-trackfile.txt" target="_blank">download my quick hacked together perl script to create your own</a>.  I may improve on this in the future, but for now it works.</li>
<li>Secondly, I used a small application called <a href="http://www.wwmx.org">WMMX Location Stamper</a>.</li>
<li>Click on <strong>Photos </strong>-&gt; <strong>Add Photos</strong>, and select all the photos you want to tag.</li>
<li>Click on <strong>Tracks </strong>-&gt;<strong> Add Tracks&#8230;</strong>, and load the file you&#8217;ve created as above (or obtained elsewhere if you&#8217;re not using a Track Stick).</li>
<li>Click the <strong>Apply Tracks</strong> button on the bottom, and you&#8217;re done &#8211; geotagged photos.</li>
</ol>
<p><strong>Viewing your photos in Google Earth</strong></p>
<p>Using <a href="http://picasa.google.com/download/index.html" target="_blank">Picasa2</a>, you can save your photos in a Google Earth file and share your entire journey with your friends and family.</p>
<ol>
<li>Just load your photos into Picasa2 (File -&gt; Add folder to Picasa)</li>
<li>Select the photos you have just added</li>
<li>Click Tools -&gt; GeoTag -&gt; Export to Google Earth</li>
<li>Select a location, where you want to save your file.</li>
</ol>
<ul>
<li><a href="http://www.kevinblake.co.uk/geotrips/london-2006-09-30.kmz" target="_blank">If you&#8217;ve got a copy of Google Earth, you can view the pictures I took in London (Right-click, Save As&#8230;)</a></li>
</ul>
<p><strong>Gallery2 / Blakepics</strong></p>
<p>Finally, all of these photos can tie into Gallery2 (which is what I&#8217;ll be doing) using the existing <a href="http://codex.gallery2.org/index.php/Gallery2:Modules:Map" target="_blank">Google Maps Module</a>, or watch this space on Tadek&#8217;s blog, for a really promising looking <a href="http://tadek.pietraszek.org/blog/2006/08/31/gallery2-plugin-displaying-googlemaps-with-gps-coordinates-from-exif/" target="_blank">module to view locations on single images</a>.</p>
<p><strong>Useful Resources </strong></p>
<p>I came across a number of other useful little applications out there, which while weren&#8217;t directly useful to me &#8211; might be very helpful to you, so here they are <img src='http://www.kevinblake.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<ul>
<li><a href="http://www.wwmx.org" target="_blank">WMMX Location Stamper</a> &#8211; Stamp your photos with GPS information.  Totally Free.</li>
<li><a href="http://earth.google.com/" target="_blank">Google Earth</a> &#8211; The best way to view your photos afterwards <img src='http://www.kevinblake.co.uk/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </li>
<li><a href="http://www.grazer.de" target="_blank">Grazer </a>- Another GPS stamping application</li>
<li><a href="http://www.gpsvisualizer.com/" target="_blank">GPS Visualizer</a> &#8211; A great online tool to sort our your GPX files, and much more.</li>
<li><a href="http://www.stuffware.co.uk/articles/00000001.html" target="_blank">Photo Studio</a> &#8211; John Hawkins&#8217; explanation of geotagging with Photo Studio.</li>
<li><a href="http://www.gpsbabel.org/" target="_blank">GPS Babel</a> &#8211; Converts your GPS track files between loads of different formats (though wouldn&#8217;t play nicely with the track stick &#8211; let me know if you have more luck!)</li>
<li><a href="http://www.robogeo.com/home/" target="_blank">Robo Geo</a> &#8211; nice tagging tool, but it&#8217;s a pay-for software and doesn&#8217;t really do the job any better than the rest of them.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.kevinblake.co.uk/geo-tagging-the-universe-one-step-at-a-time/81/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Blogging on Location</title>
		<link>http://www.kevinblake.co.uk/blogging-on-location/32/</link>
		<comments>http://www.kevinblake.co.uk/blogging-on-location/32/#comments</comments>
		<pubDate>Mon, 07 Nov 2005 23:27:57 +0000</pubDate>
		<dc:creator>Kevin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[gps]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[travel]]></category>

		<guid isPermaLink="false">http://blog.puzzlebox.co.uk/?p=32</guid>
		<description><![CDATA[From the first explorers, to ships and aircraft crossing continents, the telephone, and the all-encompassing network of the Internet. All have contributed to decreasing the size of our planet. As far as I know, we&#8217;re not talking directly here, but rather our perception of the &#8220;small world&#8221; that we live in today. People increasingly talk [...]]]></description>
			<content:encoded><![CDATA[<p>From the first explorers, to ships and aircraft crossing continents, the telephone, and the all-encompassing network of the Internet.  All have contributed to decreasing the size of our planet.  As far as I know, we&#8217;re not talking directly here, but rather our perception of the &#8220;small world&#8221; that we live in today.</p>
<p>People increasingly talk about location as though it&#8217;s not important.  From the business community, we can get all the work done we need, wherever the skills are available, and it&#8217;s most economic to do so.  Knowledge can be shared between communities no matter how remote, or central.  Families can stay in touch, and new friends can be made whether you&#8217;re meeting for drinks in a bar, or sitting on your new wireless network connection halfway up a mountain.</p>
<p>And maybe they&#8217;re right, maybe location isn&#8217;t important.  On the other hand, where you might be at any one point in time could be extremely important.  Blogging often relies on location.  The most popular writing on this blog so far, is the entries I made while &#8220;not here&#8221;.  The news reports that highlight what an exciting area blogging can be all talk about people writing news from within disaster areas.  I can talk about tornado in North America quite comfortably from my living room here in England.  But nobody really sits up and takes any notice until I&#8217;m actually in the eye of the storm.  So location can be important.  It gives a unique context to a story that can&#8217;t be given in any other way.</p>
<p>And that&#8217;s why I&#8217;ve just installed the Geo plugin for this particular blog.  Fuelled by the success of my travel map for my photos, I don&#8217;t see why I shouldn&#8217;t give location to my blog entries as well.  Especially as a large part of them will be made up with travelling.</p>
<p>So imagine; a map of photos and blog entries.  Being able to search for all entries that are 20, 50, 100 miles away from the current entry.  Find all the photos that were taken nearby.  Find other blogs or pictures from same area, by any number of photographers or bloggers.</p>
<p>There are cameras on the market that have built in GPS, so longitude and latitude can be stored alongside the photos.  Hopefully this will become more of the norm in later cameras, and I can get one <img src='http://www.kevinblake.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Okay, so I&#8217;m not introducing anything new here.  And similar functionality to that I&#8217;ve described is already available.  There is a blogging community with plentiful location support, and it&#8217;s searchable by location.  Highly useful for holiday ideas.  But I forget the name of it now <img src='http://www.kevinblake.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>But it&#8217;s my plan for this particular blog, and gives me something to do / write.  Whether or not I will, being a professional procrastinator &#8211; that&#8217;s a different matter and one to leave to the future to decide <img src='http://www.kevinblake.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Good night, all!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.kevinblake.co.uk/blogging-on-location/32/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
