pyinterp.core.geodetic.Point.distance

Point.distance(self: pyinterp.core.geodetic.Point, other: pyinterp.core.geodetic.Point, strategy: str = 'thomas', wgs: Optional[pyinterp.core.geodetic.System] = None) float

Calculate the distance between the two points.

Parameters
  • other (pyinterp.core.geodetic.Point) – The other point to consider.

  • strategy (str) – The calculation method used to calculate the distance. This parameter can take the values “andoyer”, “thomas” or “vincenty”.

  • wgs (pyinterp.core.geodetic.System, optional) – WGS system used for the calculation, default to WGS84.

Returns

the distance between the two points in meters.

Return type

float