Hitung Jarak (NM)
Anonymous
python
10/04/2023 10:23 AM
420 B
18
Indexable
import searoute as sr
origin = [0.3515625, 50.064191736659104]
destination = [117.42187500000001, 39.36827914916014]
route = sr.searoute(origin, destination)
print("{:.1f} {}".format(route.properties['length'], route.properties['units']))
routeMiles = sr.searoute(origin, destination, units="naut")Editor is loading...