Read the map
The map photo is turned into a grid where every spot has a running cost. Streets and paths are cheap, open fields a bit slower, and railways, private land and out-of-bounds areas impossible. Each brown 5 m contour line you cross adds a cost for the climb. The map was checked and corrected by hand, from GPS tracks and local knowledge (tunnels, cut-throughs, overgrown fields).