{"id":42,"date":"2009-04-07T16:11:03","date_gmt":"2009-04-07T15:11:03","guid":{"rendered":"https:\/\/openmtbmap.org\/?page_id=42"},"modified":"2023-07-13T16:05:13","modified_gmt":"2023-07-13T14:05:13","slug":"autorouting","status":"publish","type":"page","link":"https:\/\/openmtbmap.org\/about-2\/autorouting\/","title":{"rendered":"Autorouting"},"content":{"rendered":"<p><\/p>\n<h2>About the Autorouting<\/h2>\n<p style=\"font-weight: normal;\">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 priority. 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 <a href=\"https:\/\/www.velomap.org\">VeloMaps<\/a> are better for racing bicycles..<\/p>\n<p style=\"font-weight: normal;\">\u00a0<\/p>\n<h3 style=\"font-weight: normal;\"><strong>Downhill preference on difficult trails<\/strong><\/h3>\n<p style=\"font-weight: normal;\">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\u00a0<a href=\"https:\/\/wiki.openstreetmap.org\/wiki\/Key:incline\" target=\"_blank\" rel=\"noopener noreferrer\">incline tag<\/a>\u00a0correctly. 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\u00a0<a href=\"https:\/\/wiki.openstreetmap.org\/wiki\/Key:mtb:scale\" target=\"_blank\" rel=\"noopener noreferrer\">mtb:scale<\/a>\u00a0for 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&gt;15% or incline&lt;-15%.<\/p>\n<p style=\"font-weight: normal;\">\u00a0It 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.<\/p>\n<p>&nbsp;<\/p>\n<h2>Usage Instructions - For All Programs \/ GPS.<\/h2>\n<p>Note that all may behave different. In principle we have the following classes:<\/p>\n<p>&nbsp;<\/p>\n<p><strong>New Generation<\/strong> - Basecamp v4.6 - 4.8, Oregon 700\/750, GPSMaps 64 current firmware\/66 series, Edge 830\/1030, Edge 820 with current firmware<\/p>\n<div class=\"su-spoiler su-spoiler-style-fancy su-spoiler-icon-plus su-spoiler-closed\" data-scroll-offset=\"0\" data-anchor-in-url=\"no\"><div class=\"su-spoiler-title\" tabindex=\"0\" role=\"button\"><span class=\"su-spoiler-icon\"><\/span>New Generation - 2016 onwards - Basecamp 4.6 or newer:<\/div><div class=\"su-spoiler-content su-u-clearfix su-u-trim\"><\/p>\n<h2>New Generation - Firmwares from 2016 onwards - Basecamp 4.6 or newer:<\/h2>\n<p>Note that long distance routing does not work reliably with car based vehicles anymore - except if you block residential roads.\u00a0<\/p>\n<p>Usually the best setting is now to use bicycle, Tour cycling or mountainbike or, shorter distance, and as avoidances only toll road and or unpaved roads based on preference for difficult or less difficult trails.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-17721 size-full\" src=\"https:\/\/www.velomap.org\/wp-content\/uploads\/2019\/09\/Basecamp_3.6.jpg\" alt=\"Basecamp Autorouting Settings\" width=\"636\" height=\"652\" \/><\/p>\n<p>Then there are several <span style=\"background-color: #339966;\"><strong>Bicycling, Mountainbiking, Tour Cycling <\/strong><\/span>\u00a0options. With the OpenMTBMap - if you configure the avoidances the same, they all route alike. They are now the best option for longer distance routing.\u00a0<\/p>\n<p><span style=\"background-color: #ffcc00;\"><strong>ATV and Dirt Biking<\/strong><\/span> Route pretty similar - Dirt Biking gives the best routes and can route over shorter distances (&lt;=10km by air without any intermediary routing points). IUt usually fails on longer distances. Also Dirt Biking is not available on most GPS devices - while ATV is.<\/p>\n<p><span style=\"background-color: #ffcc00;\"><strong>Hiking, Walking, Mountaineering<\/strong><\/span> also all behave alike --&gt; The results are okay for short distances with the OpenMTBMap - over long distances however it seems to use the worst streets\/ways for cycling (mainly primary and secondary roads).<\/p>\n<p><strong><span style=\"background-color: #ff0000;\">Motocar\/Motorcycle<\/span><\/strong><\/p>\n<p>not suitable for longer distances. Very short distances route pretty well. In general ATV or dirt biking are better however.<\/p>\n<p><\/div><\/div>\n<p><strong>Mid Generation<\/strong> - Basecamp v3.3 to v4.5. Dakota, Oregon 600\/650, Montana, GPSMaps 62 series with newest Firmware, 64 with older firmwares, edge 520\/820 with older firmwares<\/p>\n<div class=\"su-spoiler su-spoiler-style-fancy su-spoiler-icon-plus su-spoiler-closed\" data-scroll-offset=\"0\" data-anchor-in-url=\"no\"><div class=\"su-spoiler-title\" tabindex=\"0\" role=\"button\"><span class=\"su-spoiler-icon\"><\/span>Mid Generation (Basecamp 3.3 -  4.5 or older Garmin GPS with first version of  Activity Routing Support)<\/div><div class=\"su-spoiler-content su-u-clearfix su-u-trim\"><\/p>\n<h2>Mid Generation (Basecamp 3.3 -\u00a0 4.5 or older Garmin GPS with first version of\u00a0 Activity Routing Support)<\/h2>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"https:\/\/openmtbmap.org\/wp-content\/uploads\/images\/basecamp_automotive.png\" alt=\"Basecamp Autorouting Settings\" width=\"647\" height=\"655\" \/><\/p>\n<p><strong>Basecamp v3.3 to 4.5<\/strong>\u00a0behave 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.<\/p>\n<p>&nbsp;<\/p>\n<p>In the top left, you can set the Profile. Currently Automotive is activated.<\/p>\n<p><strong>Automotive and Motorcycling<\/strong> 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.<\/p>\n<p>Then there are several <strong>Bicycling, Mountainbiking, Group Cycling <\/strong>(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\u00a0 to often use bigger streets with newer firmwares though.<\/p>\n<p><span style=\"background-color: #339966;\"><strong>ATV and Dirt Biking<\/strong><\/span> Route pretty similar - Dirt Biking gives the best routes and can route over very long distances (&gt;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?).<\/p>\n<p>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).<\/p>\n<p><strong>Hiking, Walking, Mountaineering<\/strong> also all behave alike --&gt; 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!<\/p>\n<p>&nbsp;<\/p>\n<p><strong>So what of the above makes sense?<\/strong><\/p>\n<p>For CrossCountry: Use profile ATV\/Dirt Biking, avoid toll roads, and avoid unpaved roads. Use shorter time.<\/p>\n<p>For AllMountain\/Enduro: Use profile ATV\/Dirt Biking, avoid toll roads. Use shorter time.<\/p>\n<p>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.<\/p>\n<p>Hiking\/Mountaineering with Via Ferrata included: Use Mountaineering mode - without any avoidance.<\/p>\n<p>-- 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.<\/p>\n<p><\/div><\/div>\n<p><strong>Old Generation<\/strong> - Mapsource, Basecamp v1 &amp; v2 &amp; v3.1, v3.2, All Garmin GPS WITHOUT Activity Routing (etrex vista\/legend hcx or older, edge 705, GPS Maps 60 series; AND Dakota, first generation Oregon, Montana,GPSMaps 62 series with older Firmwares )<\/p>\n<div class=\"su-spoiler su-spoiler-style-fancy su-spoiler-icon-plus su-spoiler-closed\" data-scroll-offset=\"0\" data-anchor-in-url=\"no\"><div class=\"su-spoiler-title\" tabindex=\"0\" role=\"button\"><span class=\"su-spoiler-icon\"><\/span>Old Generation (Mapsource, Garmin GPS without Activity Routing Support)<\/div><div class=\"su-spoiler-content su-u-clearfix su-u-trim\"><\/p>\n<h2>Old Generation (Mapsource, Garmin GPS without Activity Routing Support)<\/h2>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"https:\/\/openmtbmap.org\/wp-content\/uploads\/images\/mapsource_autorouting.png\" alt=\"Mapsource Autorouting Settings\" width=\"523\" height=\"434\" \/><\/p>\n<p><strong>Transport Modes<\/strong><\/p>\n<p><strong>Car\/Motorcycle<\/strong> =\u00a0 Works well on shorter distances - might produce long detours.<\/p>\n<p><strong>Taxi<\/strong> = behaves like Car\/Motorcycle.<\/p>\n<p><strong>Bus \/ Truck<\/strong> = Avoids turning. Hence don't use it.<\/p>\n<p><strong>Pedestrian<\/strong> No good autorouting over longer distances, will usually give quite direct vias - does not respect oneways.<\/p>\n<p><strong>Bicycle<\/strong> =\u00a0 Works well in combination with \"shorter distance\". Is good for calculating longer distances on you GPS if you get \"out of memory\" errors.<\/p>\n<p>&nbsp;<\/p>\n<p>Only For Mapsource - Note the slider called \"Road Selection\".\u00a0 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\".<\/p>\n<p>Only Available on (some) old Generation Garmin GPS Devices -\u00a0<span style=\"font-weight: bold;\">Route Calculation Method: <\/span>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.<\/p>\n<p><strong>Route Calculation Percentage value<\/strong> -\u00a0 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.<\/p>\n<p>&nbsp;<\/p>\n<p><strong>So what of the above makes sense?<\/strong><\/p>\n<p>For CrossCountry: Use profile motorcar, avoid toll roads, and avoid unpaved roads. Use shorter time.<\/p>\n<p>For AllMountain\/Enduro: Use profile motorcar, avoid toll roads. Use shorter time.<\/p>\n<p>For Vertriding \/ Technical Enduro \/ Hiking or whatever you call it: Use profile motorcar or bicycle, don't avoid any roads\/features.\u00a0 Use shorter distance.<\/p>\n<p>\u00a0Hiking\/Mountaineering with Via Ferrata included: Use Pedestrian mode - without any avoidance.<\/p>\n<p>For the Old Generation, 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.<\/p>\n<p><\/div><\/div>\n<p>&nbsp;<\/p>\n<h2>Faster Time vs Shorter Distance<\/h2>\n<p>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).<\/p>\n<p>&nbsp;<\/p>\n<h3>Estimated Arrival time<\/h3>\n<p>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.<\/p>\n<p>&nbsp;<\/p>\n<h2>Road Type Avoidances<\/h2>\n<p><span style=\"color: #ff0000;\"><strong>NEVER Tick\u00a0 \"Avoid Highways<\/strong>\"<\/span> - 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).<\/p>\n<p><strong>Interstates<\/strong>: don't avoid them, you'll miss the nicest trails.<\/p>\n<p><strong>Major Highways:<\/strong> 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.<\/p>\n<p><strong>State Highways:<\/strong> Don't tick it. Most ways in the OpenMTBMap would be blocked.<\/p>\n<p><strong>Residential Roads<\/strong>: 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.<\/p>\n<p><strong>Unpaved roads:<\/strong> 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.<\/p>\n<p>&nbsp;<\/p>\n<h2>Feature Type Avoidances:<\/h2>\n<p><strong>Toll roads<\/strong> 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.<\/p>\n<p><strong>Avoid Ferries<\/strong> - Avoids ferries, cablecars, gondolas and mixed lifts.<\/p>\n<p><strong>U-Turn<\/strong>s avoids any turn over 120\u00b0 - best not use, because it will destroy sensible autorouting.<\/p>\n<p><strong>Cable Cars:<\/strong> Does not matter with OpenMTBMaps (or more correctly, does not work, best don't tick anyhow).<\/p>\n<p><strong>Narrow Trails:<\/strong> Does not matter with OpenMTBMaps<\/p>\n<p><strong>Carpool lanes<\/strong>: Avoids all ways where cycling is forbidden (and no more). (is activated by default in all profiles but car\/motorcycle).<\/p>\n<p><strong>Date and Time Closures<\/strong> - it is currently not possible with mkgmap to produce maps that react to this setting.<\/p>\n<p><strong>Climbing Paths:<\/strong> Does not matter with OpenMTBMaps.<\/p>\n<p><strong>Roundabouts:<\/strong> 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.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<h2>General Tips and Advices - e.g. Route Calculation Fails<\/h2>\n<p>If Routing fails and you need to get somewhere without being able to set via points, you can try with \u201cshorter distance\u201d 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 \u201cshorter distance\u201d instead of \u201cFaster Time\u201d 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 \u201cshorter distance\u201d should generate routes that are much quicker. \u201cFaster Time\u201d 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.<\/p>\n<h3>Attention - Same Map.<\/h3>\n<p>You need to plan the routes with the identical map in Basecamp (same country, same date (that is paramount) that you use on your GPS device. Unicode\/Non Unicode does not matter however. If you created the route with an older map - recalculate it in Basecamp first - then send it again to your GPS device. Also if you update maps on your device - it will often lead to errors if you try to use an older route (does not have to - but the more months between the map used for planning, and the map used with the route on your device - the more likely you get route calculation errors). To correct this - recalculate the routes in Basecamp with the new map - and send them again to your device. If the route now does not work in Basecamp anymore - its quick to notice. Maybe you will need to move some via points.<\/p>\n<h3>Routing does not work over long distances:<\/h3>\n<p>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.<\/p>\n<h3>How to overcome problems when routing over long distances:<\/h3>\n<p>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:\u00a0 <a class=\"linkification-ext\" title=\"Linkification: http:\/\/garmin.na1400.info\/routable.php\" href=\"https:\/\/garmin.openstreetmap.nl\/\">http:\/\/garmin.openstreetmap.nl\/<\/a> 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: <a href=\"https:\/\/openmtbmap.org\/about-2\/plan-routes\/\" target=\"_blank\" rel=\"noopener noreferrer\">plan-routes-efficiently<\/a> following this tutorial and using wingdb you can easily create routes via pc that go over 200-300km. I\u00a0advise however to make a new route for each day.<\/p>\n<p>&nbsp;<\/p>\n<p>","protected":false},"excerpt":{"rendered":"<\/p>\n<p> About the Autorouting <\/p>\n<p style=\"font-weight: normal;\">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 priority. However note that the GPS will not take huge detours on trails to avoid a primary or secondary highway &#8211; 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 &#8211; however the VeloMaps are better for racing bicycles..<\/p>\n<p style=\"font-weight: normal;\">\n<p> Downhill preference on difficult trails <\/p>\n<p style=\"font-weight: normal;\">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 [&#8230;]<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":30,"menu_order":2,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-42","page","type-page","status-publish","hentry","odd"],"_links":{"self":[{"href":"https:\/\/openmtbmap.org\/wp-json\/wp\/v2\/pages\/42","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/openmtbmap.org\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/openmtbmap.org\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/openmtbmap.org\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/openmtbmap.org\/wp-json\/wp\/v2\/comments?post=42"}],"version-history":[{"count":0,"href":"https:\/\/openmtbmap.org\/wp-json\/wp\/v2\/pages\/42\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/openmtbmap.org\/wp-json\/wp\/v2\/pages\/30"}],"wp:attachment":[{"href":"https:\/\/openmtbmap.org\/wp-json\/wp\/v2\/media?parent=42"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}