Closed Isolator70 closed 1 year ago
@Isolator70 Behavior was reproduced in the web version, but not on the device. Standard settings of the Moped profile are similar to those of a car OsmAnd
@Zirochkabila : What router are you using? I'm using the "OsmAnd Offline Moped" Router. Where can the settings of the "Moped" profile be checked? I can only select if I want to use "Ferries" or not and the speed (which at standard settings are way(!) to slow).
@Isolator70 This is a standard profile with standard settings Moped.osf.zip
@Zirochkabila : How can I export/ generate/ find this file on my device for comparison reasons?
Found something interesting while playing around - I tried to create a new "Moped" profile based on the existing one when I saw this: Seems for me the profile is based on Bicycle profile. Why?
Stupid question: Is the "Moped" a default profile delivered as a standard with the app or did I create it and forgot about?
So the json files are quite different, here is mine (changed extension osf to zip) and please find attached the output of diff on both .json. The items file in the .osf are identically (sha256sum checked). Moped_Isolator.zip Diff_output_profile_moped.json.txt
Now the Master questions:
Now the Master questions:
1. Is there a Moped profile delivered along with OsmAnd? 2. Or did I create mine with no idea what I was doing based on bicycle?
My OsmAnd (4.4.7) comes with a moped profile. And here it also says that it is based on the bicycle profile. Not sure what this means exactly, though.
My OsmAnd (4.4.7) comes with a moped profile.
Thanks, could you please export and post it here for comparison?
Not sure what this means exactly, though.
Looking into @Zirochkabila profile shows way more routing options which are not available in my profile and other suspicious differences:
--
Ziko: "nrenderer_baseAppMode": "",
Iso: "nrenderer_baseAppMode": "bicycle",
--
Ziko: "nrenderer_appMode": "",
Iso: "nrenderer_appMode": "moped",
--
Ziko: "prouting_avoid_toll": "false",
Ziko: "prouting_avoid_unpaved": "false",
Ziko: "prouting_avoid_borders": "false",
Ziko: "prouting_avoid_ice_roads_fords": "false",
Ziko: "prouting_avoid_ferries": "false",
Ziko: "prouting_avoid_motorway": "false",
Ziko: "prouting_avoid_low_emission_zone": "false",
Ziko: "prouting_avoid_shuttle_train": "false",
Ziko: "prouting_avoid_tunnels": "false",
Ziko: "prouting_avoid_4wd_only": "false",
Ziko: "prouting_allow_private": "true"
Iso:
--
My OsmAnd (4.4.7) comes with a moped profile.
Thanks, could you please export and post it here for comparison?
Sure. This is the standard, unmodified moped profile of OsmAnd 4.4.7: Moped.osf.txt
@Isolator70 Moped profile is provided with OsmAnd Try the following - back up all files locally (just in case): Menu > Settings > Export to file. After that, install the night version and restore OsmAnd to factory settings (do not export your data yet) https://osmand.net/docs/versions/nightly_versions After that, try to create a route using the standard moped profile (it should be disabled by default, you will need to activate it). If everything works, transfer all the data from the export file except for the moped profile.
Steps for reproduction found!
I reset my moped profile and achieved the same result like @Zirochkabila - a legal routing. BUT: If I change the "Standard Speed" in the Navigation setting, vehicle parameters - which is much to slow in the default setting - to realistic/personal values of my scooter, the illegal routing happens. Max Speed was set to maximum (53 km/h), Average Speed to 40 km/h. After that, the illegal routing happens.
Indeed, I can reproduce this. Increasing the standard speed leads to wrong routing.
Max Speed was set to maximum (53 km/h), Average Speed to 40 km/h. After that, the illegal routing happens.
OsmAnd~ 4.5.0#35877m, Released: 2023-05-02 If used these derivatives, then the route does change.
Talking about the Default speed values in OsmAnd for the Moped profile (they are way to low):
A modern scooter has a (minimum) max Speed of 45 km/h. Most are a little faster (maybe 48 km/h) even without modification, the modified ones (throttle in variator removed) go easily 55-60 km/h. As written in the starting post, the ex. GDR ones are allowed to go 60 km/h legally.
Going on Country roads most scooters are continuously full speed over longer distance. So following two additional issues of OsmAnd are:
Slider properties:
Talking about the Default speed values in OsmAnd for the Moped profile (they are way to low)
I've already created #17096 for this.
@Isolator70 Hi. I've added priority section to moped routing. Now it builds the route like this: This is 100% asphalt route and without any agricultural restrictions. Please test this updated routing. New maps are not required only fresh OsmAnd nightly.
50.49651, 8.47116
50.51830, 8.48819
4.4.10.1 OsmAnd~ 4.5.0#142m, Released: 2023-06-02
Works when the default speed exceeds 25 km
π routing report
Routing engine
OsamAnd internal routing engine
Routing Profile
Moped profile ~without any changes~ Edit (20230502): Speed of routing option was set to personal (higher) values was used
Start and end points
Starting point: https://www.openstreetmap.org/way/525451599#map=17/50.49651/8.47116 End point: https://www.openstreetmap.org/way/525451599#map=18/50.51830/8.48819
Actual and expected routes
OsmAnd routes over clearly as "agricultural" tagged ways and therefor excluded for motor vehicles like cars, motorcycles, mopeds and mofas as well.
Additionally the way's smoothness is partly "bad", so a "Moped" rider would not choose if there were legal alternatives because he goes with 45km/h speed and more.
I expect:
Is this a regression?
Did not use it so far, so I cannot rate.
π Your Environment
OsmAnd: 4.4.7
Device and Android/iOS version:
Huawei P10 (VTR-L29), Android 9.0
Maps used (online or offline):
Anything else relevant?
A "Moped" typically has a maximum speed of 45km/h, some are allowed to go even 60 (ex. GDR). Nowadays it's colloquial name is "Scooter" with limited speed, in German "Kleinkraftrad": https://de.wikipedia.org/wiki/Kleinkraftrad It is not allowed to go on "BundesstraΓe" or "Autobahn" (max speed >= 61km/h). This type of vehicle if very popular in many countries of the world.
It is something different than the "Mofa" which only goes 25km/h (and most probably does not need navigation, as the typical traveling distance is much more limited. (https://de.wikipedia.org/wiki/Mofa). The popularity compared to 45km/h Scooter class is quite low.
https://user-images.githubusercontent.com/35434137/233939852-4e9f6a9a-8945-4de4-86d8-57ad2b70e2d8.mp4