Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Ruby Geocoder

Avatar for Brian Lu Brian Lu
December 18, 2013

Ruby Geocoder

Avatar for Brian Lu

Brian Lu

December 18, 2013
Tweet

More Decks by Brian Lu

Other Decks in Programming

Transcript

  1. What does it do? Geocoding
 street or ip address to

    latitude and longitude coordinate Reverse geocoding
 coordinate to street address Distance query
  2. Setup gem “geocoder” add latitude and longitude fields to location

    model use Google Map API by default
 it can be setup to use other map API
  3. Cool features Detect location of HTTP Request Find geographic center

    of multiple location objects Find nearby locations