Description

The gis-distance library allows you to calculate geographic distance between two points using the formula of your choice.

Installation

gem install gis-distance

Synopsis

require ‘gis/distance’

# New York to Los Angeles gis = GIS::Distance.new(40.47, 73.58, 34.3, 118.15)

p gis.distance # Kilometers p gis.distance.mi # Miles

License

Artistic 2.0

Authors

  • Daniel Berger

  • Ardith Faulkner