# File lib/eml.rb, line 123 def geographic_coverage sites = Array.new coverage.elements.each('geographicCoverage') do |g| site = { 'id' => g.attributes['id'], 'description' => g.elements['geographicDescription'].text, 'latitude' => g.elements['boundingCoordinates/westBoundingCoordinate'].text.to_f, 'longitude' => g.elements['boundingCoordinates/northBoundingCoordinate'].text.to_f } sites << site end return sites end