Contents:
When searching for a route the CycleStreets journey planning engine tries to find the smallest total score from the practical ways of getting from the start to the finish.
These factors are currently included:
We are working to take into account these additional factors (to be implemented in priority order below):
CycleStreets strives to give only legally allowed routes. Our data comes from OpenStreetMap (OSM), so if there is an error we usually have to pass that on to them. When the error is fixed it will then make its way into CycleStreets after the next import cycle.
Incorporating these is a priority for us to come out of the beta testing phase.
We also plan to take account of other attributes - see notes above.
Blue 'Cyclists Dismount' signs are advisory. Cyclestreets will sometimes suggest a dismount, but it depends on how the ways are tagged in OSM.
The notes in these sections explain some of the work CycleStreets is doing to find better routes in hilly terrain.
The starting point for finding cycling routes in hilly terrain is having some good elevation data. We can't get that from OpenStreetMap, so we're using NASA satellite data, called SRTM. This comes from US government funding, it is therefore public domain. You can read more about SRTM at http://en.wikipedia.org/wiki/Shuttle_Radar_Topography_Mission.
Effectively it provides us with a set of raster files that specify the height above sea level for every lat-long point all around the world. (We obviously have only downloaded the tiles for the UK area only though.)
Its resolution is about 90m, i.e. there is a height every 90m apart on the ground. This means that if there was a steep but small hill between two points that are 90m apart, it would not necessarily show up. However, in practice it's good enough. There is a new dataset called ASTER, which replaces SRTM, which we can move to in future, but there are few good tools for reading that at present. But I think 90m resolution is good enough anyway.
Incidentally, SRTM is the same data that is used to create the background map tiles for the Open Cycle Map, and which CycleStreets uses as its default background map.
We use an algorithm to read the SRTM files and provides an interpolation function that can answer the question: What is the height at this lat-long point?
During an import from OpenStreetMap, the elevation of each of the 8 million nodes on the cyclable network of the UK is queried in this way. That data provides the information that is used to create the elevation profile on each route.
To take account of the delay due to going up a hill, and the time saving coming down again, CycleStreets uses a cycling version of the Naismith effect. Naismith was a hiker who devised a rule of thumb that helped estimate how much longer it would take to follow a route that involved a climb.
In the cycling version of the rule there is a cost of six seconds per metre climbed, but a saving of 1.8 seconds per metre descended.
A striking example of the difference this makes to the routing can be seen by comparing the fastest routes on these two examples:
| Journey #80587 before Naismith | ![]() |
| Journey #84129 after Naismith | ![]() |
Of the three route types currently available, the Fastest is most directly affected by Naismith. If there are two equally long routes over the same road types, the one with the least rise and fall will win. So it tends to favour smoother routes.
In order to make the Quietest routes sensitive to hills the time change is converted into an equivalent busyness and added in to the length of each section.
The way the elevation profiles choose the vertical scale is as follows:
For all of the above cases the ground colour is shown as a light green.