Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/urschrei/router_comparison

Comparative explorations of the Bicycle journey characteristics calculated by the OSRM, Valhalla, and Google Maps routing engines
https://github.com/urschrei/router_comparison

Last synced: 30 days ago
JSON representation

Comparative explorations of the Bicycle journey characteristics calculated by the OSRM, Valhalla, and Google Maps routing engines

Awesome Lists containing this project

README

        

# Comparing The Cycle Route Characteristics of Three Routing Engines
Routers analysed: [OSRM](http://project-osrm.org), [Valhalla](https://mapzen.com/projects/valhalla/), [Google Maps Directions](https://developers.google.com/maps/documentation/directions/intro)

[![Routers](combined_gh.png)](OSRM_vs_Valhalla.ipynb)

First, ensure you've installed all the packages from [requirements.txt](requirements.txt).
`Basemap` can be pain to install, but a recent version of pip and `pip install basemap --allow-external basemap --allow-unverified basemap` should work.

Once this is done, run `ipython notebook` from a shell, and you should see `OSRM_vs_Valhalla` in the list.
Some helper functions for the retrieval and processing of journeys can be found in [helpers.py](helpers.py)

# Outlier Identification using [RANSAC]()
[![RANSAC](RANSAC.png)](RANSAC.png)

[![Outliers](outliers_mapped.png)](outliers_mapped.png)

# HTML Route visualisation using Leaflet
Can be found in the `html` directory. You may have to refresh the page in order to display the route toggle control, because I apparently still don't understand JS closures `¯\_(ツ)_/¯`

[![Map](map.png)](html/script.js)

# Missing Stations
Routes can't be mapped to all stations in the network due to an issue with the underlying OpenStreetmap data. Interesting, isn't it?

|Station Name (27 stations)|
:---------:
|Belgrove Street , King's Cross|
|Finsbury Library , Finsbury|
|Euston Road, Euston|
|Park Road (Baker Street), The Regent's Park|
|Wapping High Street, Wapping|
|Clerkenwell Green, Clerkenwell|
|Waterloo Place, St. James's|
|Baylis Road, Waterloo|
|Craven Street, Strand|
|Prince Consort Road, Knightsbridge|
|Waterloo Station 1, Waterloo|
|Paddington Green Police Station, Paddington|
|Old Ford Road, Bethnal Green|
|South Quay East, Canary Wharf|
|Westferry DLR, Limehouse|
|Jubilee Plaza, Canary Wharf|
|Green Park Station, Mayfair|
|East India DLR, Blackwall|
|Montgomery Square, Canary Wharf|
|Heron Quays DLR, Canary Wharf|
|Westfield Southern Terrace ,Shepherd's Bush|
|Globe Town Market, Bethnal Green|
|Coomer Place, West Kensington|
|West Kensington Station, West Kensington|
|Ravenscourt Park Station, Hammersmith|
|Stephendale Road, Sands End|
|Rossmore Road, Marylebone|
# License
[MIT](license.txt)

[![CASA](https://dl.dropboxusercontent.com/u/21382/casa_black.png)](http://www.bartlett.ucl.ac.uk/casa/programmes/postgraduate "Bloomsbury is lovely, you know.")