Buffer analysis from UK postcodes with ArcGIS 10.0

2012-10-18

Buffer Analysis creates buffer polygons to a specified distance around the Input Features. Because at most of time we treat a postcode as a point, its buffer analysis is more like a radius output.

If you want to check a buffer range with a specific postcode, here we have a free online tool (Radius from UK Postcode). Just input the postcode, buffer size or the radius of circle, and press 'plot', you will see the result.

Radius from UK Postcode is quite good, however, a buffer analysis with multi-postcodes will be more useful. For example, the district manager of Lloyds TSB bank wants to know the coverage of their banks in area SW of london with a given radius. How? Well, we don't have an online tool to make it yet, but with ESRI's ArcGIS, it can be quite easy.

In this article, I will use ArcGIS 10.0 to show you how to do the buffer analysis from multi-postcodes. ArcGIS 10.0 (as of writing, 10.1 is the latest) is not the latest version from ESRI, but it is powerful enough to handle buffer analysis. Actually buffer is a very basic GIS analysis, even the oldest version can do it. ArcGIS 10.0 comes with an amazing feature, which allows user to add a basemap from different remote data sources. This is a perfect function for our this analysis, for we will only just need to provide several postcodes' Latitude and Longitude.

Preparing Data

OK, let's start! First step, prepare data. Let's take the example above. Search keywords "lloyds TSB" in "london" by using our Postcode Finder tool, and it will be 24 results in SW, London (See picture above). Use "Convert UK Postcodes to Latitude and Longitude" to have each postcode's position. Save the results as below.

Postcode, Lat, Long, Radius
SW129AT, 51.4448, -0.1504, 500
SW151RG, 51.462653, -0.216695, 1000
......
SW61NY, 51.486, -0.1931, 1500
SW73JX, 51.492712, -0.176138, 800

Click to download this file.

Please note that radius values' unit is meter. If you want to give each postcode a differnt radius value/buffer distance during buffer analysis, you will have to project these points. Otherwise, ArcGIS can only give these points a same radius value/buffer distance.

Add basemap

Open ArcGIS, Choose "File" -> "Add data" -> "Add basemap"

Import postcodes

Choose "File" -> "Add data" -> "Add XY Data". Select the text file from your local, and DO give it a coordinate information, otherwise it won't show correctly on the map (See picture below). ArcGIS will give you a warning message that imported data doesn't have Object-ID, just click ok and we will solve this problem in next step. After click OK, you will see the points on Map.

Export postcodes to shapefile

Shapefile is a popular geospatial vector data format for geographic information systems software. Right click on the text layer, which we just imported, and choose "Data" -> "Export Data". Add the shapefile to layers after export.

Buffer

Choose "Geoprocessing" -> "Buffer" (Or you can find this tool in ArcToolbox). Select the shapefile layer as "Input Features", then input the buffer range "Distance" or select one defined field.

Only a few seconds, you will have the result. Below is the result based on 1000 meters radius (left picture) and that based on the field "Radius" (right picture).

Conclusions

Instruction above can teach you how to make buffer from UK postcodes with ESRI's ArcGIS 10.0.

Pros:

  • 1. No other GIS files needed.
  • 2. Capable of handling thousands of postcode points.
  • Cons:

  • 1. ArcGIS is a good tool for buffer/radius analysis, but not a cheap solution. (There is quite a few free GIS softwares, but not 100% sure if they can do them same thing.)