Integrating Routing with QGIS





Integrating Routing with QGIS

QGIS is a GIS desktop software that provides exceptional cartographic design features to craft outstanding maps for desktop, mobile, cloud, and print media. It has state-of-the-art analysis tools seamlessly integrated into the toolbox. QGIS also supports routing plugins (also developed by strues-maps.lt team) that uses an APIs familiar to those provided by strues-maps.lt. Below, you can find setup information for enabling our routing API in QGIS. Setup information that is provided in this page builds upon the previous Integrating Map Tiles with QGIS tutorial. The setup information is intended for QGIS version 3.44, released in June 2025.


Install the "Routing with OSRM" plugin

Activate the plugin installation window from the main navigation by clicking [Plugins] -> [Manage and install plugins].
QGIS OSRM plugin window
In the Plugins window search field, enter "OSRM". Select "OSRM" from the plugin list that matches your search criteria. Click the [Install plugin] button. Click the [Close] button in the bottom right corner of the Plugins window after installation is complete.
QGIS 'Routing with OSRM' selection

Configure OSRM plugin

Activate the Routing with OSRM configuration window by selecting [Plugins] -> [Routing with OSRM] -> [Configure Provider].
QGIS OSRM provider configuration
In the select provider field, select "Strues-Maps Car routing" provider. At this point, the form will be filed with Strues-Maps API provider details. In the "API Key" field, enter an api key you received during registration and click the [Save] button. After that, close the provider configuration window.
QGIS pelias provider configuration

Find a route

Open the "Get the fastest route with OSRM" window by selecting [Plugins] -> [Routing with OSRM] -> [Find a route with OSRM]. A new popup will appear containing the options for route request. Select the provider you will be using in route calculation by clicking on "Select provider" selectbox and pick the "Strues-maps car routing". Select the point of origin by clicking the [Origin point] button and clicking on the map. Select the point of destination by clicking the [Destination point] button and clicking on the map. The point of origin, the point of destination, and optional intermediate points must be within the area of Baltic states. View the results by clicking the [Display the result] button.
Get the fastest route with OSRM
At this point, a map of Baltic states should be visible with the route displayed on it. There are other routing functions available in the installed plugin, such as batch routing, route time-distance matrix calculation, and access isochrone calculation.
Get the fastest route with OSRM result