OSMnx · Find routes

Shortest paths across the Burjassot network, alternatives, route metrics, and bulk origin-destination pairs. Mirrors the Routing panel.

Needs a drive network with Edge Speeds and Travel Times already computed (Add edge attributes), or time-based routing has nothing to work with.

1. Pick origin and destination

Select Source and Select Target are eyedroppers: press one, click a node in the viewport. The node IDs appear in the panel.

Selecting source and target nodes with the eyedroppers.

2. Shortest path

Path Weight decides what “shortest” means: length for distance, travel_time for time.

A shortest path highlighted across the network.
Note

The elevation_impedance weight needs edge grades; see the Elevation tutorial.

3. Alternative routes

K Shortest Paths draws K distinct alternatives (default 3) between the same endpoints.

Three alternative routes between the same endpoints.

4. Route summary

Reports the active route’s length, travel time, mean absolute grade and rise.

Route Summary reports length, time and grade.

5. Batch routing

Random N is how many OD pairs to sample and Batch CPUs how many to route in parallel. The result is aggregate statistics rather than drawn routes.

Batch routing many random OD pairs.

Next steps

Measure accessibility: isochrones and reachable areas.

Back to top