uwacan.positional.Line.distance_to#
- Line.distance_to(other)#
Calculate the distance to another coordinate.
See
uwacan.positional.distance_tofor details on the implementation.- Parameters:
- other
Coordinatesor convertible The coordinate to calculate the distance to. If this is an object with
latitudeandlongitudeattributes, they will be used. Otherwise, thePositionparser will be called.
- other
- Returns:
- distance
DataArray The distance to the other coordinate.
- distance