pyinterp.core.geodetic.LineString.curvilinear_distance#

LineString.curvilinear_distance(self: pyinterp.core.geodetic.LineString, strategy: str = 'thomas', wgs: pyinterp.core.geodetic.Spheroid | None = None) numpy.ndarray[numpy.float64[m, 1]]#

Computes the curvilinear distance between the points of this instance.

Parameters:
  • strategy – the distance strategy to use. This parameter can take the values andoyer, thomas or vincenty

  • wgs – the spheroid to use. If not provided, the WGS84 spheroid is used.

Returns:

The curvilinear distance between the points of this instance.