Geilsm / Python-Ports-Distance-Calculator

A distance calculator that is able to return distance between two ports based on the derived sea route.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Python-Ports-Distance-Calculator

A distance calculator that is able to return the distance between two ports based on the derived sea route.

Same as the R version. The python script directly uses the raster map (cost map) I transformed by using R. The script first transform the raster map into an array. By using the route_through_array function provided by scikit-image, the least cost route was able to be derived and stored as an array for further distance calculation.

About

A distance calculator that is able to return distance between two ports based on the derived sea route.


Languages

Language:Python 100.0%