Distance by sea calculator, intermediate coordinates?

Posted by Lucian2k on Stack Overflow See other posts from Stack Overflow or by Lucian2k
Published on 2010-03-24T23:59:27Z Indexed on 2010/03/25 0:03 UTC
Read the original article Hit count: 516

Filed under:
|
|
|

How do I calculate distance between 2 coordinates by sea? I also want to be able to draw a route between the two coordinates.

Only solution I found so far is to split a map into pixels, identify each pixel as LAND or SEA and then try to find the path using A* algorithm. Then transform pixels to relative coordinates.

There are some software packages I could buy but none have online extensions. A service that calculates distances between sea ports and plots the path on a map is searates.com

© Stack Overflow or respective owner

Related posts about python

Related posts about geo