Beware of broken car routing since OsmAnd 3.3
Hi. I want to make you all aware of a big problem in car navigation made in OsmAnd 3.3 and unfixed since then (still in 3.4). In a trivial fix for a routing penalty for a height restrictor barrier and unintentional change was made to switch routing logic from "all unknown barriers are impassable for a car" to "all unknown barriers are passable for a car". You can see the changes and discussion at these links: https://github.com/osmandapp/Osmand/issues/5170 (main discussion) https://github.com/osmandapp/Osmand/issues/6530 https://github.com/osmandapp/OsmAnd-resources/commit/a78c3796550ee8ec34b81c2b753c2d65b975b056 The "all unknown barriers are impassable for a car" logic has been in OsmAnd for a few years (I have implemented it) and I haven't seen reports of any problems with it, needing a revert of it. The new "all unknown barriers are passable for a car" logic is a problem, because it allows routing through obstacles that OsmAnd does not know what they are. There is an explicit rule on OpenStreetMap wiki (https://wiki.openstreetmap.org/wiki/Barriers#Routing) saying that unknown (undocumented) barriers should he handled as access=no, meaning nothing can pass them (not even a pedestrian, not to mention a car). So people adding OSM data are following this rule. But OsmAnd developers are now intentionally ignoring this rule and assuming the opposite in OsmAnd. Thus, logically, the data and OsmAnd behaviour on the data will never match and bad routes will be calculated. Not only bad, but outright dangerous. OsmAnd will happily navigate a car through glass, spikes, jersey barriers, kerb, cycle barriers, whatever. In the new logic, each barrier that is NOT passable with a car, must explicitly be added by the OsmAnd developers to the routing.xml file, see https://github.com/osmandapp/OsmAnd-resources/blob/master/routing/routing.xml#L790 . You can see I am right by checking these changes since then: https://github.com/osmandapp/OsmAnd-resources/commit/7fdb1ea68a3e62d991bc3fec2250d7887fc617d0#diff-dbc3b73746ed4cac0d1b5912f839ca0e https://github.com/osmandapp/OsmAnd-resources/pull/578 Users are already finding out OsmAnd routes through improper barriers and are adding those to the routing file. But that is an infinite process, which could be avoided. There are almost 2000 different barrier types used in the OSM database ( https://taginfo.openstreetmap.org/keys/barrier#values). Good luck analyzing them, determining which are passable with a car, and adding them to the routing file. Sadly, the developers now claim the change was intentional and does not need to be fixed. Attentive users will see in the routing.xml file that there are still multiple errors in the "obstacle" block, which show that the change really wasn't done intentionally and properly (while claimed so), so in this case OsmAnd devs actually have no idea what is going on. I tried to discuss this in the linked bug tracker, but nothing helped yet. It seems this needs action from more users. The fix for all this is a single line in routing.xml file, which I can easily do locally after each OsmAnd release. But without the fix, the OsmAnd routing is dangerous and useless so I can't recommend OsmAnd app to any users, which I happily did in the past. Good luck. aceman -- 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 osmand+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/osmand/858f20cd-6dda-48d2-8216-399fb0759545%40googlegroups.com.
Re: Favorites : edit coordinates ?
Have you tried editing the favourites.gpx file directly? On Wednesday, August 21, 2019 at 6:43:48 AM UTC-4, Helmut Jarausch wrote: > > Hi, > I haven't found a way to edit (change) the coordinates of a saved favorite. > Typical application: > Sometimes OSMAnd doesn't know the location of an (exact) address. > Having found that by Google Maps I'd like to change the stored coordinates. > Is this possible? > > I know a workaround is to find the coordinates and save the location as a > new favorite. > > Many thanks for a hint, > Helmut > > -- 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 osmand+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/osmand/79d14575-a9ab-45de-acf1-61d0e4c3d1af%40googlegroups.com.
Re: routing settings as weight and height are too useless now
You can download routing xml from here: https://github.com/osmandapp/OsmAnd-resources/blob/r3.4/routing/routing.xml Edit it as you need and put into your osmand data folder (something like /storage/Android/data/net.osmand.plus/files) . Dňa sobota, 3. augusta 2019 22:23:37 UTC+2 Peter Jombík napísal(-a): > > Please can you change settings to normal values? > > Why height goes by 0,5m? and maximum is 7m? Never see 7m height truck > > Please can you change it by 0,1m for height and 0,5t for weight? Please > > Or how to use routing.xml? I try find some help on forums or here but > everything is for very old versions. > > Thank you > -- 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 osmand+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/osmand/51fec0f0-7dcb-445c-aa8c-58dfb4946852%40googlegroups.com.
Favorites : edit coordinates ?
Hi, I haven't found a way to edit (change) the coordinates of a saved favorite. Typical application: Sometimes OSMAnd doesn't know the location of an (exact) address. Having found that by Google Maps I'd like to change the stored coordinates. Is this possible? I know a workaround is to find the coordinates and save the location as a new favorite. Many thanks for a hint, Helmut -- 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 osmand+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/osmand/51d84411-385d-44f6-a542-688077a5e9a1%40googlegroups.com.
Re: Issues with GPS fix in mountain areas
I need to add one more info. - smartphone devices into open area can locate us from 10-20 seconds into cold start. hot start into 1-3 seconds. i have test from 2012 until today, over 400 android devices and all of them it was into airplane mode. from android 2.3.4 up to android 9 On Thursday, August 15, 2019 at 11:57:04 AM UTC+3, Manu EL wrote: > > Hello, I often can't get GPS fix in mountain areas with osmand. When using > GPS Test, the constellation shows 10 or more satellites above me, which are > green, but the number of used satellites is 0 => no fix. Randomly it may > work again (like 9 or 10 satellites used out of 10 satellites seen) then > loses fix again. I have noticed that behaviour only when I'm in mountains > area. Otherwise Osmand gets GPS fix easily. It occurs with other > localisation apps. But often osmand is also launched simultaneously. I > don't understand. I have a Samsung galaxy A3 with Android 6.0.1. > Would you have any idea? Thank you -- 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 osmand+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/osmand/f7b28ecd-0f86-4a36-8375-f7cd32242ecb%40googlegroups.com.