Dne 06/10/2016 v 06:52 Marko Mäkelä napsal(a): > On Wednesday, October 5, 2016 at 18:28:20 UTC+3 Poutnik wrote: > > I see it as logical that Avoid_unpaved avoids surface=gravel. > > For what it is worth, my entry to OSM was via mkgmap > <http://www.mkgmap.org.uk/>, which translates maps in the proprietary > Garmin format. The Garmin routing engine seems to implement special > treating of the ‘last mile’. > The special treatment: If the closest applicable way is the only way > to reach the destination (or to leave the current location), then any > access restrictions or ‘avoid unpaved’ or similar routing preferences > would be ignored. (It might even be that oneway directions would be > ignored. And mkgmap would map access=destination, access=private, > access=no in the same way.) > So, in this case, the surface=gravel road would be chosen despite the > ‘avoid unpaved’ preference, because there is no alternative.
> Related note: My observation from the Garmin Edge 705 was that it > would generally always select the roads that are closest to the > selected starting and destination points. I am not sure if it would > avoid choosing a point on a motorway or motorway_link, but let us give > it the benefit of doubt and assume that it would choose the parking > aisle (or footpath if they are mapped) in this case. Similar approach can be obtained with Brouter profiles. The way preference is expressed as costfactor <1.0 , 10000> CF 10000 means the engine pretends such a way does not exist. CF 9999 means the engine pretends such a way does not exist for routing, but considers it geometrically for navigation hints. CF >> 1.0, <9999 means the engine considers the ways for routing, but with such a high penalty, that the was is used only if is the only option. What seems important is the internal logic of routing engine about reaching destination. I suppose the engines suppose the user brain is switched ON for the last mile. -- Poutnik ( The Wanderer ) My Brouter profiles https://github.com/poutnikl/Brouter-profiles/wiki -- You received this message because you are subscribed to the Google Groups "Osmand" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
