Sha256: 0704c5329b6aa2a5044b6b3e3b62bcab7231a9c7b68f7a89c47327d51d622421

Contents?: true

Size: 444 Bytes

Versions: 1

Compression:

Stored size: 444 Bytes

Contents

require 'bundler/setup'
require 'science/physical_geography/earth/elevation'

include Science::PhysicalGeography::Earth

locations = {
  house: { latitude: 42.72664, longitude: -73.68996 },
  park: { latitude: 42.72423, longitude: -73.68501 }
}

locations[:house][:elevation] = Elevation.usgs( locations[:house].merge(log: false) )
locations[:park][:elevation] =  Elevation.usgs( locations[:park].merge(log: false) )

require 'pp'

pp locations

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
science-0.0.1b examples/science/physical_geography/earth/elevation.rb