genthalili / searoute-py

A python package to calculate the shortest sea route between two points on Earth.
Apache License 2.0
63 stars 14 forks source link

any way to try and use the malacca straits on this route? #26

Closed jimrobo closed 4 months ago

jimrobo commented 4 months ago

I see a way to restrict certains areas which is great. Is there a way to either manually add to this or to ask it to try and weight the routing a certain way around certain areas? My specific issue currently is:

example: this route from anywhere mid world heading west currently not going through the suez will map:

image

in reality all the traffic seems to go through malacca:

image

ideal route:

image

I am guessing it is going to route all locations through this section the same way.

jimrobo commented 4 months ago

just an fyi for anyone that strays into the same issue. Theres a restriction zone in the data that I dipped my toe into that either I missed in the docs or its not there entitled sunda. When added it then goes through as above