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 are presented on the following page:
Link to Stations population 1997 to 2019
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
- CreatePopulation.ipynb
- CreateStations.ipynb
- GetRailsData.ipynb
- CreatStationsPopulation.ipynb
- CreateGraphsPopByStation.ipynb
- CreatePicsPopulation.ipynb
- CreatePicsStationsPopulation.ipynb
- CreateGifs.ipynb
- CreateBokeh.ipynb
Read population data from folder population_data, clean data, join tables and save result as shapefile in same folder.
Read stations data from folder stations_data, clean data and save result as shapefile to same folder.
Get rails data from osmnx, then filter rails only to cover area with stations using stations shapefile. Save result to railway_data as shapefile.
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.
Reads stations_population shapefiles and creates graphs for every station. Graphs are saved in folder docs/stations_graphs.
Reads population, railways and stations shapefiles and creates map figure for every year. Results are saved in folder pics.
Reads stations_population, railways and stations data and creates map figure for every year. Results are saved in folder pics.
Create gif animations of images in folders pics and decs/stations_graphs. GIF animations are saved in folder docs.
Create interactive Bokeh map visualization. Read stations_population, railways and stations shapefiles and creates bokeh map. Result is saved in folder docs.