Working out a route along cycle lanes

Bicimetro — cycle-lane routing

Field: urban mobility · City: Valladolid

An interactive public viewer that calculates optimal urban cycling routes using real infrastructure — prioritising dedicated cycle lanes and quiet streets — alongside curated rides for leisure and exploration.

The problem

General-purpose route finders optimise for distance; someone on a bicycle in a city optimises for something else: not ending up on a busy dual carriageway, not pushing the bike along a pavement, not taking an absurd detour down a lane that stops halfway. That information — where there is a lane, of what kind, where it carries on — lives in the council's mapping, not in the street directory.

What we built

  • Route calculation between two addresses over the cycle network rather than the traffic network.
  • The real network: segregated lanes, on-road lanes, calmed streets and paths, each weighted differently.
  • Recommended rides around the city, with points of interest, photographs and video.
  • Supporting layers: bike parking, hire points and facilities.
  • A public viewer, nothing to install and usable from a phone.

The hard part

A cycle-lane graph does not build itself. The segments have to be stitched into a network that genuinely connects — junctions and crossings are what decide whether a route is rideable or just a drawing — and every type of way needs a cost that reflects what it is actually like to pedal along it. The routing is the easy part; the topology is not.

Technology

PostgreSQL with PostGIS · routing over the cycle network graph · map server carrying the council layers · web viewer over IGN and OpenStreetMap base mapping.

Inside the system

Working out the route between two addresses
Working out the route between two addresses
A recommended ride, with its points of interest and photographs
A recommended ride, with its points of interest and photographs
Video of the ride inside the viewer itself
Video of the ride inside the viewer itself
The whole cycle network over the council mapping
The whole cycle network over the council mapping
Supporting layers: bike parking and facilities
Supporting layers: bike parking and facilities

Where we are

These are the three offices. The map does not set the limits: systems are deployed, taught and maintained remotely, and for whatever has to be seen in person, we travel.

  • Spain
    Valladolid Science Park of the University of Valladolid
    CTTA Building, Unit 305 · Miguel Delibes Campus
    Paseo de Belén, 9A · 47011 Valladolid
    Madrid Arganda del Rey
    28500 Madrid
  • United Kingdom London Uxbridge · Greater London
    UB8 2LN

Base mapping from OpenStreetMap and the Spanish Instituto Geográfico Nacional (CC BY 4.0). Map built with Leaflet.