This is based on the work of the BRouter project. Please see Git and Google Play or F-Droid for installation.
There are some files for use:
- waterway_nomod.brf . works with standard lookup table and standard data files
- river_canoe_nomod.brf . works also with the standard (adapted from river_poutnikl.brf)
- lookups_waterway.dat . contains hte lookups for the waterway only
- all_water.brf . lookup file for tile generation
- waterway.brf . works with the modified lookup table
- river_canoe.brf . needs a modification on lookup table
- folder brouter_one contains an update for brouter classes, lookup and waterway.brf for that (work is done, brouter could handle variable values)
Waterway routing is found as an online router at brouter.grade.de
With AFTrack since Oct 2020 comes a new BRouter handling. No direct interaction with BRouter profiles needed. After installation the file 'waterway_nomod.brf' is copied to the AFTrack folder. This works with the standard lookups.dat tag table and comes with small waterway routing.
With AFTrack version 1.12.0 (Jan 2021) comes an internal BRouter version that only works for waterways. It can download BRouter data files for US and Europe. These are very small and only contains the water routing data (e.g. E5_N50 = 3.4M / org. 131M). Please see it as a proof of concept.
To use all this inside AFTrack, do a long press on the map and select the ruler. It offers you two point to define start and end of a route. You can add points at the active point when you touch the second ring. Then select the routing mode and press the search button.
There is now a setting dialog for the routing preferences. By tap on a BRouter routing name you can define your favorite routing profile. To draw a new route when you move a routing point please select the checkbox 'Route direct'. The waterway routing has its own data files with width, height and depth on canal or rivers and other (Europe and North America only) - see project folder 'brouter one'.
And a work around for the calculation of splitted routes. Define a point as 'not routable' (color changes) and the distance is calculated direct.
This can be combined with wind routing. Attention, the routing with wind is ideal - only one angle related to the wind. There are also currents, changes in wind direction and other things.
river.brf is a template from BRouter project for own experiments.
AFTrack Homepage to get more info about AFTrack
AFTrack Sailing Page to get more info about AFTrack and sailing