Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- geo = Geokit::Geocoders::MultiGeocoder.geocode('Stanford University')
- # output the lat lon
- geo.ll
- # data returned
- # => Provider: google
- # Street:
- # City: Menlo Park
- # State: CA
- # Zip:
- # Latitude: 37.4327599
- # Longitude: -122.1689284
- # Country: US
- # Success: true
Add Comment
Please, Sign In to add comment