script/street2coordinates.rb
def street2coordinates(addresses)

  output = {}
  addresses.each do |address|
    begin
      info = geocode_us_address(address)
    #rescue
      #printf(STDERR, $!.inspect + $@.inspect + "\n")
      #info = nil
    end
    output[address] = info
  end

  return output

end
# Takes an array of postal addresses as input, and looks up their locations using
# data from the US census
Takes an array of postal addresses as input, and looks up their locations using
data from the US census
Takes an array of postal addresses as input and looks up their locations using data from the US census
def street2coordinates(addresses)
  output = {}
  addresses.each do |address|
    begin
      info = geocode_us_address(address)
    end
    output[address] = info
  end
  return output
end
def street2coordinates ( addresses ) output = { } addresses . each do | address | begin info = geocode_us_address ( address ) end output [ address ] = info end return output end
Takes an array of postal addresses as input, and looks up their locations using
data from the US census
Takes an array of postal addresses as input and looks up their locations using data from the US census
#rescue #printf(STDERR, $!.inspect + $@.inspect + "\n") #info = nil
addresses