Hub
Pricing About
NodeNode / Manipulator

Road Network Distance Matrix

Community NodesGeospatial AnalyticsSpatial Network
Drag & drop
Like

This node uses the NetworkX library to create a distance matrix for the provided origins and destinations using the given road network. Prior computing the shortest path, origins and destinations are snapped to the closest point of the given road network. The matrix is then created by computing the shortest path between each snapped origin and all other reachable snapped destinations.

The returned distance is in meters and the duration in minutes. In addition to the travel distance and duration, the output table contains the distance in meters between each origin and destination and its corresponding snap point along the road network, which can be incorporated into a total travel time and duration.

The node projects the input coordinates to EPSG:3857 prior computing the length of each road and the snap distances of the origin and destinations.

If the origin and destination geometries are not a point geometry, the centroids will be automatically computed and used.

Node details

Input ports
  1. Type: Table
    Input Table as origin

    Input origin table with geometry.

  2. Type: Table
    Input Table as destination

    Input destination table with geometry.

  3. Type: Table
    Input Table as road network

    Input road network with LineString geometry.

Output ports
  1. Type: Table
    Output Table

    Output table with travel time and distance.

Extension

The Road Network 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