# Documentation of m_lldist

Global Index (all files) (short | long) | Local Index (files in subdir) (short | long)

## Function Synopsis

    dist = m_lldist(long,lat)

## Help text

     M_LLDIST Spherical earth distance between points in long/lat coordinates.
       RANGE=M_LLDIST(LONG,LAT) gives the distance in meters between
       successive points in the vectors LONG and LAT, computed
       using the Haversine formula on a spherical earth of radius
       6378.137km. Distances are probably good to better than 1% of the
       "true" distance on the ellipsoidal earth

       See also M_XYDIST

## Cross-Reference Information

| This function is called by
--- | ---
| m_xydist

Pierre-Michel THEVENY <theveny@dt.insu.cnrs.fr>