Computes the w:great circle distance between two points, specified by the latitude and longitude, using the w:haversine formula.

साँचा:Tlx

or

साँचा:Tlx

  • The radius of the planet in km (r=) parameter defaults the average radius of the earth between the latitudes of the input coordinates (using {{Great circle distance/er}}). Because the earth is an w:ellipsoid, not a perfect sphere, the further your points are from each other, the less accurate your answer will be. You can substitute this value for the radius at your midpoint, if known, or use any other value (for example, you could use 3390 if you want distances on w:Mars, or 6371 if you want to use the mean earth radius).
  • precision uses the same syntax as the unnamed precision parameter in Template:Convert.

Computes the great circle distance between two points, specified by the latitude and longitude, using the haversine formula.

साँचे के पैरामीटर्स

पैरामीटरविवरणप्रकारस्थिति
Latitude 1lat1 1

Latitude of point 1 in decimal degrees

डिफ़ॉल्ट
0
संख्याआवश्यक
Longitude 1long1 2

Longitude of point 1 in decimal degrees

डिफ़ॉल्ट
0
संख्याआवश्यक
Latitude 2lat2 3

Latitude of point 2 in decimal degrees

डिफ़ॉल्ट
0
संख्याआवश्यक
Longitude 2long2 4

Longitude of point 2 in decimal degrees

डिफ़ॉल्ट
0
संख्याआवश्यक
Radiusr 5

Radius of the planet in kilometers

डिफ़ॉल्ट
6373
संख्यावैकल्पिक
Unitsunits

Units to output distance in (defaults to km). Can be any distance unit supported by [[:Template:Convert]]

डिफ़ॉल्ट
km
स्ट्रिंगवैकल्पिक