Adding geography to all the bus stops in the NAPTAN dataset.
We used QGIS to add ONS codes to every NAPTAN bus stop for various geographies including:
- Wards (
wd18cd
) - Westminster Parliamentary Constituencies (
pcon17cd
) - Local Authority (
lad17cd
) - Upper Tier Local Authority (
utla11cd
) - NUTS3 region (
nuts318cd
)
The original NAPTAN data already included output area codes.
The NAPTAN data were added as a "Delimited Text Layer". The Shapefiles for each geography type were downloaded from the ONS Geoportal and included as layers. The attribute tables for each geography were added to the bus stops dataset using Vector->Data Management Tools->Join attributes by location
. The final layer was then saved as a CSV file with a limited set of columns included.