Answers.Body: <p>UK geocoding works if you don't use address parsing.  In the scheduled job parameters set <code>parse=0</code> or omit the 'parse' line.</p>
  
  <p>For an explanation of street parsing see <a href="https://wiki.civicrm.org/confluence/display/CRMDOC/i18n+Administrator&#39;s+Guide:+Using+CiviCRM+in+your+own+language#i18nAdministrator%27sGuide:UsingCiviCRMinyourownlanguage-AddressParsing" rel="nofollow noreferrer">the wiki</a> and <a href="https://civicrm.org/blog/erikhommel/street-parsing" rel="nofollow noreferrer">this blog post</a></p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-01-27T08:36:20.227Z
Answers.LastActivityDate: 2017-01-27T08:36:20.227Z
Answers.UserDisplayName: Aidan
Answers.Body: <p>You could also give the <a href="https://github.com/systopia/de.systopia.osm" rel="nofollow noreferrer">OSM Geocoding Extension a shot</a> - although I don't we are not awarae of anyone using it in the UK so far. </p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-01-27T10:24:32.697Z
Answers.LastActivityDate: 2017-01-27T10:24:32.697Z
Answers.UserDisplayName: Fabian
Answers.Body: <p>I've had success with the systopia.de extension.</p>
  
  <p>You may need to clean up your data a bit. If it works sometimes and not others it's probably a data quality issue.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-02-26T22:00:05.390Z
Answers.LastActivityDate: 2017-02-26T22:00:05.390Z
Answers.UserDisplayName: JohnFF
Body: <p>I'm having problems geocoding our contact database. Essentially, very few of the contacts have associated latitude and longitudes. I have tried using both Google and Yahoo. When I run the cron job, I did manage to get it to geocode three addresses -- this tells me that the API calls are working (in the case of google, the key is valid). However, most contacts remain ungeocoded and now the cronjob reports 0 more addresses were successfully coded. I did notice the following error when saving a contact:</p>
  
  <pre><code>Unsupported locale specified to parseStreetAddress: en_GB. Proceeding with en_US locale.
  </code></pre>
  
  <p>I guess its possible the UK is not supported for geocoding yet. But this raises the following questions: 1) Why does coding work for some contacts, but not the majority? 2) What do other UK civicrm users do about this? And, 3) Geocoding in the UK should be as simple as submitting the postcode and storing the returned lat/long.</p>
  
  <p>What can be done about this problem?</p>
  
Tags: <geocoding>
Title: Geocoding in the UK
ThreadText: # Geocoding in the UK
  
  (Asked by: username_0 on 2017-01-27)
  
  I'm having problems geocoding our contact database. Essentially, very few of the contacts have associated latitude and longitudes. I have tried using both Google and Yahoo. When I run the cron job, I did manage to get it to geocode three addresses -- this tells me that the API calls are working (in the case of google, the key is valid). However, most contacts remain ungeocoded and now the cronjob reports 0 more addresses were successfully coded. I did notice the following error when saving a contact:
  
  ```
  Unsupported locale specified to parseStreetAddress: en_GB. Proceeding with en_US locale.
  
  ```
  
  I guess its possible the UK is not supported for geocoding yet. But this raises the following questions: 1) Why does coding work for some contacts, but not the majority? 2) What do other UK civicrm users do about this? And, 3) Geocoding in the UK should be as simple as submitting the postcode and storing the returned lat/long.
  
  What can be done about this problem?
  
  **Tags:** geocoding
  
  
  ---
  
  ## 3 answers
  
  ### Answer by username_1 on 2017-01-27. Score: 2
  
  UK geocoding works if you don't use address parsing. In the scheduled job parameters set `parse=0` or omit the 'parse' line.
  
  For an explanation of street parsing see [the wiki](https://wiki.civicrm.org/confluence/display/CRMDOC/i18n+Administrator's+Guide:+Using+CiviCRM+in+your+own+language#i18nAdministrator%27sGuide:UsingCiviCRMinyourownlanguage-AddressParsing) and [this blog post](https://civicrm.org/blog/erikhommel/street-parsing)
  
  
  ---
  
  ### Answer by username_2 on 2017-01-27. Score: 1
  
  You could also give the [OSM Geocoding Extension a shot](https://github.com/systopia/de.systopia.osm) - although I don't we are not awarae of anyone using it in the UK so far.
  
  
  ---
  
  ### Answer by username_3 on 2017-02-26. Score: 0
  
  I've had success with the systopia.de extension.
  
  You may need to clean up your data a bit. If it works sometimes and not others it's probably a data quality issue.
  
  
  ---
  
  