Skip to content

Saukkoriipi/StationsPopulation

Repository files navigation

Population in Helsinki metropolitan area years 1997 to 2019

Introduction

This project has been done as a final work for the course Automating GIS-processes (University of Helsinki, 2020). The project aim was to study population development in close range (max 500 meters) from metro and train stations.

In 2017 new metro line was opened (Länsimetro) and a new train line in 2015 (Kehärata). We can see from the results of how the building of new stations affects the population development in the vicinity of the new station.

You are free to use data and code presented in this project.

Results

Results are presented on the following page:
Link to Stations population 1997 to 2019

Data sources

Population data is downloaded from Helsingin seudun ympäristöpalvelut (HSY)
Link to population data

Metro and train rails are downloaded from OpenStreetMaps using osmnx
Link to osmnx
Link to OpenStreetMap

Stations names are from HSL
Link to HSL station names

Stations opening years are from Wikipedia
Link to Wikipedia

Stations location coordinates are from Google Maps
Link to Google Maps

Guide to notebooks

Use following sequence when running the notebooks

First use following notebooks to clean and modify data
  1. CreatePopulation.ipynb
  2. CreateStations.ipynb
  3. GetRailsData.ipynb
  4. CreatStationsPopulation.ipynb
Then visualize cleaned data
  1. CreateGraphsPopByStation.ipynb
  2. CreatePicsPopulation.ipynb
  3. CreatePicsStationsPopulation.ipynb
  4. CreateGifs.ipynb
  5. CreateBokeh.ipynb

Introduction to notebooks

CreatePopulation.ipynb

Read population data from folder population_data, clean data, join tables and save result as shapefile in same folder.

CreateStations.ipynb

Read stations data from folder stations_data, clean data and save result as shapefile to same folder.

GetRailsData.ipynb

Get rails data from osmnx, then filter rails only to cover area with stations using stations shapefile. Save result to railway_data as shapefile.

CreateStationsPopulation.ipynb

Reads population and station shapefiles. Creates 500 meters buffer around stations, then calculates population size for every station and every year and saves result to population_data folder as stations_population shapefile.

CreateGraphsPopByStation.ipynb

Reads stations_population shapefiles and creates graphs for every station. Graphs are saved in folder docs/stations_graphs.

CreatePicsPopulation.ipynb

Reads population, railways and stations shapefiles and creates map figure for every year. Results are saved in folder pics.

CreatePicsStationsPopulation.ipynb

Reads stations_population, railways and stations data and creates map figure for every year. Results are saved in folder pics.

CreateGifs.ipynb

Create gif animations of images in folders pics and decs/stations_graphs. GIF animations are saved in folder docs.

CreateBokeh.ipynb

Create interactive Bokeh map visualization. Read stations_population, railways and stations shapefiles and creates bokeh map. Result is saved in folder docs.

About

Final work of the course Automated GIS processes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published