Apr 27, 2022 • Blog

A New Way to Simplify Error Handling with the TravelTime QGIS Plugin

facebook iconx icon

Contents

Today we've released a new version of the TravelTime QGIS plugin with a new, easy-to-use feature that makes error handling much simpler. 

The new feature is called Robust Mode. When you're running an analysis with lots of points and the Robust Mode tool is enabled, it will still run successfully even if there are errors associated with some of the input points. 

Check out this video below explaining the new feature:

How does it work?

Robust Mode is available in all of the Advanced and Simple tools from the TravelTime toolbox. 

For example, here you can see it as a new tick-box option in the plugin's Time Map Simple tool:

TravelTime QGIS plugin
Where to find the Robust Mode setting in the Time Map Simple tool

When running a tool with robust mode enabled, any successful requests are saved and added to the map, even if other requests are unsuccessful. 

In previous versions of the QGIS plugin (or with robust mode disabled in v1.7), any unsuccessful requests will cause the whole tool to fail and no output is generated, even for successful requests.

What does it look like in action?

In the example below, we’ve got a handful of locations across the UK, and we want to create a 60-minute driving isochrone around each one.

TravelTime QGIS plugin
Our layer of points across the UK

To do this, we’re going to use the Time Map Simple tool. First, let’s see what happens when we run it with Robust Mode disabled. 

After running for a few seconds, the tool returns an error:

TravelTime QGIS plugin
Error returned by the Time Map Simple tool

Reading the error description, it sounds like one of the points in our input layer is not reachable by car, and so an isochrone cannot be created around it. This may be because one of the points is on a body of water, or is in a very remote area and simply too far away from the nearest road.

As a result of this error, the tool has failed and we have no new output layer added to the map.

Now let’s run the tool with the same parameters, but with the Robust Mode tick box checked:

TravelTime QGIS plugin

This time we still get an error (which is to be expected as the unreachable location will still be unreachable!) but there is an additional message letting us know that we have an incomplete result:

TravelTime QGIS plugin
The additional error message warning us that the output layer is incomplete

The other main difference is that we have a new output layer added to the map, with the isochrones around all of the points that were reachable:

TravelTime QGIS plugin
The output layer showing the isochrones successfully generated around the reachable points

It’s now easy to see that the point that was causing the issue is located in the North-West corner, near Liverpool. Zooming in, we can see that this point is indeed on a body of water, which explains why it was not reachable.

TravelTime QGIS plugin
The unreachable location on a body of water

When should I use Robust Mode?

The new Robust Mode feature is available in all the Simple and Advanced tools in the TravelTime toolbox.

You should enable Robust Mode when:

  1. You know that the analysis you are doing will likely include locations that are unreachable (e.g when using centroids of geographical areas)
  2. You have tried to run your analysis with Robust Mode disabled, and have received an error

How can I upgrade to the latest version of the TravelTime QGIS plugin?

To upgrade to the latest version of the TravelTime QGIS plugin (v1.7), simply click Plugins from the top navigation in QGIS, then Manage and Install Plugins

Search for the TravelTime plugin, and click the Upgrade plugin button.

TravelTime QGIS plugin
How to locate the TravelTime plugin to update it from QGIS

Improve your location analysis with the TravelTime QGIS plugin

The TravelTime QGIS plugin includes a range of tools to help you gain unique location data insights.

You can use the TravelTime QGIS plugin to:

  • Create isochrones (travel time maps)
  • Calculate travel times between thousands of origins & destinations
  • Filter points of interest within a travel time area

To learn more about what you can do with the TravelTime QGIS plugin, check out our documentation or get started for free.

Visualise locations like never before.
Transform journey time data into an unlimited number of dynamic isochrones maps every month, for one fixed price.
Try for free
cta accent icon
facebook iconx icon

Contents

Gain unique location insights with the TravelTime API & GIS plugins.

Get started free
cta accent icon

Read related articles

featured
Blog post
How to Create Isochrone Maps in QGIS with the TravelTime QGIS Plugin
featured
News
Discover New Updates to the TravelTime QGIS Plugin
featured
Blog post
How to Create Time-based Catchment Areas Using TravelTime