Self-hosted motorcycle expedition routing — GraphHopper profiles and modest hardware.

Hello GraphHopper community,

We are developing Expedition Weather 2.0, an Android application for motorcycle expedition planning and weather intelligence.

We are comparing open-source, self-hosted routing engines for a future commercial product, with particular interest in motorcycle touring and adventure riding.

Our main questions are:

  1. Can the open-source GraphHopper engine support motorcycle-specific routing through custom models, including preferences for winding roads, avoiding motorways and considering road surfaces?

  2. Which of these capabilities are available in the open-source distribution, without relying on a commercial hosted API?

  3. What hardware would be reasonable for a small pilot covering the Czech Republic or Central Europe?

  4. Can route geometry generated by our self-hosted deployment be exported and stored long-term, subject to the underlying map-data licences?

  5. Are there important operational or performance trade-offs compared with Valhalla?

Our goal is not to build another routing engine, but to integrate a reliable and economically sustainable one into our application.

Thank you for any technical guidance or documentation you can recommend.

Kind regards,

Expedition Weather 2.0 Project Team

All is possible with the open source project (see e.g. ModeAccessParser).

Can route geometry generated by our self-hosted deployment be exported and stored long-term, subject to the underlying map-data licences?

The license of OpenStreetMap data applies.

What hardware would be reasonable for a small pilot covering the Czech Republic or Central Europe?

RAM is important. But just a single country or a few countries should be possible on a usual laptop with just 16GB RAM. Less RAM is always possible via MMAP if you can accept a slower import and/or routing request. In general it is recommended to separate import and routing request machines.

Have a look into this blog post (for planet). Although numbers are a bit outdated as OSM grew and GH demands changed a bit but the principal did not change.

Are there important operational or performance trade-offs compared with Valhalla?

We do not know, as we do not operate Valhalla. But performance-wise you can achieve high throughput with GraphHopper using CH which is not possible with Valhalla from what I understand (but CH has certain memory requirements)