osmandapp / OsmAnd

OsmAnd
https://osmand.net
Other
4.67k stars 1.02k forks source link

"boat" offline routing profile does not find routes #17126

Closed a-0-dev closed 1 year ago

a-0-dev commented 1 year ago

🐞 routing report

Routing engine

Routing Profile

boat

Start and end points

Any two points on open water (e.g. mediterranean sea) directly connectable without any land inbetween

Actual and expected routes

A direct route should be suggested (straight line between start and destination).

Observed behaviour:

(the message at the bottom says "route could not be computed", the start and end points are the only points entered for this route. No intermediate waypoints.)

Is this a regression?

Yes, the previous version in which this bug was not present was: .... I have not used this feature for a longer time, I assume it has not worked before. ## 🌍 Your Environment **OsmAnd Version:**



4.3.8 (F-Droid)

Device and Android/iOS version: Samsung S10e, Android 12

Maps used (online or offline):

Anything else relevant? At least for boat navigation at sea, routes are usually entered manually using waypoints anyways, since weather, depths, traffic etc. also play a role which cannot be considered properly by the routing engine.

So having the "boat" routing engine be a more-or-less direct line routing would already improve the situation significantly, the user would just set waypoints and subsequently see the total distance, have the routing line be highlighted on the map, waypoints automatically closed when passed nearby (couldn't test that due to routing issues described above) etc.

Complex path finding is more necessary on rivers etc., but the current routing engine doesn't work properly there either, often not finding a route at all or saying the track has an undefined length.

Zirochkabila commented 1 year ago

OsmAnd~ 4.5.0#35904m, Released: 2023-05-07

Expected OsmAnd Web

Actual OsmAnd app

vshcherb commented 1 year ago

Nautical navigation is not supported in open sea. It's a duplicate

Zirochkabila commented 1 year ago

@a-0-dev Alternatively, you can create a track and navigate it: Menu > Plan a route > Create new route > Straight line

vshcherb commented 1 year ago

Duplicate https://github.com/osmandapp/OsmAnd/issues/8081

matgitbac commented 1 year ago

I have the problem with the point on land routing in coastal areas in OSMAND 4.4.7 and nautical 1.0. Fortunately the "direkt line" routing works.

DmitryAlexei commented 1 year ago

Due to lack of most Fairways in OpenStreeetMap data, the boat routing is not recommended for open water navigation, it is suggested to use Direct to point instead. Also see article about boat routing.

matgitbac commented 1 year ago

Thank you Dmitry, since I know about to use direct to point routing, that workaround is ok for me.