Hub
Pricing About
NodeNode / Manipulator

OSRM Distance Matrix

Community NodesGeospatial AnalyticsSpatial Network
Drag & drop
Like

This node uses the Open Source Routing Machine (OSRM) to create a distance matrix for the provided origins and destinations. The matrix is created by pairing each input origin with each input destination and will contain the driving travel distance and time as well as the route for each pair. The travel distance unit is meter and the estimated drive time is returned in minutes.

OSRM is a C++ implementation of a high-performance routing engine for shortest paths in road networks. It combines sophisticated routing algorithms with the open and free road network data of the OpenStreetMap (OSM) project.

If the input geometry is not a point geometry, the centroids will be automatically computed and used.

Usage Policy

Good practice and general limitations of the OSRM service that is used by this node can be found here. The current demo server is hosted by FOSSGIS which is subject to the usage policies and terms and conditions that can be found here.

Note

Data copyright by OpenStreetMap (ODbl) and provided under CC-BY-SA. To report a problem and contribute to OpenStreetMap click here. Please note the licence/attribution guidelines as described here.

Node details

Input ports
  1. Type: Table
    Input table with origins

    Input table with origin geometry and ID column.

  2. Type: Table
    Input table with destinations

    Input table with destination geometry and ID column.

Output ports
  1. Type: Table
    Output Table

    Output table with the selected origin and destination ID columns and the corresponding travel costs in minutes and meters as well as the travel route.

Extension

The OSRM Distance Matrix node is part of this extension:

  1. Go to item

Related workflows & nodes

  1. Go to item
  2. Go to item
  3. Go to item

KNIME
Open for Innovation

KNIME AG
Talacker 50
8001 Zurich, Switzerland
  • Software
  • Getting started
  • Documentation
  • Courses + Certification
  • Solutions
  • KNIME Hub
  • KNIME Forum
  • Blog
  • Events
  • Partner
  • Developers
  • KNIME Home
  • Careers
  • Contact us
Download KNIME Analytics Platform Read more about KNIME Business Hub
© 2025 KNIME AG. All rights reserved.
  • Trademarks
  • Imprint
  • Privacy
  • Terms & Conditions
  • Data Processing Agreement
  • Credits