great_circle_distance 0.0.2 copy "great_circle_distance: ^0.0.2" to clipboard
great_circle_distance: ^0.0.2 copied to clipboard

outdatedDart 1 only

Calculate the great-circle distance on the Earth having a pair of Latitude/Longitude points.

Great-circle distance #

Calculate the great-circle distance on the Earth having a pair of Latitude/Longitude points

The great-circle distance is the shortest distance between two points on the surface of a sphere, measured along the surface of the sphere (as opposed to a straight line through the sphere's interior)

Included in this library:

  • Spherical law of cosines
  • Haversine formula
  • Vincenty` formula (por from the Android implementation)

Disclaimer: The earth is not quite a sphere. This means that errors(0.3%,0.5% errors) from assuming spherical geometry might be considerable depending on the points; so: don't trust your life on this value

Check Wikipedia for detailed description on Great-circle distance

6
likes
0
pub points
59%
popularity

Publisher

verified publisheryeradis.com

Calculate the great-circle distance on the Earth having a pair of Latitude/Longitude points.

Homepage

License

unknown (LICENSE)

More

Packages that depend on great_circle_distance