OSRM plugin for QGIS (UNMAINTAINED)
Tiny QGIS plug-in allowing to retrieve and display data from an (ideally locally based) OSRM web service.
This plug-in is in its early stage of development and the code is hosted on github.
Only targets OSRM > v5.0 (API introduced around April 2016)
Current plugin version : 0.1.0
- Find a route
- Get a time matrix
- Make accessibility isochrones
- Solve the Travelling Salesman Problem
- Compute and export many routes
This plug-in is primarily aimed to be used on a local instance of OSRM.
If used to request the public API you have to adhere to the API Usage Policy (which include no heavy usage, like computing many /viaroute with this plug-in)
Images of this page are displayed on OpenStreetMap tiles (© OpenStreetMap contributors) and route computations were done with Open Source Routing Machine.
Display a simple route from OSRM (with support of viapoints, alternatives roads and route instructions):
Get a time matrix from one (or between two) QGIS point layer(s):
Compute monocentric or polycentric accessibility isochrones:
Retrieve many routes between two QGIS layer of points:
Display the result of the Travelling Salesman Problem computed by OSRM:
If the information computed by this plugin is intend to be reused, you have to properly display the source of the routes and the data licence attribution :
- All the routes/time matrix displayed are computed by the underlying routing engine OSRM.
- Route computed by the OSRM public API (and probably by your instance) rely on OpenStreetMap dataset which is under ODbL.
- 0.0.1b:
- Add support for new OSRM API (> v5.0) and drop support for other versions
- 0.0.1:
- Add support for the OSRM /trip functionality
- Add support for intermediate points in viaroute displaying.
- Add experimental support for "polycentric" (and more precise) accessibility isochrones.
- Add support for new OSRM rectangular matrix (and isochrones creation using it).
- First release
- 0.0.1-rc1:
- Drop the use of shapely for isochrone polygons construction.
- ADD: a backport of functools.lru_cache to cache http request on client side.
- ADD: restriction on the batch viaroute to prevent a massive use of the public API.