genthalili / searoute-py

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

Routes between US West coast and Asia are plotted incorrectly #5

Closed tula-geo closed 2 years ago

tula-geo commented 2 years ago

Hi @genthalili thank you for this great package!

I seem to have a problem plotting routes between the West coast of the US and Asia though... Is this something I am doing wrong or is it a known bug?

image

Many thanks!

genthalili commented 2 years ago

Hi @tula-geo, can you share origin and destination inputs for this case?

tula-geo commented 2 years ago

@genthalili Thanks for your quick response!

Here the latitudes and longitudes of some examples that went wrong:

genthalili commented 2 years ago

@tula-geo Which version are you using? I tried your examples above, and they all look good to me ( also you need to set [long, lat] for origin and destination inputs) :

image image image

You should update to the latest version 1.0.8

tula-geo commented 2 years ago

@genthalili Ha, you were right, I had not specified a version when installing the package and was apparently on 1.0.6. This looks much better:

image

Thanks a lot - this is great stuff!

genthalili commented 2 years ago

@tula-geo great to hear that :)

then I'm closing this issue!