16

Is there a public shapefile containing the stations and lines of the London Underground? I've been doing some intensive searching but I can only find the coordinates of the stations, or the lines in way too much detail on OpenSteeetMap.

Ideally, I want each line to have a single track, not multiple like with OSM.

Devdatta Tengshe
  • 41,311
  • 35
  • 139
  • 263
Robin Hawkes
  • 1,035
  • 2
  • 9
  • 18

4 Answers4

15

Ordnance Survey's VectorMap District has a shapefile that contains Underground stations - it's within the "RailwayStation" file but you can filter on the "CLASSIFICA" field. The website is http://www.ordnancesurvey.co.uk/oswebsite/products/os-vectormap-district/index.html and the licence is based on the Open Government Licence http://www.ordnancesurvey.co.uk/oswebsite/opendata/licensing.html. The data is from March 2011 though so could be out of date! Unfortunately I can't see any line information in the OS open products.

6

TFL (Transport for London) do have a lot of data that is available for Developers, one of the datasets is Stattions Locations.

The website is here

http://www.tfl.gov.uk/businessandpartners/syndication/16492.aspx

I would read the T&Cs and check to find out if the data you need can be used for your application

tjmgis
  • 3,330
  • 1
  • 23
  • 37
3

There is also a github project with stats and data layers in geoJSON format

Github: Mapped-based data visualisations

Specifically the files here

sidonaldson
  • 131
  • 3
  • Could you please add more details to your answer, such as explaining what this project precisely does? – ArMoraer Apr 21 '16 at 15:24
  • @ArMoraer the project is irrelevant. The OP wanted a shapefile of London Underground station etc and this project has geoJSON that is IMO better than a shapefile. I've edited the answer to be more precise – sidonaldson Apr 22 '16 at 14:13
0

I have taken the .json from the previous comment (Github: Mapped-based data visualizations) and tried to get it into spatial object in geopandas, but I found that the station information is nested inside each feature.

So if anyone is still looking for a spatial file of London tube, I have extracted some of the information and cleaned it for use in GIS or graph and saved the file, along with the Python code to clean it on Github.

I do realise my cleaning process is not the most straightforward option, so if anyone has better way, let me know.

Lenka
  • 1
  • 1