searoute-py icon indicating copy to clipboard operation
searoute-py copied to clipboard

Option to add "mandatory_passage" in searoute computation

Open jutogashi opened this issue 6 months ago • 2 comments

Hi,

Thanks for the package!

Often, I'm interested in comparing the difference between two routes, for example:

  • What is the distance from Houston to Haldia via cape?
  • What is the distance from Houston to Haldia via Suez?

In the first case, it's easy to force that, as I can do all available passages - 'Suez'.

However, in the second case, I have to consider that, for a ship to go through suez, it also has to go through "gibraltar" and "babalmandab"

It would be nice to have a simple option only to consider paths that go through a passage, instead of thinking about what must be restricted every time.

jutogashi avatar Aug 05 '24 21:08 jutogashi