• Stars
    star
    283
  • Rank 146,066 (Top 3 %)
  • Language
  • License
    Other
  • Created about 10 years ago
  • Updated over 7 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

GeoJSON versions of UK Boundary Data

UPDATE - 7/12/16

The new ONS geoportal now has easily downloadable GeoJSON versions of boundary data. It may be easier to find more up to date data there than using the versions in this repository.

I'll continue to keep this repo as up to date as I can, as currently the ONS is not providing TopoJSON versions of the boundaries, and also some NI data is found at other sources, so I think it's fairly useful to keep a repo with the whole of the UK data in one place

GeoJSON & TopoJSON collection of UK boundary data

This archive contains both GeoJSON and TopoJSON files of data for UK boundaries, ideal for creating choropleth maps of UK areas.

All data is converted from the generalised clipped boundaries provided by the Office of National Statistics, Ordnance Survey and Ordnance Survey of Northern Ireland. Data has been converted to GeoJSON from original shapefiles using ogr2ogr, then converted to TopoJSON using topojson.

Data is organised according to the geographical hierarchy to which it belongs (see below), then by area of the UK covered.

An easily browsable site, with links to downloadable topoJSON is available at http://martinjc.github.io/UK-GeoJSON/

Folder Structure

Data in the folders contains the following boundary information:

Folder Description
json/administrative areas broken down into Local Authority Districts (LAD) (Local Government District (LGD) in Northern Ireland)
json/electoral areas broken down into European Electoral Regions (EER), Westminster Parliamentary Constituencies (WPC), and Electoral Wards. Also contains data files for Wards and Westminster Parliamentary Constituencies collected by Local Authority District. Contains Scottish Parliamentary Constituencies and Scottish Parliamentary Regions for Scotland and Welsh Assembly Constituencies and Welsh Assembly Regions for Wales. Contains Northern Ireland District Electoral Areas (DEA), also collected by Local Government District. Northern Ireland Assembly Area boundaries are analogous with NI Westminster Parliamentary Constituencies
json/eurostat Eurostat boundaries (NUTS level 1 & 2) for England, Scotland and Wales
json/statistical Statistical areas. Contains Output Areas, Lower Layer Super Output Areas, and Middle Layer Super Output Areas by LAD for England and Wales, and Output Areas gathered by LSOA and MSOA. Also contains Output Areas, Data Zones and Intermediate Data Zones by LAD for Scotland
csv For points rather than areas. Contains lat and lon for the stadium of every team who played in the EPL or won the top-flight

The naming convention for files depends on what data is present in the file.

  • A file containing all of one class of data for a region will be in a folder named for that region, with the file named for the class of data. So, for example, eng/wards.json contains all the parliamentary wards for England.
  • Data grouped by a sub-class will be in a folder describing the grouping, in a file named for the ID of the sub-class. So, for example, eng/wards_by_lad contains data files describing Parliamentary Wards, grouped by Local Authority District. eng/wards_by_lad/E06000001.json contains the Parliamentary Wards for Hartlepool.
  • a topo_ prefix denotes that the file contains TopoJSON. No prefix denotes GeoJSON.

Anyone interested in the hierarchical structure of geographical data in the UK should take a look at the very good infographics provided by the ONS: http://geoportal.statistics.gov.uk/datasets?q=Hierarchical+Representation+of+UK+Statistical+Geographies&sort_by=name&sort_order=asc

Licence Information


Contains Ordnance Survey, Office of National Statistics, National Records Scotland and LPS Intellectual Property data © Crown copyright and database right [2016]. Data licensed under the terms of the Open Government Licence (http://www.nationalarchives.gov.uk/doc/open-government-licence/version/3). Ordnance Survey data covered by OS OpenData Licence. Any further sub-licences must retain this attribution.

More Repositories

1

DjangoTweepy

An example Django project using Tweepy to authorise with Twitter via OAuth
Python
27
star
2

mfp-scraper

Python
8
star
3

foursquare_icons

Python
6
star
4

DjangoFoursq

A basic bare-bones Django project + app for logging into Foursquare using OAuth
Python
4
star
5

Leakage

Leaking all over it.
Python
4
star
6

programming-intro

An introductory programming course at a very high level and using general concepts, for use in CMT119 Computational Thinking
SCSS
4
star
7

CM3202-FoursquareMapExample

JavaScript
3
star
8

assembly-expenses-scraper

A selenium based scraper for Welsh Assembly Members public expenses record
Python
3
star
9

ssi-rdvw-07-2016

My resources for the Software Sustainability Institute "Research Data Visualisation Workshop" on 28/07/2016 in Manchester, UK
CSS
3
star
10

introduction-to-html-and-css

A set of notes introducing HTML and CSS
HTML
2
star
11

djangoLastFMAuth

A basic django site handling last.fm authentication
Python
2
star
12

rauth---fitbit-example

Example of using rauth to connect to OAuth protected web service
Python
2
star
13

TagExchangeModel

C++ backend to a Tag Exchange simulation. Nodes in some network share "tags" indicating content they are willing to share, eventually defining paths for content through the network. This project is on hold for now.
C++
2
star
14

tweetcues-exp

Source for a Twitter experiment asking users to complete a survey looking at how and which information influences their decisions on which tweets to read. Based on Django, using Tweepy.
2
star
15

compj-and-dataj-unconf

1
star
16

LastPY

Last.FM API library for python
Python
1
star
17

gitlab-issues

Tracking and exporting gitlab issues
Python
1
star
18

FoursqPy

API wrappers for Foursquare
1
star
19

untapped_cardiff

JavaScript
1
star
20

cmt112

Material for CMT112 Web Application Development
JavaScript
1
star
21

introduction-to-js

A short course introduction to JavaScript
JavaScript
1
star
22

cmt112-old

JavaScript
1
star
23

doctoral-academy-python-introduction

code and exercises for a short afternoon introduction to Python programming course
HTML
1
star
24

deckard

Auto tweeting thing using markov chains
Python
1
star
25

Foursquare-Alternative-Venue-Search-Tool

Python
1
star
26

CCG--Constituencies

lookup between NHS Clinical Commissioning Groups and Parliamentary Constituencies
Python
1
star
27

mfp_scraper

Selenium based scraper to extract personal data from MyFitnessPal.com
1
star
28

MediaMonitor

Python
1
star
29

LastVis

Code for our Last.FM visualisation project @cfhack - 10-11 March 2012 - Written by @martinjc and @docjaq
JavaScript
1
star
30

introduction-to-git

A really short introduction to git focused on motivation and basic usage
SCSS
1
star
31

pyconuk-2017-what-python-can-teach-us-about-beer

My talk for PyCon UK 2017 - 'What Python can teach us about Beer'
Jupyter Notebook
1
star
32

revokearticle50-maps

A couple of maps looking at the 'Revoke Article 50' petition data
HTML
1
star