Answers.Body: <p>While the Google API has an unauthenticated limit of 2,500 requests per day per IP, using an API key currently gives free a quota of 100,000 requests per day, with additional requests by payment.</p>
  
  <p>You'll need a recent-ish (4.7.9, 4.6.23 or greater) version of CiviCRM to use the API key for geocoding: <a href="https://issues.civicrm.org/jira/browse/CRM-10820" rel="nofollow noreferrer">CRM-18830: Google Geocoding - use SSL, restore API key</a>.</p>
  
  <p>With this you should be able to geocode a larger number of addresses.</p>
  
  <p>Your API key should be configured with the following permissions:</p>
  
  <ul>
  <li>Google Maps Geocoding API (for geocoding)</li>
  <li>Google Maps JavaScript API (for displaying / mapping)</li>
  </ul>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-06-14T04:06:57.877Z
Answers.LastActivityDate: 2017-06-23T03:22:54.733Z
Answers.LastEditDate: 2017-06-23T03:22:54.733Z
Answers.UserDisplayName: Chris Burgess
Answers.Body: <p>Google has a limit on encoding per day (2500) records, <a href="https://developers.google.com/maps/documentation/geocoding/usage-limits" rel="nofollow">https://developers.google.com/maps/documentation/geocoding/usage-limits</a> I suspect you've hit that limit. You can enable billing to increase your limits, $0.50 USD / 1000 additional requests, up to 100,000 daily.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-03-10T15:41:12.187Z
Answers.LastActivityDate: 2016-03-10T15:41:12.187Z
Answers.UserDisplayName: Tim Redman
Answers.Body: <p>You may also want to give the Open Street Map Extension a shot - find some information on our <a href="https://www.systopia.de/node/246" rel="nofollow">website</a> as well as the <a href="https://github.com/systopia/de.systopia.osm" rel="nofollow">repository</a>.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-03-10T16:17:07.433Z
Answers.LastActivityDate: 2016-03-10T16:17:07.433Z
Answers.UserDisplayName: Fabian
Answers.Body: <p>OpenStreetMaps extension by Systopia is better!
  <a href="https://civicrm.org/extensions/openstreetmap-geocoding/version-11" rel="nofollow">https://civicrm.org/extensions/openstreetmap-geocoding/version-11</a></p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-07-29T14:08:37.473Z
Answers.LastActivityDate: 2016-07-29T14:08:37.473Z
Answers.UserDisplayName: Jon-man
Body: <p>I'm having problems getting consistent behavior from CiviCRM's Address Geocoder scheduled job.  Yesterday I was able to geocode a handful (~1700) records but today I am getting an over quota message in the log.</p>
  
  <blockquote>
    <p>Parameters raw (from db settings): 
    geocoding=1 
    start=47000
    throttle=5</p>
    
    <p>Parameters parsed (and passed to API method): 
    a:4:{s:7:"version";i:3;s:9:"geocoding";s:1:"1";s:5:"start";s:5:"47000";s:8:"throttle";s:1:"5";}</p>
    
    <p>Full message: 
    Finished execution of Address geocoder with result: Failure, Error message: A fatal error was triggered: Aborting batch geocoding. Hit the over query limit on geocoder.</p>
  </blockquote>
  
  <p>Using the same parameters yesterday (with the exception of a different CID for the start parameter) I had some success.</p>
  
  <blockquote>
    <p>Parameters raw (from db settings): 
    geocoding=1
    start=47877
    throttle=5</p>
    
    <p>Parameters parsed (and passed to API method): 
    a:4:{s:7:"version";i:3;s:9:"geocoding";s:1:"1";s:5:"start";s:5:"47877";s:8:"throttle";s:2:"10";}</p>
    
    <p>Full message: 
    Finished execution of Address geocoder with result: Success (Addresses Evaluated: 1094
    Addresses Geocoded: 1094
    )</p>
  </blockquote>
  
  <p>I'm running CiviCRM 4.4.19 and using Google as my mapping and geocoding provider.  I've tried with and without an API key.  The job is being executed manually from the UI.  Does anyone have any thoughts on what is going on or any ideas how I can troubleshoot this further?</p>
  
  <p>Thanks.</p>
  
Tags: <geocoding><google>
Title: Geocoding using google api
ThreadText: # Geocoding using google api
  
  (Asked by: username_0 on 2016-03-10)
  
  I'm having problems getting consistent behavior from CiviCRM's Address Geocoder scheduled job. Yesterday I was able to geocode a handful (~1700) records but today I am getting an over quota message in the log.
  
  > Parameters raw (from db settings):
  > geocoding=1
  > start=47000
  > throttle=5
  >
  > Parameters parsed (and passed to API method):
  > a:4:{s:7:"version";i:3;s:9:"geocoding";s:1:"1";s:5:"start";s:5:"47000";s:8:"throttle";s:1:"5";}
  >
  > Full message:
  > Finished execution of Address geocoder with result: Failure, Error message: A fatal error was triggered: Aborting batch geocoding. Hit the over query limit on geocoder.
  
  Using the same parameters yesterday (with the exception of a different CID for the start parameter) I had some success.
  
  > Parameters raw (from db settings):
  > geocoding=1
  > start=47877
  > throttle=5
  >
  > Parameters parsed (and passed to API method):
  > a:4:{s:7:"version";i:3;s:9:"geocoding";s:1:"1";s:5:"start";s:5:"47877";s:8:"throttle";s:2:"10";}
  >
  > Full message:
  > Finished execution of Address geocoder with result: Success (Addresses Evaluated: 1094
  > Addresses Geocoded: 1094
  > )
  
  I'm running CiviCRM 4.4.19 and using Google as my mapping and geocoding provider. I've tried with and without an API key. The job is being executed manually from the UI. Does anyone have any thoughts on what is going on or any ideas how I can troubleshoot this further?
  
  Thanks.
  
  **Tags:** geocoding, google
  
  
  ---
  
  ## 4 answers
  
  ### Answer by username_1 on 2016-06-14. Score: 3
  
  While the Google API has an unauthenticated limit of 2,500 requests per day per IP, using an API key currently gives free a quota of 100,000 requests per day, with additional requests by payment.
  
  You'll need a recent-ish (4.7.9, 4.6.23 or greater) version of CiviCRM to use the API key for geocoding: [CRM-18830: Google Geocoding - use SSL, restore API key](https://issues.civicrm.org/jira/browse/CRM-10820).
  
  With this you should be able to geocode a larger number of addresses.
  
  Your API key should be configured with the following permissions:
  
  * Google Maps Geocoding API (for geocoding)
  * Google Maps JavaScript API (for displaying / mapping)
  
  
  ---
  
  ### Answer by username_2 on 2016-03-10. Score: 2
  
  Google has a limit on encoding per day (2500) records, <https://developers.google.com/maps/documentation/geocoding/usage-limits> I suspect you've hit that limit. You can enable billing to increase your limits, $0.50 USD / 1000 additional requests, up to 100,000 daily.
  
  
  ---
  
  ### Answer by username_3 on 2016-03-10. Score: 2
  
  You may also want to give the Open Street Map Extension a shot - find some information on our [website](https://www.systopia.de/node/246) as well as the [repository](https://github.com/systopia/de.systopia.osm).
  
  
  ---
  
  ### Answer by username_4 on 2016-07-29. Score: 1
  
  OpenStreetMaps extension by Systopia is better!
  <https://civicrm.org/extensions/openstreetmap-geocoding/version-11>
  
  
  ---
  
  