Contact

info@theinformationlab.co.uk
t 08453 888 289

One Alfred Place
London
WC1E 7EB

Newsletter

Subscribe
« Budgets Vs Actuals – part I | Main | The secret of a long life, move to Kensington and Chelsea »
Wednesday
Nov032010

Poor mans geocoding

This is a great tip I received recently from Stephen McDaniel (http://www.freakalytics.com) on how to make Tableau recognise geographic locations which it does not know about by default.

For example, you may have a list of areas, regions, zones etc – anything which you consider to have a geographic position, but you may not know the latitude and longitude of this location.

In this example, I take two locations – DULWICH (my home) and ANGEL (my colleagues home) and plot them on a Tableau map.  Remember I do not know the latitude and longitude of these locations – but I do know their OUTCODE (the first part of the postcode – used in the UK).

STEP 1 – Add some data to Tableau – the data set I used is as follows:

Location Name       Sales Volume

DULWICH               28

ANGEL                    16

 

STEP 2 – Copy and paste the data into Tableau (see this post if you haven’t done this)

STEP 3 – Assign a geographic role to the field location name – I chose OUTCODE – (see this post if you don’t have outcode in your list)

 

image_thumb3_thumb

STEP 4 – Edit the locations – this is the bottom option in the fly out menu previously used – assigning an appropriate outcode to each of the locations names

image_thumb5_thumb

 

STEP 5 – Double click ‘Location name’ to draw your map

image_thumb7_thumb

 

Easy! – If you are interested in mapping in Tableau, please read my other post here:

5 minute mapping

And an excellent (jedi level) post from clearly and simply here

Reader Comments (2)

Tom great tip thanks for passing it on cheers brett

November 5, 2010 | Unregistered Commenterbrett

Tom,

nice quick tip. Thanks for the link to my blog.

Robert

November 5, 2010 | Unregistered CommenterRobert

PostPost a New Comment

Enter your information below to add a new comment.

My response is on my own website »
Author Email (optional):
Author URL (optional):
Post:
 
Some HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>