distance

mipylib.geolib.migeo.distance(x, y, islonlat=False)

Get distance of a line.

Parameters:
  • x – (array_like) X coordinates.

  • y – (array_like) Y coordinates.

  • islonlat – (boolean) x/y is longitude/latitude or not.

Returns:

Distance, meters for lon/lat.