daily pastebin goal
43%
SHARE
TWEET

Untitled

a guest Jul 18th, 2018 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. geo = Geokit::Geocoders::MultiGeocoder.geocode('Stanford University')
  2. # output the lat lon
  3. geo.ll
  4.  
  5. # data returned
  6. # => Provider: google
  7. # Street:
  8. # City: Menlo Park
  9. # State: CA
  10. # Zip:
  11. # Latitude: 37.4327599
  12. # Longitude: -122.1689284
  13. # Country: US
  14. # Success: true
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top