loreabad6 / masters-thesis-geotech

BNA-EU: Advances of my master thesis for the Erasmus Mundus Masters of Geospatial Technologies
3 stars 1 forks source link

Geospatial Technologies Master's Thesis

Advances of my master thesis for the Erasmus Mundus Masters in Geospatial Technologies.

The final document is here. The final presentation is here

Topic

Validating a bike network analysis score based on open data as a connectivity measure of urban cycling infrastructure adapted for European cities.

Basic idea

Reproduce the BNA score developed by People for Bikes, validate it and adapt it to compute bike network connectivity in European cities.

My thesis proposal can be accessed here. Keep in mind, it will be constantly updated.

Products

  1. BNA score translated into R and SQL, to be applied in European cities.

  2. A series of scripts that come together into an R-Markdown report to calculate the BNA score for cities in the UK (England and Wales) and the Netherlands.

Calculate BNA for cities in the UK (England and Wales) and the Netherlands.

How to use it?
  1. Install PostgreSQL here. For version 14 the installation process also includes pgadmin4, and let's you add the PostGIS extension on the Stack Builder application. Make sure osm2pgsql and osm2pgrouting are also installed.
  2. Create a spatial database with pgadmin4. To test connection an empty table on the database called test should be created on the public schema
    • Tip: Run FULL VACUUM/ANALYZE frequently on the database to improve performance
    • Follow the tips on this presentation to increase performance of the database
  3. Set path variables for osm2pgsql and osm2pgrouting
  4. Create a password file on %APPDATA%/postgresql/pgpass.conf with the format hostname:port:database:username:password
  5. Clone this repository
  6. Edit the R-Markdown report with your study area, and run the R-Notebook locally
  7. Wait for a while, keep in mind larger and more crowded areas take longer
  8. Check out your results as an HTML file

Data

The BNA score bases its methodology on OSM data, however job and population data is accessed from other open data sources. Particularly for this project, this datasets were used:

Example cities
England ... ... The Netherlands Wales
Cambridge Bath Corby Venlo Bridgend
York Canterbury Blackpool Delft Newport
Oxford Carlisle Colchester Groningen Swansea
Cheltenham Crawley Exelter Breda
Chesterfield Plymouth Warrington Zwolle
Worcester Gloucester Hastings Gouda
Maidstone Hereford Ipswich Apeldoorn
Lincoln Luton Norwich Enschede
Chelmsford Slough Nijmegen
Bedford Lancaster Utrecht

Tasks