Creating Isochrone Travel Time Maps in QGIS with OpenRouteService
Contents
Introduction
Isochrone maps are a map type which represent a geographic extent accessible within a certain time threshold from a specified point or line. They often represent travel time on foot, by car, or by transit services.
This tutorial will provide a walkthrough in the creation of isochrone maps, how to manipulate the output based on their intended use and audience, and a way to host them online to be accessible by other users.
The software to be used for this tutorial is QGIS. Visit their website to download the software at this link. Find an installation guide here if you need assistance through the download process.
Data & Plugins
With the QGIS software downloaded and open, follow the next steps to attach all the necessary plugins and tools to your QGIS interface.
HCMGIS
This tutorial will use the HCMGIS plugin to source basemap. Through this plugin, you can instantly load basemaps from multiple sources, like Google Maps (including satellite imagery), ESRI, and other cartographic services. It also facilitates downloading OpenData, but a different option for doing this will be explored in this tutorial.
From the Menu Toolbar of the QGIS interface, find Plugins and select Manage and Install Plugins. Under All, search for HCMGIS, and click Install Plugin.
Once installed, you should see HCMGIS listed in the QGIS Menu Toolbar.
Using the HCMGIS plugin, add the ESRI Topographic basemap to your project.
QuickOSM
Use the same method as in the HCMGIS section to access the Plugin repository, and install the QuickOSM plugin.
Usage of QGIS for projects and analysis will show that QuickOSM is an indispensable resource which allows simple but in-depth querying of open data, which is instantly downloaded from OpenStreetMap and added to your project.
The QuickOSM toolbar should now be added to the Toolbars present in your QGIS project pane. Look for the following symbols:
Click on the green magnifying glass to open the QuickOSM query tool. Set the parameters of a Quick Query as shown below to download the lines and stations of the O-Train network, including the current operating extent, and the future East and West extensions. The Advanced parameters shown will ensure that the lines and points are downloaded, and are immediately saved to a named Shapefile in your project directory.
The output will require the following tweaks to properly visualize the O-Train system:
Stations
- Rename point layer to LRT Stations
- Change to a categorized symbology.
- Set value to railway.
- Deselect all node types except station.
- Change the station symbol to an icon which will display well over the basemap and route lines.
- With the LRT Stations layer selected, enable layer editing
and use the Select Features by Area or Single Click tool
to select Fallowfield and Ottawa VIA Rail stations. Delete these features. The location of these VIA Rail stations is shown below:
Routes
- Rename lines layer to LRT Routes
- Change to a categorized symbology.
- Set value to name.
- Change Confederation Line and East and West Extensions to a red line.
- Change Trillium Line to a green line.
- Change Trillium Line - Airport to a light blue line.
- Deselect all other values item to hide storage and maintenance trackage.
Ensure the Stations point layer is drawing above the Routes line layer, and you should be left to an output similar to this:
ORS Tools
The final plugin to install before beginning to create is ORS Tools. It is found in the plugin repository and should be installed in the same manner as HCMGIS and QuickOSM before.
OpenRouteService API Setup
The OpenRouteService API provides routing services and capabilities, which can be utilized through software like QGIS to compute, in this case, travel times from points or lines. Navigate to the OpenRouteService webpage at this link.
From the log-in screen, choose the option to Sign Up for a new account. Fill in your account information, choosing Education as the purpose of the account.