<?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>Cartopedia.co.uk</title>
	<atom:link href="http://www.cartopedia.co.uk/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.cartopedia.co.uk/blog</link>
	<description>Eclectic mix of geo reviews, tutorials and research.</description>
	<lastBuildDate>Wed, 22 May 2013 10:47:39 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>Pivot Tables for R: Try sqldf</title>
		<link>http://www.cartopedia.co.uk/blog/2013/05/21/pivot-tables-for-r-try-sqldf/</link>
		<comments>http://www.cartopedia.co.uk/blog/2013/05/21/pivot-tables-for-r-try-sqldf/#comments</comments>
		<pubDate>Tue, 21 May 2013 13:47:12 +0000</pubDate>
		<dc:creator>Alistair Leak</dc:creator>
				<category><![CDATA[r-tutorial]]></category>

		<guid isPermaLink="false">http://www.cartopedia.co.uk/blog/?p=226</guid>
		<description><![CDATA[Pivot tables are a a growing staple for analysis in excel yet they remain limited to the functionality which Microsoft has chosen to include. Typical operations are the inclusion of filters, choice over rows, columns, and maths operations. In R &#8230; <a href="http://www.cartopedia.co.uk/blog/2013/05/21/pivot-tables-for-r-try-sqldf/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>Pivot tables are a a growing staple for analysis in excel yet they remain limited to the functionality which Microsoft has chosen to include. Typical operations are the inclusion of filters, choice over rows, columns, and maths operations. In R this functionality is not always so straightforward. That is until you try sqldf(). The sqldf package implements sql (Structured Query Language) query functionality onto traditional data.frames. A simple example being:</p>
<pre style="text-align: center;"><code>sqldf("select * from irisTable")</code></pre>
<table border="1">
<tbody>
<tr>
<th></th>
<th>Sepal_Length</th>
<th>Sepal_Width</th>
<th>Petal_Length</th>
<th>Petal_Width</th>
<th>Species</th>
</tr>
<tr>
<td align="right">1</td>
<td align="right">5.10</td>
<td align="right">3.50</td>
<td align="right">1.40</td>
<td align="right">0.20</td>
<td>setosa</td>
</tr>
<tr>
<td align="right">2</td>
<td align="right">4.90</td>
<td align="right">3.00</td>
<td align="right">1.40</td>
<td align="right">0.20</td>
<td>setosa</td>
</tr>
<tr>
<td align="right">3</td>
<td align="right">4.70</td>
<td align="right">3.20</td>
<td align="right">1.30</td>
<td align="right">0.20</td>
<td>setosa</td>
</tr>
<tr>
<td align="right">4</td>
<td align="right">4.60</td>
<td align="right">3.10</td>
<td align="right">1.50</td>
<td align="right">0.20</td>
<td>setosa</td>
</tr>
<tr>
<td align="right">5</td>
<td align="right">5.00</td>
<td align="right">3.60</td>
<td align="right">1.40</td>
<td align="right">0.20</td>
<td>setosa</td>
</tr>
<tr>
<td align="right">6</td>
<td align="right">5.40</td>
<td align="right">3.90</td>
<td align="right">1.70</td>
<td align="right">0.40</td>
<td>setosa</td>
</tr>
</tbody>
</table>
<p style="text-align: left;"><span id="more-226"></span></p>
<p style="text-align: left;"><span style="text-align: left;">This simple statement will request all columns (all indicated with *) from a table which you are basing your work on. Before we start we will create the sample data. We will use the Iris dataset and change column names to remove any full stops and spaces.</span></p>
<pre style="text-align: left;">irisTable &lt;- iris

names(irisTable) &lt;- c("Sepal_length", "Sepal_Width", "Petal_length", "Petal_width", "Species")</pre>
<p style="text-align: left;">However, what if we only want a selection of all columns? Further, we may wish to order our data by a particular column. This can be achieved by appending &#8216;order by &lt;col_name&gt; desc or asc.</p>
<pre style="text-align: center;">sqldf("select Species, Sepal_length from irisTable")</pre>
<table border="1">
<tbody>
<tr>
<th></th>
<th>Species</th>
<th>Sepal_length</th>
</tr>
<tr>
<td align="right">1</td>
<td>setosa</td>
<td align="right">5.10</td>
</tr>
<tr>
<td align="right">2</td>
<td>setosa</td>
<td align="right">4.90</td>
</tr>
<tr>
<td align="right">3</td>
<td>setosa</td>
<td align="right">4.70</td>
</tr>
<tr>
<td align="right">4</td>
<td>setosa</td>
<td align="right">4.60</td>
</tr>
<tr>
<td align="right">5</td>
<td>setosa</td>
<td align="right">5.00</td>
</tr>
<tr>
<td align="right">6</td>
<td>setosa</td>
<td align="right">5.40</td>
</tr>
</tbody>
</table>
<p style="text-align: left;">By specifying the column names as they are displayed in the data.frame we can select these specific columns. At this stage we have the basic functionality available in the standard Pivot Table tool. Moving on to aggregating our data we can use the &#8216;group by&#8217; function as demonstrated below.</p>
<pre style="text-align: center;">sqldf("select Species, count(*) from irisTable group by Species")</pre>
<table border="1">
<tbody>
<tr>
<th></th>
<th>Species</th>
<th>count(*)</th>
</tr>
<tr>
<td align="right">1</td>
<td>setosa</td>
<td align="right">50</td>
</tr>
<tr>
<td align="right">2</td>
<td>versicolor</td>
<td align="right">50</td>
</tr>
<tr>
<td align="right">3</td>
<td>virginica</td>
<td align="right">50</td>
</tr>
</tbody>
</table>
<p style="text-align: left;">Having added the group by statement we are now bringing the real power of Pivot Tables to R. If we assume that Species is a list of row names we have brought together all of our records into a much smaller number of categories. Questions we may now want to ask are: What is the average Sepal Length of each Species? What is the Min, Max or average petal length? these function may be simply applied by wrapping the chosen variable with the function you wish to perform.</p>
<pre style="text-align: center;">sqldf("select Species, avg(Sepal_length) from irisTable group by Species")</pre>
<table border="1">
<tbody>
<tr>
<th></th>
<th>Species</th>
<th>avg(Sepal_length)</th>
</tr>
<tr>
<td align="right">1</td>
<td>setosa</td>
<td align="right">5.01</td>
</tr>
<tr>
<td align="right">2</td>
<td>versicolor</td>
<td align="right">5.94</td>
</tr>
<tr>
<td align="right">3</td>
<td>virginica</td>
<td align="right">6.59</td>
</tr>
</tbody>
</table>
<p style="text-align: left;">A full list of these functions can be found at <a href="http://www.w3schools.com/sql/sql_functions.asp">W3 SQL</a>. In addition to math operations a number of text based operations are available such as length() which determines the length of a string, UCASE() converts to upper-case and LCASE converts to lower case.</p>
<p style="text-align: left;">The next aspect of Pivot Tables are filters. Filters allow subsets of the data to be generated for example we want to study a specific district, or are looking for values between two points. You will notice that once we have used the &#8216;group by&#8217; statement we use &#8216;having&#8217; rather than &#8216;where&#8217;.</p>
<pre style="text-align: center;">sqldf("select Species, Sepal_length from irisTable group by Species having Sepal_length between 5 and 6")</pre>
<table border="1">
<tbody>
<tr>
<th></th>
<th>Species</th>
<th>Sepal_length</th>
</tr>
<tr>
<td align="right">1</td>
<td>setosa</td>
<td align="right">5.00</td>
</tr>
<tr>
<td align="right">2</td>
<td>versicolor</td>
<td align="right">5.70</td>
</tr>
<tr>
<td align="right">3</td>
<td>virginica</td>
<td align="right">5.90</td>
</tr>
</tbody>
</table>
<pre style="text-align: center;">sqldf("select Species, Sepal_length from irisTable group by Species having Species='virginica'")</pre>
<table border="1">
<tbody>
<tr>
<th></th>
<th>Species</th>
<th>Sepal_length</th>
</tr>
<tr>
<td align="right">1</td>
<td>virginica</td>
<td align="right">5.90</td>
</tr>
</tbody>
</table>
<p style="text-align: left;">The above two example highlight the use of where with two different approached. The first example is looking for values between, and including 0 and 10. The second example is looking for all records relating to Berkshire. It should be noted that where clauses are not case sensitive.</p>
<p style="text-align: left;">One issue which many users experience in R is the generated field names created during joins, or maths functions. In its basic format, sqldf will produce similar column names however this can be rectified using the &#8216;as&#8217; statement.</p>
<pre style="text-align: left;">sqldf("select Species, Sepal_length as 'Avg Sepal Length' from irisTable group by Species having Species='virginica'")</pre>
<table border="1">
<tbody>
<tr>
<th></th>
<th>Species</th>
<th>Avg Sepal Length</th>
</tr>
<tr>
<td align="right">1</td>
<td>virginica</td>
<td align="right">6.59</td>
</tr>
</tbody>
</table>
<p style="text-align: left;">Though brief, this tutorial is able to address all and more of the functionality found within Pivot Tables and yet leaves many features of sqldf unused. Additional functionality includes table join, SQLite backend databases and data recording.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cartopedia.co.uk/blog/2013/05/21/pivot-tables-for-r-try-sqldf/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A New &#8216;SECReT&#8217; Era Begins..</title>
		<link>http://www.cartopedia.co.uk/blog/2012/09/23/a-new-secret-era-begins/</link>
		<comments>http://www.cartopedia.co.uk/blog/2012/09/23/a-new-secret-era-begins/#comments</comments>
		<pubDate>Sun, 23 Sep 2012 17:07:32 +0000</pubDate>
		<dc:creator>Alistair Leak</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.cartopedia.co.uk/blog/?p=216</guid>
		<description><![CDATA[Okay so its been a while since the last post and as you can imagine a lot has changed. Starting with the major updates, I have now completed my Masters of Research qualification at UCL&#8217;s CASA and am on the verge  of &#8230; <a href="http://www.cartopedia.co.uk/blog/2012/09/23/a-new-secret-era-begins/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>Okay so its been a while since the last post and as you can imagine a lot has changed. Starting with the major updates, I have now completed my Masters of Research qualification at <a title="UCL's CASA" href="http://www.bartlett.ucl.ac.uk/casa" target="_blank">UCL&#8217;s CASA</a> and am on the verge  of beginning a PhD with <a title="UCL's SECReT" href="http://www.ucl.ac.uk/secret/homepage" target="_blank">UCL&#8217;s SECReT</a> (a perfect acronym with no known explanation).  Unlike most PhD&#8217;s however, the SECReT PhD will take four years completing an M.Res in the first year before embarking on the three year research project.</p>
<p><span id="more-216"></span></p>
<p>In addition to myself are fourteen other equally intrepid Drs-to-be including 2 geographers, 2 physicists and an array of forensic scientists. All in all epitomizing the interdisciplinary nature of modern research. In order to break the ice the department (SECReT) organised our first joint excursion to the <a title="Future Security" href="http://www.futuresecurity.fkie.fraunhofer.de/en.html" target="_blank">Future Security</a> in Bonn, Germany! As you can imagine, the game of &#8216;I spy a SECReT student&#8217; at the airport was gripping and to give you a taster of the conference setting i&#8217;ve included a picture below.</p>
<div id="attachment_218" class="wp-caption aligncenter" style="width: 650px"><a href="http://www.cartopedia.co.uk/blog/wp-content/uploads/2012/09/2012-09-05-09.20.331.jpg"><img class="size-large wp-image-218" title="2012-09-05 09.20.33" alt="Image from Future Security 2012 in Bonn Germany" src="http://www.cartopedia.co.uk/blog/wp-content/uploads/2012/09/2012-09-05-09.20.331-1024x768.jpg" width="640" height="480" /></a><p class="wp-caption-text">Future Security 2012, Bonn</p></div>
<p>Though the conference presented a number of challenges (Plenary talks in German) the conference was fairly rewarding and highlighted the cross discipline nature of many aspects of Security Science and allowed everyone to identify shared group in our own knowledge. Further, with the taught component of the year starting the week, everyone is placed on a fairly even playing field moving away from their present background to cover modules including Global Security Challenges and Information Security.</p>
<p>Okay so that will do for now and hopefully the posts will start flowing once again looking at GIS, Tutorials and now Crime and Security Science!</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cartopedia.co.uk/blog/2012/09/23/a-new-secret-era-begins/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Building 3D Cartogram Globes</title>
		<link>http://www.cartopedia.co.uk/blog/2012/06/25/building-3d-cartogram-globes/</link>
		<comments>http://www.cartopedia.co.uk/blog/2012/06/25/building-3d-cartogram-globes/#comments</comments>
		<pubDate>Mon, 25 Jun 2012 15:43:50 +0000</pubDate>
		<dc:creator>Alistair Leak</dc:creator>
				<category><![CDATA[CASA]]></category>
		<category><![CDATA[Visualization]]></category>

		<guid isPermaLink="false">http://www.cartopedia.co.uk/blog/?p=200</guid>
		<description><![CDATA[&#160; When we consider traditional cartograms, often our first thoughts are towards maps of poverty or wealth. Furthermore, we very expect to see a vector or raster based representation rather than a real world image. This post explored two aspects &#8230; <a href="http://www.cartopedia.co.uk/blog/2012/06/25/building-3d-cartogram-globes/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>&nbsp;</p>
<p><center><br />
<iframe src="http://www.youtube.com/embed/sBgtpoKMl_Y" frameborder="0" width="640" height="480"></iframe></center>When we consider traditional cartograms, often our first thoughts are towards maps of poverty or wealth. Furthermore, we very expect to see a vector or raster based representation rather than a real world image. This post explored two aspects of this novel visualisation technique.</p>
<p>Firstly, we can consider the creation of the cartogram. For simplicity&#8217;s sake, the dataset used is the simplified world outline provided by www.gadm.org/ and for our imagery we use one of the NASA Earth Marble Images downloaded in the geotiff format.  Using the Cartogram Geoprocessing tool version 2 available at <a href="http://arcscripts.esri.com/details.asp?dbid=15638">http://arcscripts.esri.com/details.asp?dbid=15638</a> we are able to perform the cartogram function on the global boundaries vector layer and in parallel any additional spatial layer. The image below being the population cartogram marble. One issue with the cartogram tool is that the skew of the image morphs the image away from its simple rectangular format so the image must be slightly cropped for the benefit of the 3D conversion.</p>
<p><img class="alignright size-large wp-image-201" title="test1231-1" src="http://www.cartopedia.co.uk/blog/wp-content/uploads/2012/06/test1231-1-1024x523.jpg" alt="" width="640" height="326" /></p>
<p>The 3D version of the globe is created using Blender, a free and open-source 3D modelling package with many comparable features to commercial packages such as 3DsMax. Once the cartogram texture is created, it can be mapped to a sphere mesh and subsequently through the use of keyframes can be animated to spin in a smooth and earth-like manner. Further details will be provided later through a tutorial. Further reality could be added to the map though the addition of night lighting and clouds giving the earth a more realistic appearance.</p>
<p><center><iframe src="http://www.youtube.com/embed/rzF8FAP0E5g" frameborder="0" width="640" height="480"></iframe></center></p>
]]></content:encoded>
			<wfw:commentRss>http://www.cartopedia.co.uk/blog/2012/06/25/building-3d-cartogram-globes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Thoughts from Geo-12 (day2)</title>
		<link>http://www.cartopedia.co.uk/blog/2012/03/25/thoughts-from-geo-12-day2/</link>
		<comments>http://www.cartopedia.co.uk/blog/2012/03/25/thoughts-from-geo-12-day2/#comments</comments>
		<pubDate>Sun, 25 Mar 2012 12:35:48 +0000</pubDate>
		<dc:creator>Alistair Leak</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.cartopedia.co.uk/blog/?p=191</guid>
		<description><![CDATA[As the title suggests, I was only able to attend the second day of this years Geo-12 event. However, the talks I did see where of excellent standard and I will hopefully communicate some of the key ideas here. The &#8230; <a href="http://www.cartopedia.co.uk/blog/2012/03/25/thoughts-from-geo-12-day2/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>As the title suggests, I was only able to attend the second day of this years <a title="Geo-12 event" href="http://www.pvpubs.com/events.php" target="_blank">Geo-12 event</a>. However, the talks I did see where of excellent standard and I will hopefully communicate some of the key ideas here. The talks where titled:</p>
<p>1. 3D Laser Mapping &#8211; Mapping vs Survey Grade <em>by Andrew Fuller</em><br />
2.  Ten things not to do with maps <em>by Mary Spence</em><br />
3. Everyone can be a hydrographic surveyor <em>by Tim Thornton</em></p>
<p>The <a title="3D Laser Mapping" href="http://http://www.3dlasermapping.com">3D Laser Mapping</a> talk though not my main focus proved to be very informative and highlighted the development of terrestrial laser scanning. The first point was that survey grade accuracy is typically &lt;3cm whereas mapping grade is &lt;100cm. The talk also reiterated the importance of mission planning when conducting high accuracy surveying. Due to the varying positions of the different positing systems during the day it is important to conduct a survey when the greatest  number of satellites are overhead. This is even more important when working in urban canyons where aerial visibility is severely limited.</p>
<p>Andrew Fuller talked in some detail about the use of <a title="Inertia Monitoring Units" href="http://en.wikipedia.org/wiki/Inertial_measurement_unit">Inertia Monitoring Units</a> IMU which work to correct position whilst allowing the scanner to know its position even when satellite coverage is inconsistent. To see the results of the surveys have a look at the video below. It is quite easy to see how this could be transferred into the games industry to create real world places.</p>
<p><iframe src="http://www.youtube.com/embed/Hc3tLeKaOv4" frameborder="0" width="560" height="315"></iframe></p>
<p>The next talk was one with a balance of humour and purpose. <a title="Mary Spence" href="http://www.cartography.org.uk/default.asp?contentID=612" target="_blank">Mary Spence</a> gave a rapid and well illustrated sample of common cartographic mistakes and possible solutions. Her talk worked through the most common ailments including colour, labelling map furniture etc highlighting correct vs incorrect use.</p>
<p>As was highlighted, many of the suggestions made where common sense however, commonly forgotten. I will give a few examples of Mary&#8217;s recommendations below.</p>
<p><strong>1. Map Content</strong></p>
<p>The final point of Mary&#8217;s talk was on the subject of map content. All too often a cartographer seeks to embed far more information onto a map than is required and will typically lead to congestion and confusion. Mary highlights the importance of planning and the consideration of output type and size, purpose and user. She used the example of one customer who used the phrase &#8220;It seems a shame not to include it&#8221; having digitised more data than required.</p>
<p><span style="color: #000000;"><strong>2. Marginalia</strong></span></p>
<p>Again a common mistake with map makers is the use of text such as &#8220;Map of&#8230;.&#8221;, &#8220;Legend showing..&#8221; and &#8220;This map contains&#8230;&#8221;. In the majority of cases these statements are redundant and remove the professional impression of the map. If it requires the designer to tell the reader it is a map surely it is not a very good map. Additionally when a designer uses arty borders, north arrows (a topic of their own) and insets then the question must be asked is the designer trying to hide something about the actual maps quality.</p>
<p><strong>3: Do not lie</strong></p>
<p>This line was shown alongside the <a title="Creating 3D Maps in ArcGIS" href="http://www.cartopedia.co.uk/blog/2011/10/10/creating-3d-maps-in-arcgis/">Kingston university 3D campus map</a> which the university paid a large amount of money to complete. The project included the use of helicopter surveys yet the final product is over generalised and as such is a very poor abstraction of reality. This was one of the motivations of my past lecturer Dr Ken Field to get students to create a more appropriate map.</p>
<p>The final talk Everyone can be a hydrographic surveyor by <a title="Tim Thornton" href="https://twitter.com/#!/smartcom_tim" target="_blank">Tim Thornton</a> was possibly one of the most significant. Tim Thornton presented the work of <a title="TeamSurv" href="http://www.teamsurv.eu/" target="_blank">TeamSurv</a>, an open-source bathymetric mapping project. The project aims to collect large amounts of depth data from yachts and cruisers and to collate and map the data. The project appears to be well engineered and takes into account many of the questions regarding data quality that may be asked. Firstly, all data submitted is collated into a database and a certain density of recordings is required before a depth is placed on the map. Through the use of regression analysis all depths may be plotted and those which are beyond a sensible range are excluded. User who regularly submit  poor data are blacklisted or asked to recalibrate equipment. The next portion of the project is the correction due to tidal heights and sea temperature. The project takes into account sea temperature on the speed of sound/light in water and uses almanac data verified alongside live tide sensors to make all results consistent.</p>
<p>The majority of data collection to date has taken place within the Solent, however as the project grows they are now collecting data on a global scale. In addition the project has had some of their results in the Solent verified through wide beam sonar bathymetric scans. These professional surveys suggest the TeamSurv data is correct to +- 10cm. Coverage within the Solent is now good however, there are a number of blank spots at shallow regions.</p>
<p>I think this project is very interesting and is certainly one to follow. As the project expands and more users contribute it will be interesting to see strategies designed to increase coverage and infill certain parts of the dataset.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cartopedia.co.uk/blog/2012/03/25/thoughts-from-geo-12-day2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Book review: The map that changed the world</title>
		<link>http://www.cartopedia.co.uk/blog/2012/03/19/book-review-the-map-that-changed-the-world/</link>
		<comments>http://www.cartopedia.co.uk/blog/2012/03/19/book-review-the-map-that-changed-the-world/#comments</comments>
		<pubDate>Mon, 19 Mar 2012 11:38:22 +0000</pubDate>
		<dc:creator>Alistair Leak</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.cartopedia.co.uk/blog/?p=187</guid>
		<description><![CDATA[The map that changed the world written by Simon Winchester is a fascinating example of the early 1800 period where map making was in its element. The book follows the life of William Smith the son of a blacksmith who may be considered &#8230; <a href="http://www.cartopedia.co.uk/blog/2012/03/19/book-review-the-map-that-changed-the-world/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>The map that changed the world written by <a title="Simon Winchester" href="http://simonwinchester.com/" target="_blank">Simon Winchester</a> is a fascinating example of the early 1800 period where map making was in its element. The book follows the life of <a title="William Smith Wiki" href="http://en.wikipedia.org/wiki/William_Smith_(geologist)" target="_blank">William Smith</a> the son of a blacksmith who may be considered the founder of Geology. For his entire life smith fought to be recognised and in fact to stay in the black.</p>
<p><img class="alignright" title="The map that changed the world book cover" src="http://covers.openlibrary.org/b/id/402305-M.jpg" alt="" width="126" height="201" /></p>
<p>Smith spent the majority of his life in the pursuit of the map and is known to have travelled extensively through his life. His greatest hindrance was a lack of finance and as such  had to fit his work around his job as a land drainer and engineer.</p>
<p>The book tells of the sampling that smith conducted through his life and how he accessed funding through numerous publications and favours. The book also tells of the darker side of the scientific community of the time who seemed intent on plagiarizing  both his work and ideas. This disrespect for his work led to many of Smiths setbacks during life and later to a short stint in debtors prison. Smith did however eventually receive the credit he was due and receive the first <a title="Wollaston medal wiki" href="http://en.wikipedia.org/wiki/Wollaston_Medal" target="_blank">Wollaston Medal</a> for his lifetime achievements.</p>
<p>Smiths final map of the geology of the England as shown below is testament to the skills he has gained during his life in the measurement and depiction of the geology of the country. Though a reasonable number of the final maps where produced, few are now left in regular circulation though one may be seen in the offices of the royal geological society.</p>
<p><img class="aligncenter" title="Map of UK geology by William Smith" src="http://upload.wikimedia.org/wikipedia/commons/thumb/9/98/Geological_map_Britain_William_Smith_1815.jpg/407px-Geological_map_Britain_William_Smith_1815.jpg" alt="" width="407" height="600" /></p>
<p>The moral story of the map is as powerful as the creation of the map. Holding a lifetime passion for a subject and being able to step back up to the mark when you and your work are mocked will allow you to create and achieve great things. During his life William smith had to fight for any recognition with the aristocrats of the time yet he is now considered one of the greatest men in the history of geology.</p>
<p>&nbsp;</p>
<p>&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cartopedia.co.uk/blog/2012/03/19/book-review-the-map-that-changed-the-world/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Book review: Just My Type</title>
		<link>http://www.cartopedia.co.uk/blog/2012/02/20/book-review-just-my-type1/</link>
		<comments>http://www.cartopedia.co.uk/blog/2012/02/20/book-review-just-my-type1/#comments</comments>
		<pubDate>Mon, 20 Feb 2012 10:52:31 +0000</pubDate>
		<dc:creator>Alistair Leak</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.cartopedia.co.uk/blog/?p=150</guid>
		<description><![CDATA[Just My Type, written by Simon Garfield published September 2011. When you first see this book the sleeve is enough to make you pick it up. Targeted at the novice level, the book draws the reader into the world of type working through its &#8230; <a href="http://www.cartopedia.co.uk/blog/2012/02/20/book-review-just-my-type1/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>Just My Type, written by Simon Garfield published September 2011. When you first see this book the sleeve is enough to make you pick it up. Targeted at the novice level, the book draws the reader into the world of type working through its history and exploring its meaning and role in history.</p>
<p><a href="http://www.amazon.co.uk/gp/product/1846683025/ref=as_li_ss_tl?ie=UTF8&amp;tag=gamesanddvd0b-21&amp;linkCode=as2&amp;camp=1634&amp;creative=19450&amp;creativeASIN=1846683025"><img class="aligncenter" title="Just My Type book cover" src="http://www.tesco.com/tescobooks/ProductAssets/Books/Books/Large/9781846683022_PI.jpg" alt="Just My Type book cover" width="182" height="280" /></a></p>
<p>A particular feature of the book is the regular assessment of some of the most commonly used.. and misused fonts. Of particular interest being the fonts Gill Sans (p.48) and Comic Sans. Though the book does not dissect fonts in the same was as some of the more traditional books, it does lead the reader to contemplate their font of choice and maybe even to appreciate and understand why or what different fonts mean what they do.</p>
<p>Just for those who really want to see a bit more on the anatomy of font you could start with the graphic below.</p>
<p><img class="alignnone" title="Anatomy of font" src="http://www.fontshop.com/images/glossary/anatomy.gif" alt="" width="761" height="190" /></p>
<p>From my perspective I feel that typography plays a significant role in the world of cartography and data visualisation for a number of reasons. Firstly as a cartographer you are working with a range of different font sizes, purposes and colours. Through a knowledge of type one is able to engineer these fonts to work in harmony and to make the information as clear and useful as possible. In addition through the use of appropriate font style the cartographer can influence the perceived purpose of the map. An elegant gothic font may promote an historical or artistic map whereas a clean sans serif may suggest a purposeful information map.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cartopedia.co.uk/blog/2012/02/20/book-review-just-my-type1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Visualising bike flow data in Processing</title>
		<link>http://www.cartopedia.co.uk/blog/2012/02/17/visualising-bike-flow-data-in-processing/</link>
		<comments>http://www.cartopedia.co.uk/blog/2012/02/17/visualising-bike-flow-data-in-processing/#comments</comments>
		<pubDate>Fri, 17 Feb 2012 16:23:05 +0000</pubDate>
		<dc:creator>Alistair Leak</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.cartopedia.co.uk/blog/?p=137</guid>
		<description><![CDATA[The visualisation of flows has been approached in many different ways through the history of cartography and mapping with early examples such as the British Coal export Map by Charles Minard. For this post I will be looking at the &#8230; <a href="http://www.cartopedia.co.uk/blog/2012/02/17/visualising-bike-flow-data-in-processing/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>The visualisation of flows has been approached in many different ways through the history of cartography and mapping with early examples such as the British Coal export Map by Charles Minard. For this post I will be looking at the flow of London Barclay&#8217;s bike hire scheme. The first visualisation as displayed below uses a combination of base map and individual markers for each bike displayed through time.</p>
<p><iframe src="http://www.youtube.com/embed/EEg2-rT9N0o" frameborder="0" width="420" height="315"></iframe></p>
<p>This first visualisation allows the user to reference the location of individual bikes however, an error within the processing code resulted in all bikes going to incorrect destinations. Having solved this problem, the next sketch removes the basemap to provide a less congested visualisation. The white points indicate bike journeys and the red flashes indicate the start of a journey.</p>
<p><iframe src="http://www.youtube.com/embed/EXl2yMVOya0" frameborder="0" width="420" height="315"></iframe></p>
<p>This visualisation is an improvement on the first but the mix of colours does not work as well as it could. This is addressed in the final visualisation below where the  trip beginnings flash white. Though simple the effect through the video is to see the concentration of starts moving from the outside zones into the centre and about 5pm the reverse with many trips initiating in the city of London region.<br />
<iframe src="http://www.youtube.com/embed/QV0pXsb5qnw" frameborder="0" width="420" height="315"></iframe></p>
<p>The final product works well and indicates and shows the movement of bikes through the day. Problems with the visualisation however are the lack of a spatial reference to orientate the user and also an indicator of the total number of bikes in use at any time.</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cartopedia.co.uk/blog/2012/02/17/visualising-bike-flow-data-in-processing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Book review: Map Of A Nation: A Biography Of The Ordnance Survey</title>
		<link>http://www.cartopedia.co.uk/blog/2012/02/14/book-review-map-of-a-nation-a-biography-of-the-ordnance-survey/</link>
		<comments>http://www.cartopedia.co.uk/blog/2012/02/14/book-review-map-of-a-nation-a-biography-of-the-ordnance-survey/#comments</comments>
		<pubDate>Tue, 14 Feb 2012 22:08:40 +0000</pubDate>
		<dc:creator>Alistair Leak</dc:creator>
				<category><![CDATA[Book Reviews]]></category>

		<guid isPermaLink="false">http://www.cartopedia.co.uk/blog/?p=124</guid>
		<description><![CDATA[Map Of A Nation: A Biography of the Ordnance survey by Rachel Hewitt is a excellent historical account of the history or the ordnance survey. Hewitt works well to fully document the various people and actions which in combination created one of &#8230; <a href="http://www.cartopedia.co.uk/blog/2012/02/14/book-review-map-of-a-nation-a-biography-of-the-ordnance-survey/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p><a title="Map Of A Nation: A Biography of the Ordnance survey" href="http://www.amazon.co.uk/Map-Nation-Biography-Ordnance-Survey/dp/1847082548/ref=sr_1_1?s=books&amp;ie=UTF8&amp;qid=1329255841&amp;sr=1-1">Map Of A Nation: A Biography of the Ordnance survey</a> by Rachel Hewitt is a excellent historical account of the history or the ordnance survey. Hewitt works well to fully document the various people and actions which in combination created one of the greatest maps in the world. Hewitt speaks in details as to the measurement of the first base line at Hounslow Heath and then consequently to the national triangulation and the challenges which this ensued. Particularly impressive is the mounting of the great theodolite (built by Jesse Ramsden) above St Paul&#8217;s Cathedral.</p>
<p><img class="aligncenter" title="Great Theodolite above St Pauls" src="http://www.dorsetlife.co.uk/wp-content/uploads/2011/09/911edMapping4.jpg" alt="Image of the Ordnance Surveys Great theodolite above st Paul's cathedral." width="176" height="352" /></p>
<p>The book further describes the challenges faced by the ordnance survey in the sense of the Napoleonic wars and the continues distractions which they faced: In particular completing a full map of Ireland before completing the original First series, Measuring the distance between the Greenwich and Paris Observatory and mapping Jerusalem.</p>
<div class="mceTemp mceIEcenter" style="text-align: left;">
<dl class="wp-caption  aligncenter" style="width: 186px;">
<dt class="wp-caption-dt"><a href="http://www.cartopedia.co.uk/blog/wp-content/uploads/2012/02/map-of-a-nation.jpg"><img class="size-full wp-image-125" title="Map of a Nation" src="http://www.cartopedia.co.uk/blog/wp-content/uploads/2012/02/map-of-a-nation.jpg" alt="Book cover for Map of a nation" width="181" height="278" /></a></dt>
<dd class="wp-caption-dd">Map of a Nation</dd>
</dl>
</div>
<div class="mceTemp mceIEcenter" style="text-align: left;">The book concludes with the completion of the Ordnance Survey First Series on the 1st of January 1870; 123 years after it was started. During this time, the ordnance survey had been through 5 Directors and had moved from the tower of London to nearer its present home in Southampton.</div>
<div class="mceTemp mceIEcenter" style="text-align: left;"></div>
<div class="mceTemp mceIEcenter" style="text-align: left;">For me, this book provided a wonderful insight into the development of both the map and also of the country. The changing nature of demand can be fully appreciated and is well illustrated throughout the text. It would be interesting to see what General William Roy, Major-General William Mudge or Major-General Thomas Colby would say if he where to see the present incarnation of the Ordnance Survey.</div>
]]></content:encoded>
			<wfw:commentRss>http://www.cartopedia.co.uk/blog/2012/02/14/book-review-map-of-a-nation-a-biography-of-the-ordnance-survey/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google Sketchup to Lumion</title>
		<link>http://www.cartopedia.co.uk/blog/2012/02/11/google-sketchup-to-lumion/</link>
		<comments>http://www.cartopedia.co.uk/blog/2012/02/11/google-sketchup-to-lumion/#comments</comments>
		<pubDate>Sat, 11 Feb 2012 17:58:52 +0000</pubDate>
		<dc:creator>Alistair Leak</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.cartopedia.co.uk/blog/?p=117</guid>
		<description><![CDATA[Now in its second decade, Google SketchUp has certainly come of age. In a past post I looked at importing SketchUp models into ESRIs ArcGIS  and now a look at working with Lumion 2. This demo is looking at an indoor scene aiming &#8230; <a href="http://www.cartopedia.co.uk/blog/2012/02/11/google-sketchup-to-lumion/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>Now in its second decade, <a title="Google SketchUp" href="http://sketchup.google.com/intl/en/index.html" target="_blank">Google SketchUp</a> has certainly come of age. In a past post I looked at importing <a title="Creating 3D models in ArcScene with Sketchup (Tutorial)" href="http://www.cartopedia.co.uk/blog/2011/11/28/creating-3d-models-in-arcscene-with-sketchup-tutorial/" target="_blank">SketchUp models into ESRIs ArcGIS </a> and now a look at working with <a title="Lumion" href="http://lumion3d.com/" target="_blank">Lumion 2</a>. This demo is looking at an indoor scene aiming to introduce the viewer to an office and environment whilst highlighting some of the work being conducted.</p>
<p>The first image is a view of the office as it is being created in Sketchup and it is evident that the overall image quality is good but nowhere near realistic. Though this may be the case, the modelling process is so efficient that this was created in under and hour.</p>
<p><a href="http://www.cartopedia.co.uk/blog/wp-content/uploads/2012/02/sketchup-casa-office1.jpg"><img class="alignright size-large wp-image-164" title="sketchup  casa office" src="http://www.cartopedia.co.uk/blog/wp-content/uploads/2012/02/sketchup-casa-office1-1024x521.jpg" alt="" width="640" height="325" /></a></p>
<p>The next phase is the export from SketchUp and import into Lumion. This process is particularly simple and relies on the use of the <a title="COLLADA" href="http://en.wikipedia.org/wiki/COLLADA" target="_blank">COLLADA</a> file format. Using the menu <strong>File &gt; Export &gt; 3D Model. </strong>In the save menu it is then important to set save options to include 2 sided faces, export edges and triangulate all faces.</p>
<p>Once in Lumion the import process is fairly simple. In the objects menu select import file and then select the COLLADA file. Important consideration at this point is whether to create new textures with Lumion or use the default Google SketchUp.</p>
<p><iframe src="http://www.youtube.com/embed/KWUALv582pQ" frameborder="0" width="420" height="315"></iframe></p>
<p>The video above has been created using the Lumion video engine and exported at 720 dpi.   The video maker allows a simple screen-grab based approach to creating a path and then intelligently renders a path between them. The video editor has significant functionality and allows people, vehicle and object animations to be included.</p>
<p>A few faults evident in the video was the flickering on the Mac and tv displays which was a result of multiple textures on the same plane. This may be alleviated by lifting the primary texture.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cartopedia.co.uk/blog/2012/02/11/google-sketchup-to-lumion/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Visualising twitter point data in Processing</title>
		<link>http://www.cartopedia.co.uk/blog/2012/02/03/visualising-twitter-point-data-in-processing/</link>
		<comments>http://www.cartopedia.co.uk/blog/2012/02/03/visualising-twitter-point-data-in-processing/#comments</comments>
		<pubDate>Fri, 03 Feb 2012 14:47:56 +0000</pubDate>
		<dc:creator>Alistair Leak</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.cartopedia.co.uk/blog/?p=109</guid>
		<description><![CDATA[Processing is an open-source graphic, animation and interaction generating applications which allows a code based environment for development. The example displayed in the video below visualises tweets around London and allows the user to navigate and interrogate the data. As &#8230; <a href="http://www.cartopedia.co.uk/blog/2012/02/03/visualising-twitter-point-data-in-processing/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>Processing is an open-source graphic, animation and interaction generating applications which allows a code based environment for development. The example displayed in the video below visualises tweets around London and allows the user to navigate and interrogate the data.</p>
<p><iframe src="http://www.youtube.com/embed/dcEerxmtwCM" frameborder="0" width="560" height="315"></iframe></p>
<p>As is evident in the video the main aspect of this code is the keyboard based interaction of the scene. Panning around the scene is available with the traditional A,W,S,D navigation scene and zooming and tilting available using &#8216;z&#8217; and &#8216;l&#8217;.</p>
<p>The navigation is created through the use of the processing <a title="keyPressed()" href="http://processing.org/reference/keyPressed_.html">keyPressed()</a> function. This code is in its own .pde file within the main sketch to simplify the sketch structure. In order to create the pan and zoom feature, the <a title="camera()" href="http://processing.org/reference/camera_.html">camera</a> function is used.</p>
<p><strong>Camera() function syntax:</strong><br />
camera(<kbd>eyeX</kbd>, <kbd>eyeY</kbd>, <kbd>eyeZ</kbd>, <kbd>centerX</kbd>, <kbd>centerY</kbd>, <kbd>centerZ</kbd>, <kbd>upX</kbd>, <kbd>upY</kbd>, <kbd>upZ</kbd>)</p>
<p>By setting both eyeX and centerX (and the same for Y) to be the same variable the camera will always remain directly above the image. Consequently by adding or subtracting from the cameraX and cameraY variable the scene appears to move.</p>
<p>Processing file available <a title="Here" href="http://www.cartopedia.co.uk/blog/wp-content/uploads/2012/02/readingInData5.zip">Here</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.cartopedia.co.uk/blog/2012/02/03/visualising-twitter-point-data-in-processing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
