A route can be exactly the right distance and still be a bad ride. It might send you along busy roads, include more climbing than you planned or make you ride the same stretch twice.
I started Velio to explore that problem. It generates circular cycling routes from a starting point, a target distance, a climbing preference and the kind of terrain you want to ride on. Underneath, it uses a self-hosted Valhalla routing engine and OpenStreetMap data.
What makes a better loop
- Hit the distance and climbing targets. Generating a route of the right length says little about how much effort it will take.
- Reduce repetition. Prefer loops that reuse fewer stretches of road.
- Score the alternatives. Road surface and cycling infrastructure matter differently depending on the type of bike.
In the app you can compare routes, check the elevation profile, save rides and export them as GPX or GeoJSON. You can also explore the source code.
