Autorouting

About the Autorouting

The maps offered here are to be used for cycling, mtbiking and hiking. There is a general preference to route you over trails and cycleways. Streets have lower prioty. However note that the GPS will not take huge detours on trails to avoid a primary or secondary highway - even though they have the lowest priority. Autorouting with my maps is unusable with a motorcar. Use another Openstreetmap implementation instead if you intend to use you car. The maps can be used for autorouting on a racing bicycle - however the Velomaps are better for racing bicycles..

In general I currrently (2015) advise to use Dirt-Biking (best results) or ATV (not as good, but still very good) as autorouting profiles (and watch out for avoidances - you need to configure them specially)!

 

Downhill preference on difficult trails

All trails from which I can assume that they are usable downhill only will have much higher priority in the downhill direction, uphill they will only be chosen if long detours are unavoidable otherwise. This means uphill on relatively easy trail, downhill much more technical. In order for this to work you need to use the incline tag correctly. I have rules setup to catch more or less any value, be it incline=up or incline=down, incline=(-)??% or also wrong tags like incline=positive or incline=-. Any way with mtb:scale:uphill=4 or mtb:scale:uphill=5 (see mtb:scale for explication of mtb:scale:uphill) will be avoided on uphill. Therefore please add mtb:scale:uphill and incline tags to all your favourite trails that are too difficult for uphill. mtb:scale:uphill=3 will be considered oneway if incline>15% or incline<-15%.

 It does not matter whether the way itself in the OSM database points uphill or downhill. I reverse ways pointing uphill when rendering the maps. This is of course only possible if the incline tag exists on the way.

 

 

Usage Instructions - For All Programs / GPS.

Mapsource vs Basecamp vs GPS settings

Note that all may behave different. In principle we have the following classes:

Old Generation - Mapsource, Basecamp v1 & v2 & v3.1, v3.2, All Garmin GPS WITHOUT Activity Routing (etrex vista/legend hcx or older, edge 705, GPS Maps 60 series; ( Dakota, Oregon, Montana, 62 series with very old Firmwares )

New Generation - Basecamp v4 or newer, Dakota, Oregon, Montana, 62/64, Garmin Edge 800/810/1000 series with newest Firmware

I'm not sure where and how to classifiy Nuvi and Zumo devices. I think most fall into Class 1. Etrex 10/20/30(x) also belongs to this group, however only has very limited activity routing support (only Automotive, Bicycling, Pedestrian). All other Class 2 devices, should support all Activity Routing Profiles.

 

In Class 1, there is still one Distinction. In Mapsource under options/autorouting you have a slider to prefer small roads (left side) to highways (right side). If you move this slider to the right hand side, better suited ways/streets will be preferred. On the GPS such a setting does not exist, but the GPS is anyhow more strict on choosing well suited roads. On the other hand the "route calculation method" is only available on the GPS.

 

Faster Time vs Shorter Distance

With my maps shorter distance already tries to route over nice ways. If you use "faster time" - especially in combination with car/motorcycle or Automotive mode, then an even higher preference for "nice" ways will be used and routes tend to be longer (more detours) overall. With my maps there is no such routing as really shortest distance (it is actually impossible to do really have autorouting on Garmin GPS find the shortest route over long distances). If you use shorter distance the route will be in general straighter and with less detours - also longer overall distances will be calculated without crashing (error notice, no actual crash).

 

Estimated Arrival time

Garmin is not supporting proper Arrival times for Cycling. Using bicycle the estimated arrival times using "faster time" are simply calculated by averaging 18km/h - hence not very useful. Using "shorter distance" the arrival time often becomes really bogus. Using Automotive, Car/Motorcycle or other modes, the times will be far too short. Also elevation (so climbs or downhills) are not taken into the calculation. This is the same for Garmins own maps.

 

New Generation (Basecamp 4 or newer, Garmin GPS with Activity Routing Support)

Basecamp v4 and above, as well as GPS Devices with Activity Routing, behave quite differently to previous versions, or Mapsource, and also on the internal side of how it checks the maps, and what it does is very different. So Let's have a look on what you can set. In Principle (except for etrex 10/20/30) the GPS devices behave very similar to Basecamp v4.

 

In the top left, you can set the Profile. Currently Automotive is activated.

Automotive and Motorcycling have been the method of choice for Basecamp v3 and Mapsource - but are not really usable except for short distances with OpenMTBMaps in Basecamp v4 and newer anymore! On etrex and 62s series - where you cannot choose ATV as routing mode - use car or bicycle.

Then there are several Bicycling, Mountainbiking, Group Cycling (and maybe more in future) options. With the Openmtbmap - if you configure the avoidances the same, they all route alike. These modes are okay, if you don't mind to find yourself quite often on asphalt and streets. They do tend  to often use bigger streets with newer firmwares though.

ATV and Dirt Biking Route pretty similar - Dirt Biking gives the best routes and can route over very long distances (>100km by air without any intermediary routing points). However Dirt Biking is not available on most GPS devices - while ATV is (e.g. on most Oregon/Montana and maybe Dakota/64s?).

Therefore you can chose between ATV - which is the best choice if you want to transfer the route itself to your new generation device - and Dirt Biking, which you can use for best routes that you copy via right-click advanced to a track - and send the track to your device (except of course if your device supports Dirt Biking profile - then go for it in any case).

Hiking, Walking, Mountaineering also all behave alike --> The results are okay for short distances with the Openmtbmaps - over long distances however it seems to use the worst streets/ways for cycling (mainly primary and secondary roads). Difficult Via Ferratas are only available in this mode!

 

Road Type Avoidances

Interstates: don't avoid them, you'll miss the nicest trails.

Major Highways: If you tick it you will avoid streets that are nice for cycling, cycleways, cyclepaths, and so on. Well as you want to cycle with this map, I don't think you ever want to tick that box.

State Highways: Don't tick it. Most ways in the Openmtbmap would be blocked.

Residential Roads: If you tick it, then residential streets, primaries and secondaries are blocked as well as trails that are no fun to bike. May work, but don't bet on it (too often some very short residential street or bad quality trail is necessary to get from A to B without crazy alternations.

Unpaved roads: If you are a XC biker, then yes, try activating it. All ways with mtb:scale=1 or higher are blocked, as well as sac_scale = T2 or higher.

 

Feature Type Avoidances:

Toll roads Avoid ways, that are only for vertriders. Also avoids biking against the allowed traffic direction, blocks uphills you have to carry your bike (if mtb:scale:uphilll and incline are set properly), or ways were you are not allowed to bike.

Avoid Ferries - Avoids ferries, cablecars, gondolas and mixed lifts.

U-Turns avoids any turn over 120° - best not use, because it will destroy sensible autorouting.

Cable Cars: Does not matter with Openmtbmaps (or more correctly, does not work, best don't tick anyhow).

Narrow Trails: Does not matter with Openmtbmaps

Carpool lanes: Avoids all ways where cycling is forbidden (and no more). (is activated by default in all profiles but car/motorcycle).

Date and Time Closures - it is currently not possible with mkgmap to produce maps that react to this setting.

Climbing Paths: Does not matter with Openmtbmaps.

Roundabouts: Well does exactly what it says. I advice you to never tick this box, else roundabouts are avoided, and then routing likely won't work well.

 

 

 

So what of the above makes sense?

For CrossCountry: Use profile ATV/Dirt Biking, avoid toll roads, and avoid unpaved roads. Use shorter time.

For AllMountain/Enduro: Use profile ATV/Dirt Biking, avoid toll roads. Use shorter time.

For Vertriding / Technical Enduro or whatever you call it and Hiking: Use profile ATV/Dirt Biking, don't avoid any roads/features. Maybe avoid residential roads. Use shorter distance.

Hiking/Mountaineering with Via Ferrata included: Use Mountaineering mode - without any avoidance.

 

-- As the map data in Openstreetmap is everywhere different, and also the offer of good ways/routes for mtbiking differs a lot, just try around a bit in Basecamp, to find out what happens. In General Basecamp and your GPS will route similar over short distances.

 

Old Generation (Mapsource, Garmin GPS without Activity Routing Support)

Transport Modes

Car/Motorcycle =  Works well on shorter distances - might produce long detours.

Taxi = behaves like Car/Motorcycle.

Bus / Truck = Avoids turning. Hence don't use it.

Pedestrian No good autorouting over longer distances, will usually give quite direct vias - does not respect oneways.

Bicycle =  Works well in combination with "shorter distance". Is good for calculating longer distances on you GPS if you get "out of memory" errors.

 

Avoidances

Toll roads Avoid ways, that are only for vertriders. Also avoids biking against the allowed traffic direction, blocks uphills you have to carry your bike (if mtb:scale:uphilll and incline are set properly), or ways were you are not allowed to bike.

Unpaved roads: If you are a XC biker, then yes, try activating it. All ways with mtb:scale=1 or higher are blocked, as well as sac_scale = T2 or higher.

U-Turns avoids any turn over 120° - best not use, because it will destroy sensible autorouting.

Carpool lanes - does nothing.

Avoid Ferries - Avoids ferries, cablecars, gondolas and mixed lifts.

Date and Time Closures - it is currently not possible with mkgmap to produce maps that react to this setting.

 

Only For Mapsource

Note the slider called "Road Selection".  The more towards the right (prefer highways) you push it, the more you will be routed over great trails, hiking routes, mtb routes or cyclroutes. Never move it to the left. If you feel that cycleroutes, hiking routes, and mtb routes are favored too much, better use transport mode: bicycle, or use "shorter distance".

 

Only Available on (some) old Generation Garmin GPS Devices

NEVER Tick  "Avoid Highways" - It will block the best ways. On my maps, shared use pathes and cycleways are encoded for the GPS as highways. Real highways or big streets where cycling is not allowed are not routable anyhow with the Openmtbmaps (so no need to avoid them).

Route Calculation Method: Per default I would advise to use "quick". However if you get "out of memory" errors, go for "better route". On best route calculation is able to get you to pretty remote places, however you might need to wait up to 10 minutes or longer until the calculation is actually finished.

Route Calculation Percentage value -  The indicator has a bug on all units. It is only correct if jumping by several percent. However if it only increases by one percent per second, then it will reach 100% long before it has calculated the route. Hence when it gets stuck at 100%, there is still a good chance that the route can actually be calculated correctly. Using "better route" or "best route" for route calculation method, this often means waiting 3-5minutes until the route is actually calculated.

 

So what of the above makes sense?

For CrossCountry: Use profile motorcar, avoid toll roads, and avoid unpaved roads. Use shorter time.

For AllMountain/Enduro: Use profile motorcar, avoid toll roads. Use shorter time.

For Vertriding / Technical Enduro / Hiking or whatever you call it: Use profile motorcar or bicycle, don't avoid any roads/features.  Use shorter distance.

 Hiking/Mountaineering with Via Ferrata included: Use Pedestrian mode - without any avoidance.

 

-- As the map data in Openstreetmap is everywhere different, and also the offer of good ways/routes for mtbiking differs a lot, just try around a bit in Basecamp, to find out what happens. In General Basecamp and your GPS will route similar over short distances.

 

 

General Tips and Advices - e.g. Route Calculation Fails

If Routing fails and you need to get somewhere without being able to set via points, you can try with “shorter distance” caculation which should autoroute even through heavily mapped cities (actually the better a region is mapped, without sufficient bicycle/mtb routes the more difficult it is for the routing engine to get over longer distances, Enabling “shorter distance” instead of “Faster Time” gets you to your destination quite well (though then also big streets are chosen quite often). Due to the way the maps are setup, setting your GPS to “shorter distance” should generate routes that are much quicker. “Faster Time” calculates nicer routes, but will take much more time. It it fails with "out of memory" error, you can also change the route calculation method. Another possibility to to deactivate "avoid unpaved roads". Often some very small patches of unpaved roads will hinder the routing to work well. Then just try to cycle a bit nearer using the route, and after a few kilometers (or better say 20 turns) click on recalculate after reactivating avoid unpaved roads.

Routing does not work over long distances:

There are two main causes for bad routing: 1. non connected streets in OSM. 2. Not enough streets suitable for cycling - or tracks and pathes that are not tagged with tracktype/smoothness so that they are blocked when using "avoid unpaved roads". You should be able to route for 15km minimum to about 70-80km maximum without needing to route over via points on old GPS. Using Mapsource or newer GPS like Oregon or Dakota you can route over much longer distances. Very very long routes will never work because the routing engine of Garmin is not strong enough (and maybe there are still some improvements to be made in mkgmap). This is because Garmin algorithm likes to go straight for long time (like on a motorway) - routes suitable for cycling or mountainbiking make turns, have many intersections and are not so easy to be routed on. Because I don't want the maps to send you onto big roads, routing will not work over very long distances. For autorouting inside your car there are better maps available. Maps offered here are supposed to give you the best routing possible on Garmin GPS for mountainbiking / hiking or cycling. Solution: Insert additional via-points.

How to overcome problems when routing over long distances:

Routing without via points over large distances (i.e. 50-100km) will often not work, even though by setting via points you will find a way. The better the OSM Coverage the greater the distance you can cover with the autoroute function. For in car use I recommend either Garmin City Navigator maps if you have the doll to shell out, or the excellent Autoroutable maps by Lambertus:  http://garmin.na1400.info/routable.php The maps offered here are to be used for cycling, commuting via bicycle and roadbiking. I have structured the Routing Preferences so that small streets are preferred over larger streets. If you want to plan you're routes in Mapsource and be sure that recalculation works on GPS I recommend you to read through here: plan-routes-efficiently following this tutorial and using wingdb you can easily create routes via pc that go over 200-300km. I advise however to make a new route for each day.

 

34 comments to Autorouting

  • testagrigia

    Hallo

    Arbeite mit dem neusten Garmin Edge 1030, Softwareversion 3.20.
    Bei den Einstellungen zu den Aktivitätsprofilen gibts es folgende Möglichkeiten:
    1. Beim Standardtyp der Tour die nachfolgenden 9 “Typen”
    – Rennrad
    – Fahrt zur Arbeit
    – Mountainbiken
    – Offroad
    – Cyclocross
    – Indoor
    – Elektrofahrrad
    – E-Mountainbiken
    – Radfahren

    2. Bei der Navigation > Routing die nachfolgenden 8 “Routing-Modus”
    – Rennradfahren
    – Auf versch. Untergründen
    – Offroad-Radfahren
    – Mountainbiken
    – Autofahrt
    – Motorradfahren
    – Zu Fuss
    – Gerade Linie

    Meine Frage:
    1. Spielt die Wahl des Standardtyps der Tour beim Autorouting mit der OpenMtBMap eine Rolle? Wenn ja, welcher Typ ist zum Mountainbike bzw. Wandern zu empfehlen?
    2. Welcher “Routing-Modus” eignet sich zum Mountainbiken bzw. zum Wandern mit der OpenMtBMap am besten? (Die empfohlenen Modi Dirt-Biken oder Geländefahrung existieren leider nicht)

    Danke für eine Antwort
    testagrigia

    • extremecarver

      Ui – Standardtyp – die kenne ich noch gar nicht. Ich nehm mal an dass sind einfach Profile welche du dann konfigurieren kannst (beliebig?) – evtl auch umbennenbar?
      2. Hmm – probier mal Mountainbiken bzw Motorradfahren. Evtl auch Rennrad – das dürfte am besten passen.

      • testagrigia

        Danke für die Antwort.
        Den Standardtyp gab’s auch schon im Edge 1000; er hiess dort “Default Ride Type”. Wie er im Edge 1030 aussieht, ist auf dem Screenshot ersichtlich.

        Im Handbuch steht folgendes:
        “Wählen Sie Standardtyp der Tour, um den Typ der Tour einzurichten, der für dieses Aktivitätsprofil typisch ist, z. B. Fahrt zur Arbeit.
        TIPP: Nach einer Tour, die nicht typisch ist, können Sie den Typ der Tour manuell aktualisieren. Richtige Daten für den Typ der Tour sind wichtig für die Erstellung von Strecken, die für Fahrräder geeignet sind.”

        Diese Erklärung sagt aber nichts aus über den Sinn und die Bedeutung des Standardtyps beim Autorouting…

  • tc531

    Hi Felix

    I really like the site and the project you have started

    I plan to get a new Garmin for mountain biking in the Alps – up lifts, down trails. We’ve been there for 4 summers already, but plan to explore new areas this year.

    Can you recommend a particular model? It must bar mount, and be usable with gloves. We will mainly use it for exploration, rather than performance measurement.

    Thanks!

    Tim

  • richardpaul

    Hallo,
    ich verwende BaseCamp 4.5.1 in Zusammenhang mit dem EDGE 800 / firmware 2.70.
    Die Routen erstelle ich mit dem “Dirt-Biken” Profil, das inzwischen recht gut funktioniert.
    Aber: welche Einstellung am EDGE 800 empfielst Du für den Menü-Punkt “Routen berechnen für”:
    – Fahrrad ?
    – Auto/Motorrad ?
    – Fußgänger ?
    Verwendung: 900km Cross-Country Tour.
    Herzlichen Dank im Vorhinein!
    Gruß
    Richard

  • dmirko

    Hi, I use Basecamp 4.4.7 and I config ATV routing profile with your rule:

    For AllMountain/Enduro: Use profile ATV/Dirt Biking, avoid toll roads. Use shorter time.

    But, in this way when i routing a trip i have a straight line result. In “Road Type Avoidances” if i tick “Major Highways” the problem is resolved but in your Autorouting web page instructions you report this:

    NEVER Tick “Avoid Highways” – It will block the best ways. On my maps, shared use pathes and cycleways are encoded for the GPS as highways. Real highways or big streets where cycling is not allowed are not routable anyhow with the Openmtbmaps (so no need to avoid them).

    Can you help me?

    Best Regards

    Mirko

  • smudger

    Hi.

    I am getting this error on an GPSmap64 on an Italy and France map.

    Maps do not have routable roads in this area

    Any help would be appreciated.

  • wolli2000

    Hallo

    Ich arbeite mit dem Programm BaseCamp Version 4.4.6 (Mac OS) und habe mir mtbswitzerland_macosx.7z (Stand 06.03.2015) hinuntergeladen und entsprechend der Anleitung installiert (Standard-Layout). Die Anzeige in BaseCamp klappt soweit einwandfrei.

    Mein Problem besteht nun darin, dass die Routen-Erstellung Probleme bereitet, spricht nachdem Setzen von Start- und Endpunkt keine Route auf der Karte sichtbar ist.

    Mein Vorgehen:
    – Ich wähle zuerst unter “Erstellungswerkzeuge” die Option “Route erstellen”. Neben dem Mauszeiger erscheint dann das grüne Routen-Symbol, sobald sich der Mauszeiger über der Karte befindet.
    – Anschliessend betätige ich die linke Maustaste beim gewünschten Startpunkt und danach beim Endpunkt.
    => Es erscheint sehr kurz ein Dialogfenster mit dem Titel “Fortschritt” und dem Inhalt “Route berechnen…”. Anschliessend verschwinden die beiden Routenpunkte und es ist dann auch keine Route auf der Karte sichtbar. An was könnte das liegen?

    Für Tipps wäre ich dankbar. Es kann sich auch gut um einen Anfängerfehler von meiner Seite handeln :-).

    Grüsse
    Patrick

    • extremecarver

      Setz mehr Zwischenpunkte – die Distanz ist ziemlich sicher zu groß. Am besten nicht mehr wie 5-10km pro Zwischenpunkt an Strecke.

      • wolli2000

        Vielen Dank für die Rückmeldung. Das Problem trat bei mir aber auch bei kleinen Distanzen (50m, 100m, 1 km usw.) auf.

        Das Problem hat sich nun aber gelöst, nachdem ich innerhalb von BaseCamp zur Topo Schweiz Karte gewechselt habe, dort eine Route erstellt und anschliessend wieder zur openmtbmap_switzerland gewechselt habe. Ab diesem Zeitpunkt funktioniert nun das Routen ohne Probleme, auch nach einem Neustart von BaseCamp.

Leave a Reply