• Blog posts


    By David Crowther



    Can you create distance/time isochrones in QGIS?


    Yes, QGIS has several tools and plugins that you can use to create distance or time isochrones. These previous Blogs and FAQs are a good starting point to learn about some of those tools:

    Location Lab -


    Routing and Distance Tools -


    Service Areas -


    … and here is another one!... it’s called Valhalla.

    Open the QGIS Plugins tool and search for Valhalla.


    Once you have found the plugin, choose Install Plugin.


    It will be installed and accessible under the Web menu.


    To use the Valhalla tool, you will need to setup the Provider Settings. Before we do that, we will need to get our API key from the provider of the online routing service, which is MapBox.

    If you haven’t already created a MapBox account, then follow this blog to get started –


    Within MapBox you can choose the Navigation > Directions API page.


    On the Directions API page, copy the public access token shown in the window to the left of the map.


    Back in QGIS, choose Web > Valhalla > Provider Settings and choose the MapBox option.


    Paste in the public access token into the API Key window and press OK.

    To now run the tool, choose Web > Valhalla > Valhalla.


    Choose the Provider to be MapBox, and then in the Valhalla window choose the task you wish to perform, which include:

    • Point to Point Routing
    • Isochrones
    • Source to Target
    • Locate
    • Centroid
    • Extract

    In this example, we will choose Isochrone, and from the Go With option we can choose automatic, truck,  bicycle or pedestrian.


    We will choose auto.

    Then from the Mode we can either choose fastest or shortest – dependent on the task you have.


    To now generate the travel isochrone, you need to add a starting point into the map.

    • To add one starting point, choose the green plus button and double click in the map at your chosen start location.
    • To add multiple starting points, choose the green button and left click in the map to add multiple starting points, double left clicking to add the last one.


    The starting points are then added into the Valhalla tool window.


    If you need to remove a starting point, select the point in the list and choose the Red X button.

    There are then a number of settings and parameters that you can choose, including:

    • Method Configuration
    • Costing Options
    • Avoid Locations

    Choose Method Configuration > Isochrones.


    • The default time travelled for each isochrone will be 10 minutes. Change that value as required e.g. choose a 15-minute isochrone.
    • The default isochrone geometry will be a Polygon, but you could choose a LineString, which would create lines around the edges of the isochrone area.

    Having changed the configuration as desired….


    Choose Apply and the Isochrone generation stars.

    The output is a scratch layer, which has one or many polygons, indicating the area that can be covered travelling for 15 minutes from each start location.

    We ran multiple starting points, so each coloured polygon is the isochrone denoting the area that can be reached in 15 minutes from each start point.


    If we changed the geometry parameter to aggregate the polygon….


    ….. and press Apply, we then get one polygon, denoting the area that can be reached in 15 minutes is we were to use the 3 starting points.


    Let’s make one last change and make the output geometry a LineString.


    Press Apply, we then get a LineString layer showing the edges of the isochrone, without applying fill.


    Why not download the Valhalla plugin yourself and see how you can create isochrones around your data? It’s a great way to undertake spatial analysis such as:

    • what population can reach a hospital within x minutes?
    • which offenders live within x minutes of an incident?