Sha256: 3f4680082f09c561fbd2167453c8181581318b05870c3ee33e06a6238c511a73

Contents?: true

Size: 527 Bytes

Versions: 1

Compression:

Stored size: 527 Bytes

Contents

== 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' # or 'gis-distance'

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

# Set the formula of your choice
gis.formula = 'cosines'
gis.formula = 'haversine'

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

== License
Artistic 2.0

== Authors
* Daniel Berger
* Ardith Falkner

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
gis-distance-1.0.2 README