User:Tcncv/Geodist/doc

Source: Wikipedia, the free encyclopedia.

These templates calculate the distance between two geographic points using Vincenty's formulae.

Usage

{{User:Tcncv/Geodist | lat1 | long1 | lat2 | long2 }}

All parameters are signed decimal values in degrees.

Examples

  • Lower 45 degrees latitude = 4984.944
  • Upper 45 degrees latitude = 14986.91 (problem case)
  • Upper 45 degrees latitude = 5017.021 (adjusted)
  • 45 degrees longitude = 5009.321
  • 45/45 lat/longitude = 6662.454
  • Paris to Berlin - 878.593 km (Vincenty 878594.288 m)
  • Los Angeles to Perth - 15023.658 km (Vincenty 15023747.718 m)
  • London to Cape Town - 9635.44 km (Vincenty 9635442.275 m)
  • Moscow to Washington DC - 7843.327 km (Vincenty 7843324.779 m)
  • Rio to Tokyo - 18558.6 km (Vincenty 18558543.383 m)

Internally used templates

Utilities:

Core Vincenty calculation: