This is a modification of the Searoute project, to add support for the International Recommended Transit Corridor. A jetty-based docker server is also provided.
First, download and install maven to the path.
Second, run build_and_run_docker.sh
from the repo root directory, to compile searoute, build the docker container and run it. The container is exposed to port 8080.
That's it!
A sample route with the non-IRTC routes disabled: http://localhost:8080/searoute.html?res=5&ser=rou&nonIRTC=0&suez=1&panama=1&opos=32.54132080099997,29.956298828&dpos=58.563720703,23.621520996000015
The same route with non-IRTC routes enabled: http://localhost:8080/searoute.html?res=5&ser=rou&nonIRTC=1&suez=1&panama=1&opos=32.54132080099997,29.956298828&dpos=58.563720703,23.621520996000015
The IRTC detection is implemented in software, and is only tested to work for the 5km resolution (set using the res
parameter, see the test urls). Forks and pull requests are welcome!