<?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>Spatial Analysis</title>
	<atom:link href="http://spatialanalysis.co.uk/feed/" rel="self" type="application/rss+xml" />
	<link>http://spatialanalysis.co.uk</link>
	<description>Spatial data visualisation, analysis and resources</description>
	<lastBuildDate>Thu, 02 Feb 2012 21:50:43 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>London Cycle Hire and Pollution</title>
		<link>http://spatialanalysis.co.uk/2012/02/london-cycle-hire-pollution/</link>
		<comments>http://spatialanalysis.co.uk/2012/02/london-cycle-hire-pollution/#comments</comments>
		<pubDate>Thu, 02 Feb 2012 13:02:39 +0000</pubDate>
		<dc:creator>James</dc:creator>
				<category><![CDATA[Featured Maps]]></category>
		<category><![CDATA[London]]></category>
		<category><![CDATA[R Spatial Tips]]></category>
		<category><![CDATA[Visualisation]]></category>
		<category><![CDATA[barclays cycle]]></category>
		<category><![CDATA[Boris bikes]]></category>
		<category><![CDATA[pollution]]></category>

		<guid isPermaLink="false">http://spatialanalysis.co.uk/?p=3442</guid>
		<description><![CDATA[As a cyclist in London you can do your best to avoid left turning buses and dozy pedestrians. One thing you can&#8217;t really avoid though is pollution (although I accept cyclists probably aren&#8217;t much worse off than pedestrians and drivers in this respect). To illustrate this I have taken data for 3.2 million journeys from ...]]></description>
			<content:encoded><![CDATA[<p><a href="http://spatialanalysis.co.uk/wp-content/uploads/2012/02/bike_pollution_web.png"><img class="alignnone  wp-image-3444" title="bike_pollution_web" src="http://spatialanalysis.co.uk/wp-content/uploads/2012/02/bike_pollution_web-1024x703.png" alt="" width="553" height="380" /></a></p>
<p>As a cyclist in London you can do your best to avoid left turning buses and dozy pedestrians. One thing you can&#8217;t really avoid though is pollution (although I accept cyclists probably aren&#8217;t much worse off than pedestrians and drivers in this respect). To illustrate this I have taken <a href="http://www.tfl.gov.uk/businessandpartners/syndication/default.aspx" target="_blank">data </a>for 3.2 million journeys from the Barclays Cycle Hire scheme and combined it with <a href="http://data.london.gov.uk/laei-2008-concentration-maps" target="_blank">GLA pollution data </a>for particulate matter. Unsurprisingly, pollution is worse at junctions and where there is lots of static traffic, with the popular cycling routes around Waterloo Bridge and the Strand particularly affected. Most of the journeys are subject to relatively low (by <a href="http://www.guardian.co.uk/environment/2010/jun/25/london-air-pollution-europe" target="_blank">London standards</a>) levels because cyclists try and avoid the busiest routes, such as Euston Road. The loop around Hyde Park is really popular with Boris Bikers and fortunately one of the least polluted but clearly more could be done to sort out the pollution hotspots around the west end.</p>
<p>The routes have been guessed using routing algorithms and <a href="http://www.openstreetmap.org/" target="_blank">OpenStreetMap</a> data and optimised for cyclists (ie we assumed that people would prefer cycle lanes over roads etc). Thanks to Ollie O&#8217;Brien for this analysis. You can see more of his work <a href="http://oliverobrien.co.uk/2012/01/bike-share-route-fluxes/" target="_blank">here</a>. I produced this map using the R software package and blog about how I did it <a href="http://spatialanalysis.co.uk/2012/02/great-maps-ggplot2/" target="_blank">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://spatialanalysis.co.uk/2012/02/london-cycle-hire-pollution/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Great Maps with ggplot2</title>
		<link>http://spatialanalysis.co.uk/2012/02/great-maps-ggplot2/</link>
		<comments>http://spatialanalysis.co.uk/2012/02/great-maps-ggplot2/#comments</comments>
		<pubDate>Thu, 02 Feb 2012 13:02:15 +0000</pubDate>
		<dc:creator>James</dc:creator>
				<category><![CDATA[R Spatial Tips]]></category>
		<category><![CDATA[Resources]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[cycle]]></category>
		<category><![CDATA[ggplot2]]></category>
		<category><![CDATA[lineend]]></category>
		<category><![CDATA[London]]></category>
		<category><![CDATA[R]]></category>
		<category><![CDATA[rstats]]></category>

		<guid isPermaLink="false">http://spatialanalysis.co.uk/?p=3455</guid>
		<description><![CDATA[The above map (and this one) was produced using R and ggplot2 and serve to demonstrate just how sophisticated R visualisations can be. We are used to seeing similar maps produced with conventional GIS platforms or software such as Processing but I hadn&#8217;t yet seen one from the R community (feel free to suggest some ...]]></description>
			<content:encoded><![CDATA[<p><a href="http://spatialanalysis.co.uk/wp-content/uploads/2012/02/bike_ggplot.png"><img class="alignnone  wp-image-3456" title="bike_ggplot" src="http://spatialanalysis.co.uk/wp-content/uploads/2012/02/bike_ggplot-1024x676.png" alt="" width="553" height="365" /></a></p>
<p>The above map (<a href="http://spatialanalysis.co.uk/2012/02/london-cycle-hire-pollution/" target="_blank">and this one</a>) was produced using R and <a href="http://had.co.nz/ggplot2/" target="_blank">ggplot2</a> and serve to demonstrate just <a href="http://spatialanalysis.co.uk/2012/01/coming-age-spatial-data-visualisation/" target="_blank">how sophisticated</a> R visualisations can be. We are used to seeing similar maps produced with conventional GIS platforms or software such as <a href="http://processing.org/" target="_blank">Processing</a> but I hadn&#8217;t yet seen one from the R community (feel free to suggest some in the comments). The map contains three layers: buildings, water and the journey segments. The most challenging aspect was to change the standard line ends in <a href="http://had.co.nz/ggplot2/geom_segment.html" target="_blank">geom_segment</a> from &#8220;butt&#8221; to &#8220;round&#8221; in order that the lines appeared continuous and not with &#8220;cracks&#8221; in, see below.</p>
<p><a href="http://spatialanalysis.co.uk/wp-content/uploads/2012/02/lineend.png"><img class="alignnone size-full wp-image-3459" title="lineend" src="http://spatialanalysis.co.uk/wp-content/uploads/2012/02/lineend.png" alt="" width="553" height="288" /></a></p>
<p>I am grateful to Hadley and the rest of the ggplot2 Google Group for the solution. You can see it <a href="http://groups.google.com/group/ggplot2/browse_thread/thread/9a8befd1ffcc4ae6" target="_blank">here</a>. From this point I layered the plots using the <a href="http://had.co.nz/ggplot2/geom_polygon.html" target="_blank">geom_polygon()</a> command for the buildings and water bodies and my new function geom_segment2() for the journey segments- these were simply the start and end latitudes and longitudes for each node in the road network and the number of times a cyclist passed between them. I have included the code below<br />
&nbsp;</p>
<p><code><br />
#Code supplied by james cheshire Feb 2012<br />
#load packages and enter development mode<br />
library('devtools')<br />
dev_mode()<br />
library(ggplot2)<br />
library(proto)</p>
<p>#if your map data is a shapefile use maptools<br />
library(maptools)<br />
gpclibPermit()</p>
<p>#create GeomSegment2 function<br />
GeomSegment2 <- proto(ggplot2:::GeomSegment, {<br />
 objname <- "geom_segment2"<br />
 draw <- function(., data, scales, coordinates, arrow=NULL, ...) {<br />
  if (is.linear(coordinates)) {<br />
    return(with(coord_transform(coordinates, data, scales),<br />
      segmentsGrob(x, y, xend, yend, default.units="native",<br />
      gp = gpar(col=alpha(colour, alpha), lwd=size * .pt,<br />
        lty=linetype, lineend = "round"),<br />
      arrow = arrow)<br />
    ))<br />
  }<br />
}})</p>
<p>geom_segment2 <- function(mapping = NULL, data = NULL, stat =<br />
"identity", position = "identity", arrow = NULL, ...)  {<br />
 GeomSegment2$new(mapping = mapping, data = data, stat = stat,<br />
       position = position, arrow = arrow, ...)<br />
}</p>
<p>#load data stlat/stlong are the start points elat/elong are the end points of the lines<br />
lon<- read.csv("bikes_london.csv", header=F, sep=";")<br />
names(lon)<-c("stlat", "stlon", "elat", "elong", "count")</p>
<p>#load spatial data. You need to fortify if loaded as a shapefile<br />
water<- fortify(readShapePoly("waterfeatures.shp"))<br />
built<- fortify(readShapePoly("buildings.shp"))</p>
<p>#This step removes the axes labels etc when called in the plot.<br />
xquiet<- scale_x_continuous("", breaks=NA)<br />
yquiet<-scale_y_continuous("", breaks=NA)<br />
quiet<-list(xquiet, yquiet)</p>
<p>#create base plot<br />
plon1<- ggplot(lon, aes(x=stlon, y=stlat))</p>
<p>#ready the plot layers<br />
pbuilt<-c(geom_polygon(data=built, aes(x=long, y=lat, group=group), colour= "#4B4B4B", fill="#4F4F4F", lwd=0.2))<br />
pwater<-c(geom_polygon(data=water, aes(x=long, y=lat, group=group), colour= "#708090", fill="#708090"))</p>
<p>#create plot<br />
plon2<- plon1 +pbuilt+ pwater+ geom_segment2(aes(xend=elong, yend=elat, size= count, colour=count))+scale_size(range=c(0.06, 1.8))+scale_colour_gradient(low="#FFFFFF", high="#FFFF33", space="rgb")+coord_equal(ratio=1/cos(lon$elat[1]*pi/180))+quiet+ opts(panel.background=theme_rect(fill="#404040"))</p>
<p>plon2<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://spatialanalysis.co.uk/2012/02/great-maps-ggplot2/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>The Power of Comparison: Just How Big Is It?</title>
		<link>http://spatialanalysis.co.uk/2012/01/power-comparison/</link>
		<comments>http://spatialanalysis.co.uk/2012/01/power-comparison/#comments</comments>
		<pubDate>Mon, 16 Jan 2012 14:40:26 +0000</pubDate>
		<dc:creator>James</dc:creator>
				<category><![CDATA[Featured Maps]]></category>
		<category><![CDATA[Resources]]></category>
		<category><![CDATA[Visualisation]]></category>
		<category><![CDATA[comparison]]></category>
		<category><![CDATA[how big is it]]></category>
		<category><![CDATA[infographic]]></category>
		<category><![CDATA[London]]></category>
		<category><![CDATA[maps]]></category>
		<category><![CDATA[size of wales]]></category>
		<category><![CDATA[subway]]></category>
		<category><![CDATA[tokyo]]></category>

		<guid isPermaLink="false">http://spatialanalysis.co.uk/?p=3388</guid>
		<description><![CDATA[&#160; If I said a country was 1594719800 metres squared it would mean a lot less to you than if I said it was about the size of Greater London (so long as you know about how big Greater London is). For this reason the media tend to report the extent of a flood in ...]]></description>
			<content:encoded><![CDATA[<p>&nbsp;</p>
<p><a href="http://spatialanalysis.co.uk/wp-content/uploads/2012/01/units_of_area.png"><img class="alignnone  wp-image-3415" title="units_of_area" src="http://spatialanalysis.co.uk/wp-content/uploads/2012/01/units_of_area-922x1024.png" alt="" width="581" height="645" /></a></p>
<p>If I said a country was 1594719800 metres squared it would mean a lot less to you than if I said it was about the size of Greater London (so long as you know about how big Greater London is). For this reason the media tend to report the extent of a flood in relation to the size of the <a href="http://en.wikipedia.org/wiki/Isle_of_Wight">Isle of Wight</a> or Icebergs in relation to the size of Wales (or <a href="http://carbon-based-ghg.blogspot.com/2010/02/giant-antarctic-iceberg-could-affect.html">Luxembourg</a>) so that we can imagine the extent and scale of a disaster or news story. Despite plenty of <a href="http://www.guardian.co.uk/media/mind-your-language/2010/may/17/mind-your-language-david-marsh">comment</a> on how ridiculous such comparisons are, and a <a href="http://www.simonkelk.co.uk/index-frames.html">great website</a> that will convert standard measurements into the fractions or multiples of the size of Wales, I am yet to see a mapped representation of our increasingly standard units of area. The one I produced above is not meant to be definitive, just a starting point to what I hope will be a new system to replace the frankly inadequate* <a href="http://en.wikipedia.org/wiki/Metric_system">metric measures</a> we are used to.</p>
<p>A much more effective alternative to simply stating an area in terms of its relative size to another area is of course to produce a map.  Geographically correct maps contain most of this information in the first place but they aren&#8217;t much good if you want to compare two things at either ends of the World or even the <a href="http://sciencenetlinks.com/interactives/messenger/psc/PlanetSize.html">Solar System</a>. With loads of mapping data online it is now easy to start shifting things around and laying them on top of each other in the same way the BBC&#8217;s <a href="http://howbigreally.com/">How Big Really</a>? website does.</p>
<p><a href="http://howbigreally.com/"><img title="flood_comp" src="http://spatialanalysis.co.uk/wp-content/uploads/2012/01/flood_comp.png" alt="" width="568" height="321" /></a></p>
<p>This is fine if you want to compare a couple of things, but the map gets messy if you want to do more than that. For more complex comparisons you need to start with a fresh map (be careful of the <a href="http://spatialanalysis.co.uk/2011/03/flattening-the-earth/">projection</a>) and shifitng everything around to fit on a single page. Doing this can have a big impact as Kai Krause did with his &#8220;<a href="http://flowingdata.com/2010/10/18/true-size-of-africa/" target="_blank">True Size of Africa</a>&#8221; map.</p>
<p><img title="image2" src="http://spatialanalysis.co.uk/wp-content/uploads/2010/12/image21-1024x724.jpg" alt="" width="553" height="391" /></p>
<div> Such maps can be particularly effective when comparing the size and shape of cities to each other&#8230;</div>
<div><a href="http://oliverobrien.co.uk/2011/11/the-relative-urban-footprint-of-tokyo-and-london/"><img title="toky_london" src="http://spatialanalysis.co.uk/wp-content/uploads/2012/01/toky_london.jpg" alt="" width="576" height="698" /></a></div>
<p>&#8230;sparsely populated areas (UK Cities on top of the Highland region of Scotland by <a href="http://undertheraedar.blogspot.com/2011/10/how-big-is-london.html">Alasdair Rae</a>)&#8230;</p>
<p><a href="http://undertheraedar.blogspot.com/2011/10/how-big-is-london.html"><img class="alignnone  wp-image-3433" title="uk_city_size_grey_highland" src="http://spatialanalysis.co.uk/wp-content/uploads/2012/01/uk_city_size_grey_highland-1011x1024.png" alt="" width="546" height="553" /></a></p>
<p>&#8230;and their transport systems such as subways (by <a href="http://fakeisthenewreal.org/subway/" target="_blank">Neil Freeman</a>)</p>
<p><a href="http://fakeisthenewreal.org/subway/"><img title="subway_comp" src="http://spatialanalysis.co.uk/wp-content/uploads/2012/01/subway_comp.png" alt="" width="563" height="366" /></a></p>
<p>and cycle hire schemes (by <a href="http://oliverobrien.co.uk/2012/01/a-glimpse-of-bike-share-geographies-around-with-world/" target="_blank">Oliver O&#8217;Brien</a>).</p>
<p><a href="http://oliverobrien.co.uk/2012/01/a-glimpse-of-bike-share-geographies-around-with-world/"><img class="alignnone  wp-image-3398" title="bikes_comp" src="http://spatialanalysis.co.uk/wp-content/uploads/2012/01/bikes_comp.png" alt="" width="576" height="815" /></a></p>
<p>I think they offer a new perspective on the world and use maps as more abstract forms of information visualisation, so lets hope we see them more often to accompany the usual descriptive &#8220;relative to Wales&#8221; statements.</p>
<p>*I don&#8217;t seriously mean this.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://spatialanalysis.co.uk/2012/01/power-comparison/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>The Size of the UK Government Estate</title>
		<link>http://spatialanalysis.co.uk/2012/01/size-uk-government-estate/</link>
		<comments>http://spatialanalysis.co.uk/2012/01/size-uk-government-estate/#comments</comments>
		<pubDate>Fri, 13 Jan 2012 10:50:09 +0000</pubDate>
		<dc:creator>James</dc:creator>
				<category><![CDATA[Britain]]></category>
		<category><![CDATA[Visualisation]]></category>

		<guid isPermaLink="false">http://spatialanalysis.co.uk/?p=3373</guid>
		<description><![CDATA[Yesterday the government released data about the size of the central civil estate. The infographic shows this (green box) compared to well-known geographic features in Britain. The government press release stated that the data are a snapshot of the estate and shows that at 1 September 2011: the estate covered by this data is 16, 411, 676 ...]]></description>
			<content:encoded><![CDATA[<p><a href="http://spatialanalysis.co.uk/wp-content/uploads/2012/01/govt_building.png"><img class="alignnone  wp-image-3377" title="govt_building" src="http://spatialanalysis.co.uk/wp-content/uploads/2012/01/govt_building-1024x938.png" alt="" width="573" height="525" /></a></p>
<p>Yesterday the government <a href="http://www.cabinetoffice.gov.uk/news/government-saves-more-100-million-property-financial-year">released data</a> about the size of the central <a href="http://en.wikipedia.org/wiki/Public_estate_in_the_United_Kingdom">civil estate</a>. The infographic shows this (green box) compared to well-known geographic features in Britain. The government press release stated that the data are a snapshot of the estate and shows that at 1 September 2011:</p>
<ul>
<li>the estate covered by this data is 16, 411, 676 sq m – almost six times the City of London. This does not include the wider public sector estate or parts of Central Government’s operational estate – such as NHS buildings or schools;</li>
<li>this is spread across 13,911 different property holdings;</li>
<li>almost one fifth of the estate is in London (17.4%);</li>
<li>40% of the estate is office space, the estate also includes 40 laboratories and 18 museums; and</li>
<li>there are 552 vacant property holdings – where possible, these will be marketed and either sub-let or sold, generating income for taxpayers.</li>
</ul>
<p>To add some more stats it works out at 180 times larger than the <a href="http://en.wikipedia.org/wiki/The_O2_Arena_(London)">O2 Arena</a>, 4.5 times smaller than <a href="http://en.wikipedia.org/wiki/Loch_lomond">Loch Lomond</a> and 23 times smaller than the <a href="http://en.wikipedia.org/wiki/Isle_of_wight">Isle of Wight</a>. So there we are&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://spatialanalysis.co.uk/2012/01/size-uk-government-estate/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Coming of Age: R and Spatial Data Visualisation</title>
		<link>http://spatialanalysis.co.uk/2012/01/coming-age-spatial-data-visualisation/</link>
		<comments>http://spatialanalysis.co.uk/2012/01/coming-age-spatial-data-visualisation/#comments</comments>
		<pubDate>Tue, 10 Jan 2012 14:45:57 +0000</pubDate>
		<dc:creator>James</dc:creator>
				<category><![CDATA[R Spatial Tips]]></category>
		<category><![CDATA[Resources]]></category>
		<category><![CDATA[Visualisation]]></category>
		<category><![CDATA[dataviz]]></category>
		<category><![CDATA[R]]></category>
		<category><![CDATA[spatial data]]></category>

		<guid isPermaLink="false">http://spatialanalysis.co.uk/?p=3354</guid>
		<description><![CDATA[I have been using R (a free statistics and graphics software package) now for the past four years or so and I have seen it become an increasingly powerful method of both analysing and visualising spatial data. Crucially, more and more people are writing accessible tutorials (see here) for beginners and intermediate users and the development ...]]></description>
			<content:encoded><![CDATA[<p><a href="http://spatialanalysis.co.uk/2011/03/global-migration-maps/"><img class="alignnone  wp-image-2317" title="global_migration_sm" src="http://spatialanalysis.co.uk/wp-content/uploads/2011/03/global_migration_sm1-1024x430.png" alt="" width="553" height="232" /></a></p>
<p>I have been using <a href="http://www.r-project.org/" target="_blank">R </a>(a free statistics and graphics software package) now for the past four years or so and I have seen it become an increasingly powerful method of both analysing and visualising spatial data. Crucially, more and more people are writing accessible tutorials (<a href="http://spatialanalysis.co.uk/r/" target="_blank">see here</a>) for beginners and intermediate users and the development of packages such as <a href="http://had.co.nz/ggplot2/" target="_blank">ggplot2</a> have made it simpler than ever to produce fantastic graphics. You don&#8217;t get the interactivity you would with conventional GIS software such as ArcGIS when you produce the visualisation but you are much more flexible in terms of the combinations of plot types and the ease with which they can be combined. It is, for example, <a href="http://mappingcenter.esri.com/index.cfm?fa=ask.answers&amp;q=2199" target="_blank">time consuming</a> to produce multivariate symbols (such as those varying in size and colour) in <a href="http://www.esri.com/" target="_blank">ArcGIS</a> but with R it is as simple* as one line of code. I have, for example, been able to add subtle transitions in the lines of the migration map above.  Unless you have massive files, plotting happens quickly and can be easily saved to vector formats for tweaking in a graphics package.</p>
<p><a href="http://spatialanalysis.co.uk/2011/10/mapping-academic-tweets/"><img class="alignnone  wp-image-3075" title="journal_tweets_point" src="http://spatialanalysis.co.uk/wp-content/uploads/2011/10/journal_tweets_point-1024x483.png" alt="" width="553" height="261" /></a></p>
<p>R&#8217;s utilisation has been tempered by its relatively sparse documentation and challenging usability. The R community is increasingly aware of this with packages such as <a href="http://blog.fellstat.com/?p=89" target="_blank">DeducerSpatial </a>providing a graphical user interface to some of R&#8217;s spatial data functionality. More and more tutorials are appearing and people have been inspired by some high profile maps made with R (<a href="http://www.facebook.com/note.php?note_id=469716398919" target="_blank">see here</a>) so I am confident that it will be increasingly seen as the engine for slightly glossier analysis and visualisation packages.</p>
<p><a href="http://spatialanalysis.co.uk/2011/02/mapping-londons-population-change-2011-2030/"><img class="alignnone  wp-image-2205" title="london_pop_change" src="http://spatialanalysis.co.uk/wp-content/uploads/2011/02/london_pop_change1.png" alt="" width="541" height="371" /></a></p>
<p>R can&#8217;t do everything- I find handling map projections a bit tricky and its not possible to pan and zoom the maps as they are being created. In some circumstances I can&#8217;t do without these functions so I opt for a traditional GIS. Also, for the programmers out there used to the likes of <a href="http://python.org/" target="_blank">Python</a> and <a href="http://docs.oracle.com/javase/tutorial/" target="_blank">Java</a>, R can have quite a few quirks in its syntax so be patient. Despite it&#8217;s flaws, if you have a large data processing and visualisation task R is a great option. It offers a high degree of flexibility in terms of input data formats and with packages such as <a href="http://cran.r-project.org/web/packages/twitteR/" target="_blank">twitteR</a>, <a href="http://cran.r-project.org/web/packages/RCurl/index.html" target="_blank">RCurl</a>, and <a href="http://cran.r-project.org/web/packages/XML/index.html" target="_blank">XML</a> it is easier than ever to import online data sources from social media sites and data feeds.  Aside from traditional export formats for the visualisations it has become incredibly simple to export interactive and animated graphics using the <a href="http://spatialanalysis.co.uk/2011/01/r-interface-to-google-chart-tools/" target="_blank">googleVIS</a> package or <a href="http://igraph.sourceforge.net/" target="_blank">igraph</a> for network visualisations. Such flexibility is invaluable if you are seeking to create a variety of different graphics from a single datasource without having to format it for multiple software packages. The great thing with R is the sense that it still has masses of unrealised potential for  future spatial data visualizations. If you know of any good visualisations or tutorials please leave a comment!</p>
<p>I should also say that if you would like to learn how to do these sorts of visualisations (and more!) come and do our <a href="http://www.bartlett.ucl.ac.uk/casa/programmes/postgraduate/mres-advanced-spatial-analysis-visualisation">masters course</a>!</p>
<p><em>*simple might be a slightly optimistic way of thinking about it if you haven&#8217;t used R before, but with a <a href="http://spatialanalysis.co.uk/r/" target="_blank">bit of practice</a> you will ge there! </em></p>
]]></content:encoded>
			<wfw:commentRss>http://spatialanalysis.co.uk/2012/01/coming-age-spatial-data-visualisation/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Mapped: Christmas Around the World</title>
		<link>http://spatialanalysis.co.uk/2011/12/mapped-christmas-world/</link>
		<comments>http://spatialanalysis.co.uk/2011/12/mapped-christmas-world/#comments</comments>
		<pubDate>Tue, 20 Dec 2011 23:42:14 +0000</pubDate>
		<dc:creator>James</dc:creator>
				<category><![CDATA[Featured Maps]]></category>
		<category><![CDATA[Visualisation]]></category>
		<category><![CDATA[christmas]]></category>
		<category><![CDATA[Map]]></category>

		<guid isPermaLink="false">http://spatialanalysis.co.uk/?p=3324</guid>
		<description><![CDATA[It would be a shame to end the year without a festive map! Jack Harrison (@jacksfeed) is studying for a research masters in &#8220;Advanced Spatial Analysis and Visualisation&#8221; at UCL. I teach on the course and it obviously hasn&#8217;t worked Jack hard enough this term as he has had time to slack off and produce ...]]></description>
			<content:encoded><![CDATA[<p><a href="http://thinkspatiallyhost.files.wordpress.com/2011/12/christmas-around-the-world2.png"><img class="alignnone  wp-image-3327" title="christmas-around-the-world" src="http://spatialanalysis.co.uk/wp-content/uploads/2011/12/christmas-around-the-world-1024x519.png" alt="" width="553" height="280" /></a></p>
<p>It would be a shame to end the year without a festive map!<a href="http://thinkspatially.net/" target="_blank"> Jack Harrison</a> (<a href="https://twitter.com/#!/jacksfeed" target="_blank">@jacksfeed</a>) is studying for a research masters in <a href="http://www.bartlett.ucl.ac.uk/casa/programmes/postgraduate/mres-advanced-spatial-analysis-visualisation" target="_blank">&#8220;Advanced Spatial Analysis and Visualisation</a>&#8221; at <a href="http://www.ucl.ac.uk/">UCL</a>. I teach on the course and it obviously hasn&#8217;t worked Jack hard enough this term as he has had time to slack off and produce this great map of Christmas festivities based on information from Wikipedia. As with all good maps, it speaks for itself and I think it is a great way of showing the difference in celebrations, especially as the Anglo-American view of Christmas is (unsurprisingly) so dominant. It also serves as a splendid last post on the blog for this year. Merry Christmas, and see you in 2012!</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://spatialanalysis.co.uk/2011/12/mapped-christmas-world/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>My Academic Research: What&#8217;s in a Name?</title>
		<link>http://spatialanalysis.co.uk/2011/12/name/</link>
		<comments>http://spatialanalysis.co.uk/2011/12/name/#comments</comments>
		<pubDate>Fri, 16 Dec 2011 10:00:29 +0000</pubDate>
		<dc:creator>James</dc:creator>
				<category><![CDATA[Resources]]></category>
		<category><![CDATA[Surnames]]></category>
		<category><![CDATA[Clustering]]></category>
		<category><![CDATA[europe]]></category>
		<category><![CDATA[geodemographics]]></category>
		<category><![CDATA[Great Britain]]></category>
		<category><![CDATA[lasker]]></category>
		<category><![CDATA[nei]]></category>
		<category><![CDATA[population genetics]]></category>
		<category><![CDATA[Surname]]></category>
		<category><![CDATA[UCL]]></category>
		<category><![CDATA[worldnames]]></category>

		<guid isPermaLink="false">http://spatialanalysis.co.uk/?p=3309</guid>
		<description><![CDATA[I have spent the last few years investigating the geography of family names (also called surnames). I work with the team who assembled the UCL Department of Geography Worldnames Database that contains the names and geographic locations of over 300 million people in nearly 30 countries (a few of these are yet to be added to the website). My research has ...]]></description>
			<content:encoded><![CDATA[<p><a href="http://spatialanalysis.co.uk/wp-content/uploads/2011/12/europe_surnames.png"><img class="alignnone  wp-image-2351" title="euro_consensus_pam14_final" src="http://spatialanalysis.co.uk/wp-content/uploads/2011/12/europe_surnames.png" alt="" width="576" height="399" /></a></p>
<p>I have spent the last few years investigating the geography of family names (also called surnames). I work with the team who assembled the UCL Department of Geography <a href="http://worldnames.publicprofiler.org/Main.aspx" target="_blank">Worldnames Database</a> that contains the names and geographic locations of over 300 million people in nearly 30 countries (a few of these are yet to be added to the website). My research has focussed on the 152 million or so people we have data for in Europe and they all come from publicly available telephone directories or electoral rolls. I also had access to a historical dataset for Great Britain in the form of the 1881 census.  I have tried to answer two questions:</p>
<p>1. Is it possible to approximately establish the origin of a surname based on its modern day geographic distribution?</p>
<p>2. Are particular surnames more likely to be found together and if so do they form distinct geographic regions?</p>
<p>In the past surname research has involved  lot of manual work to create a detailed history of a particular name. With so many surnames in the database I had to think of some automated ways to do this computationally. The patterns I produce are much more generalised than the manual work- I find broad patterns rather than specific genealogical facts- but they provide useful context for population genetics, migration, historical geography and demography. If you want to find out more about this research here are titles for the papers I have had published in academic journals:</p>
<p><a href="http://discovery.ucl.ac.uk/1319496/">The Surname Regions of Great Britain.</a></p>
<p><a href="http://discovery.ucl.ac.uk/1301100/">Creating a Regional Geography of Great Britain Through the Spatial Analysis of Surnames</a>.</p>
<p><a href="http://discovery.ucl.ac.uk/1326357/">Identifying Spatial Concentrations of Surnames.</a></p>
<p><a href="http://discovery.ucl.ac.uk/1319497/">People of the British Isles: A Preliminary Analysis of Genotypes and Surnames in a UK Control Population.</a></p>
<p><a href="http://muse.jhu.edu/journals/human_biology/v083/83.5.cheshire.pdf">Delineating Europe&#8217;s Cultural Regions: Population Structure and Surname Clustering.</a></p>
<p>For a full list see my UCL<a href="https://iris.ucl.ac.uk/research/personal?upi=JACHE16" target="_blank"> academic profile</a>. The left map at the top of the post is from the last paper I listed and shows how the surname regions vary across Europe. The map on the right shows how confident I am of the regions based on the number of times they emerge in the cluster analysis.</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://spatialanalysis.co.uk/2011/12/name/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>The Best of 2011</title>
		<link>http://spatialanalysis.co.uk/2011/12/2011/</link>
		<comments>http://spatialanalysis.co.uk/2011/12/2011/#comments</comments>
		<pubDate>Tue, 06 Dec 2011 14:00:39 +0000</pubDate>
		<dc:creator>James</dc:creator>
				<category><![CDATA[Featured Maps]]></category>
		<category><![CDATA[Visualisation]]></category>
		<category><![CDATA[best of 2011]]></category>
		<category><![CDATA[Collaboration]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[Map]]></category>
		<category><![CDATA[rivers]]></category>
		<category><![CDATA[Surnames]]></category>
		<category><![CDATA[universe]]></category>
		<category><![CDATA[xkcd projection]]></category>

		<guid isPermaLink="false">http://spatialanalysis.co.uk/?p=3248</guid>
		<description><![CDATA[As 2011 draws to a close it is worth reflecting on what, I think, has been a defining year for mapping and spatial analysis. Geographic data have become open, big, and widely available, leading to the production of new and interesting maps on an almost daily basis. The increasing utilisation of technology such as Google Fusion Tables has ...]]></description>
			<content:encoded><![CDATA[<p><a href="http://spatialanalysis.co.uk/wp-content/uploads/2011/12/2011_mapped_log.png"><img class="alignnone size-full wp-image-3258" title="2011_mapped_log" src="http://spatialanalysis.co.uk/wp-content/uploads/2011/12/2011_mapped_log.png" alt="" width="550" height="279" /></a></p>
<p>As 2011 draws to a close it is worth reflecting on what, I think, has been a defining year for mapping and spatial analysis. Geographic data have become open, big, and widely available, leading to the production of new and interesting maps on an almost daily basis. The increasing utilisation of technology such as <a href="http://www.google.com/fusiontables/Home/">Google Fusion Tables</a> has made it easier than ever to map data. Sadly the number of bad maps is on the increase as a result (largely thanks to the web&#8217;s preference for the Mercator projection and push-pins) and I hope things will improve (over to you Google!) next year. To inspire another year of mapping, and in no particular order, here is the spatialanalysis &#8220;Best of 2011&#8243;. The maps here have been popular, engaged users, innovated, and raised the bar for cartographic standards. I bet I have missed some so feel free to link to your best map in the comments section.</p>
<p><strong>Paul Butler&#8217;s Facebook Connections Map</strong></p>
<p><a href="http://www.facebook.com/note.php?note_id=469716398919"><img class="alignnone size-full wp-image-3265" title="facebook" src="http://spatialanalysis.co.uk/wp-content/uploads/2011/12/facebook.png" alt="" width="530" height="264" /></a></p>
<p>This just sneaks in as it was produced in December 2010. The map is important for what it doesn&#8217;t show (most of Africa for example) rather than what it does. It has served as an inspiration for many others, and raised the bar in terms of the detail and extent of social media mapping.</p>
<p><strong>National Geographic Surnames Map</strong></p>
<p><a href="http://spatialanalysis.co.uk/2011/01/whats-in-a-surname/"><img class="alignnone size-full wp-image-2008" title="NG_Surnames" src="http://spatialanalysis.co.uk/wp-content/uploads/2011/01/NG_Surnames1.jpg" alt="" width="558" height="406" /></a></p>
<p>&nbsp;</p>
<p>I think the <a href="http://spatialanalysis.co.uk/2011/01/whats-in-a-surname/" target="_blank">National Geographic Surnames Map</a> is one of an increasing number of brilliant <a href="http://spatialanalysis.co.uk/2011/01/typographic-maps/" target="_blank">typographic maps</a> that have been produced in the past year.  Typographic maps can show many variables (using colour, font size etc) and are often instantly engaging. This one was especially popular alongside its &#8220;sister&#8221; map of <a href="http://spatialanalysis.co.uk/2011/01/mapping-londons-surnames/" target="_blank">London Surnames</a>.</p>
<p><strong>Galaxy Survey Fly Through</strong><strong> </strong></p>
<p><iframe src="http://player.vimeo.com/video/24906175" width="496" height="496" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></p>
<p>I really like this video as it serves to demonstrate just how vast the universe is. I spend my life mapping a few things over relatively small geographic areas and there is plenty for me to do. We have barely even started mapping the universe and I think this video captures the immensity of the undertaking.</p>
<p><strong>iPhone Tracker</strong></p>
<p><iframe src="http://player.vimeo.com/video/22608787" width="500" height="375" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></p>
<p style="text-align: left;">This map is not featured for its cartographic brilliance but for its unveiling of the volume of data our electronic devices, in this case iPhones, are capable of collecting. It served as a wake up call for many that data about our locations are collected all the time and it is easy to track where you have been.</p>
<p style="text-align: left;"><strong>Fedex Cartograms</strong></p>
<p style="text-align: left;"><a href="http://experience.fedex.com/gb/en/"><img class="alignnone size-full wp-image-3263" title="fedex_carto_gdp" src="http://spatialanalysis.co.uk/wp-content/uploads/2011/12/fedex_carto_gdp.png" alt="" width="499" height="281" /></a></p>
<p><a href="http://spatialanalysis.co.uk/2009/10/cartograms/" target="_blank">Cartograms</a> are becoming an increasingly popular way of mapping population data. I don’t have a problem with advertising so long as it is informative as well. I think these maps tick the box as they provide the best animations I have seen of cartograms morphing from one dataset to the other so I’m happy to give fedex a plug for this one.</p>
<p><strong>Naming Rivers</strong></p>
<p><a href="http://spatialanalysis.co.uk/2011/08/naming-rivers-and-places/"><img class="alignnone size-large wp-image-2985" title="dwatkins_rivers_us" src="http://spatialanalysis.co.uk/wp-content/uploads/2011/08/dwatkins_rivers_us-1024x835.png" alt="" width="498" height="406" /></a></p>
<p><a href="http://spatialanalysis.co.uk/2011/08/naming-rivers-and-places/" target="_blank">The &#8220;Naming Rivers&#8221; map</a> shows how different cultural and linguistic factors have influenced the naming of geographic features in the US. We talk about how we live in a &#8220;world without borders&#8221; but this plainly isn&#8217;t true as things we encounter on a daily basis are still influenced by the uneven movements of various populations over time.</p>
<p><strong>Scientific Collaboration</strong></p>
<p><a href="http://collabo.olihb.com/"><img class="alignnone size-full wp-image-2118" title="scientific_collab" src="http://spatialanalysis.co.uk/wp-content/uploads/2011/01/scientific_collab1.jpg" alt="" width="518" height="259" /></a></p>
<p>This map, inspired by the Facebook connections map (above), demonstrates the dominance of a few countries within the scientific literature and the limited collaborations between a few countries. This pattern is seen in many datasets and is another illustration that  “global” is often only a minority of countries.</p>
<p><strong>Eric Fischer&#8217;s Twitter Language Map</strong></p>
<p><a href="http://www.flickr.com/photos/walkingsf/6276642489/"><img class="alignnone size-full wp-image-3278" title="twitter_language" src="http://spatialanalysis.co.uk/wp-content/uploads/2011/12/twitter_language.jpg" alt="" width="491" height="346" /></a></p>
<p>I really liked these maps both for their cartography but also for their demonstration that linguistic and national borders can be seen online as well. There has also been a tendency for fine scale mapping of Twitter data so it is nice to get a global perspective.</p>
<p><strong>ITO 10 Years of Road Casualties UK (and US)</strong></p>
<p><a href="http://map.itoworld.com/"><img class="alignnone size-large wp-image-3264" title="ito_road" src="http://spatialanalysis.co.uk/wp-content/uploads/2011/12/ito_road-1024x505.png" alt="" width="502" height="248" /></a></p>
<p>As I was writing this, the BBC have launched <a href="http://news.bbc.co.uk/1/hi/8401344.stm" target="_blank">their own</a> visualisations with this depressing data. It is often said that in the context of modern health and safety standards the car would never have been allowed. With maps such as the above it is easy to see why. ITO World have tried to be more intelligent with their use of icons- they have moved beyond the simple &#8220;pins on maps&#8221; we often see. It doesn&#8217;t work so well at the regional level, but as you zoom in clear accident hotspots unfortunately emerge.</p>
<p><strong>NOAA Japanese Tsunami Wave Height</strong></p>
<p><a href="http://www.nnvl.noaa.gov/MediaDetail.php?MediaID=680&amp;MediaTypeID=1"><img class="alignnone size-full wp-image-3262" title="noaa_tsunami" src="http://spatialanalysis.co.uk/wp-content/uploads/2011/12/noaa_tsunami.jpg" alt="" width="475" height="317" /></a></p>
<p>This year saw a devastating earthquake and subsequent tsunami hit Japan. <a href="http://www.noaa.gov/" target="_blank">NOAA </a>produced a series of excellent maps and visualisations to help chart and explain the events. The map shows likely tsunami wave heights. I found it interesting as it shows both the extent of the waves and the way in which they appear as tentacles circling Earth.</p>
<p><strong>BBC Brief History of Time Zones</strong></p>
<p><a href="http://www.bbc.co.uk/news/world-12849630"><img class="alignnone size-full wp-image-3266" title="time_zone" src="http://spatialanalysis.co.uk/wp-content/uploads/2011/12/time_zone.png" alt="" width="477" height="272" /></a></p>
<p>&nbsp;</p>
<p>Good maps help to educate and I found the above interactive globe from the BBC a really great way to learn about time zones. The BBC are becoming increasingly ambitious with their maps and I think they have excelled themselves with this one.</p>
<p><strong>xkcd&#8217;s What Your Favourite Map Projection Says About You</strong></p>
<p><a href="http://xkcd.com/977/"><img class="alignnone size-full wp-image-3276" title="xkcd_map_projection" src="http://spatialanalysis.co.uk/wp-content/uploads/2011/12/xkcd_map_projection.png" alt="" width="520" height="1592" /></a></p>
<p>This captures the different opinions on some of the many map projections perfectly. You may have gathered from the opening lines of this post that projections are really important and often considered too complicated to bother with. I’m all for the Winkel-Tripel although I can’t claim to have been a fan before the National Geographic adopted it, as I would have been too young to care at the time.</p>
]]></content:encoded>
			<wfw:commentRss>http://spatialanalysis.co.uk/2011/12/2011/feed/</wfw:commentRss>
		<slash:comments>15</slash:comments>
		</item>
		<item>
		<title>Just how far can the Tube take you?</title>
		<link>http://spatialanalysis.co.uk/2011/11/tube-you/</link>
		<comments>http://spatialanalysis.co.uk/2011/11/tube-you/#comments</comments>
		<pubDate>Tue, 22 Nov 2011 17:00:35 +0000</pubDate>
		<dc:creator>James</dc:creator>
				<category><![CDATA[Featured Maps]]></category>
		<category><![CDATA[London]]></category>
		<category><![CDATA[Popular]]></category>
		<category><![CDATA[Visualisation]]></category>
		<category><![CDATA[london underground]]></category>
		<category><![CDATA[TFL]]></category>
		<category><![CDATA[travel]]></category>
		<category><![CDATA[Tube]]></category>
		<category><![CDATA[World]]></category>

		<guid isPermaLink="false">http://spatialanalysis.co.uk/?p=3217</guid>
		<description><![CDATA[Transport for London have just released their performance data (link here) for the London Underground network. It is in the form of a really detailed file that contains, amongst other things, the &#8220;Peak Operated Kilometres&#8221; and &#8220;Peak Passenger Journeys&#8221; for the past 6 years or so. If you total the distances covered by the Tube ...]]></description>
			<content:encoded><![CDATA[<p><a href="http://mappinglondon.blogweb.casa.ucl.ac.uk/files/2011/11/tube_great_circle1.png"><img class="alignnone size-large wp-image-3221" title="tube_great_circle" src="http://spatialanalysis.co.uk/wp-content/uploads/2011/11/tube_great_circle1.png" alt="" width="614" height="467" /></a></p>
<p>Transport for London have just released their performance data (<a href="http://www.tfl.gov.uk/corporate/modesoftransport/londonunderground/1592.aspx" target="_blank">link here</a>) for the London Underground network. It is in the form of a really detailed file that contains, amongst other things, the &#8220;Peak Operated Kilometres&#8221; and &#8220;Peak Passenger Journeys&#8221; for the past 6 years or so. If you total the distances covered by the Tube rolling stock at <a href="http://visitorshop.tfl.gov.uk/help-centre/ticket-comparison.html" target="_blank">peak times</a>, this map shows how far they travel each day. The Central Line wins with over 13,000km &#8211; the equivalent of almost reaching Australia! In humble last place is the Waterloo and City Line that just passes Dublin with a little over 500km travelled. There are many more cool things to be done with the data, but I thought this is a neat way of showing the gargantuan task of shifting London commuters!</p>
]]></content:encoded>
			<wfw:commentRss>http://spatialanalysis.co.uk/2011/11/tube-you/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>OpenStreetMap: 5 Years of Mapping London</title>
		<link>http://spatialanalysis.co.uk/2011/11/openstreetmap-3-years-mapping-london/</link>
		<comments>http://spatialanalysis.co.uk/2011/11/openstreetmap-3-years-mapping-london/#comments</comments>
		<pubDate>Sat, 12 Nov 2011 15:58:40 +0000</pubDate>
		<dc:creator>James</dc:creator>
				<category><![CDATA[London]]></category>
		<category><![CDATA[Visualisation]]></category>
		<category><![CDATA[edits]]></category>
		<category><![CDATA[ITO World]]></category>
		<category><![CDATA[OSM]]></category>

		<guid isPermaLink="false">http://spatialanalysis.co.uk/?p=3208</guid>
		<description><![CDATA[This week I am giving a talk on some of the London maps that we produce in CASA. The hours of work I put in to such maps is minuscule compared to the amount of effort and time that the OpenStreetMap community have invested in producing a truly open (and often more accurate) map of London (and the ...]]></description>
			<content:encoded><![CDATA[<p><iframe src="http://player.vimeo.com/video/31912114" width="500" height="281" frameborder="0" webkitAllowFullScreen allowFullScreen></iframe></p>
<p>This week I am giving <a href="http://londonist.com/2011/11/london-maps-the-magical-the-methodical-and-the-multifaceted.php">a talk</a> on some of the London maps that we produce in <a href="http://www.bartlett.ucl.ac.uk/casa">CASA</a>. The hours of work I put in to such maps is minuscule compared to the amount of effort and time that the <a href="http://www.openstreetmap.org/">OpenStreetMap</a> community have invested in producing a truly open (and often more accurate) map of London (and the rest of the world). To give an idea of just how far the project has come over the past five years or so, <a href="http://www.itoworld.com/">ITO World</a> have produced a great visualisation (above).</p>
<p>As a bonus ITO World have also produced a similar visualisation for Berlin, Germany.</p>
<p><iframe src="http://player.vimeo.com/video/31910541" width="500" height="281" frameborder="0" webkitAllowFullScreen allowFullScreen></iframe></p>
<p>Thanks to <a href="http://twitter.com/#!/petzlux">Patrick Webber</a> for the tip off about these.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://spatialanalysis.co.uk/2011/11/openstreetmap-3-years-mapping-london/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

