Answers.Body: <p>I finally succeeded :</p>
  
  <ul>
  <li>Administer > Settings > Addresses > Address Editing with Latitude, Longitude, and Street Address Parsing enabled</li>
  <li>geocoding=1 and parse=0 in the Geocoding Parameters of the CRON job</li>
  </ul>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-04-30T17:15:34.750Z
Answers.Text: Looks good - see also this answer https://civicrm.stackexchange.com/questions/16891/geocoding-in-the-uk
Answers.UserDisplayName: Andy Clark
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-04-30T16:02:17.140Z
Answers.LastActivityDate: 2018-04-30T16:02:17.140Z
Answers.UserDisplayName: Jacques-Marie Moranne
Answers.Body: <p>Take a look at <a href="https://docs.civicrm.org/user/en/latest/initial-set-up/mapping/" rel="nofollow noreferrer">the docs about mapping</a> Not much there, and I've found that if you're using Google then you do need an API key in order to raise the limit on the amount of geo coding requests.  So in in Administer/System Settings/Mapping and Geocoding you can set the API key there.  To request a Google API key there's <a href="https://developers.google.com/maps/documentation/geocoding/usage-limits" rel="nofollow noreferrer">info here</a>   </p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-04-28T16:51:06.277Z
Answers.Text: Thank you Andy ; I read all that (also that you don't need an API key with Google, (except for numerous geocodings ?)) ; I finally tested a CRON job with geocoding=0, parse=1, start=1, end=100, throttle=0 : I get a message which tells me that it only works in the USA (???) (not in France) ; I really miss some detailled documentation.
Answers.UserDisplayName: Jacques-Marie Moranne
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-04-28T17:11:19.657Z
Answers.Text: I just tried to run geocoding on one of my sites & ran into the same problem.  Which reminded me how I fixed this in the past - by installing the OpenStreetMaps extension from Systopia - which is here https://civicrm.org/extensions/openstreetmap-geocoding  Although it only documents 4.6 it does work in 4.7
Answers.UserDisplayName: Andy Clark
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-04-28T17:23:43.987Z
Answers.Text: After installing the OpenStreetMaps extension on my test system, I had to enable street parsing for the batch job to run.  But the batch job did geocode several UK addresses and also geocodes UK addresses through the UI.  By the way, in the batch job I used geocoding=1, throttle=1
Answers.UserDisplayName: Andy Clark
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-04-29T10:38:22.533Z
Answers.Text: Thanks again Andy. Problem : I can't install openstreetmap extension : not listed in the Extension List (Add new), and if I download it from https://civicrm.org/extensions/openstreetmap-geocoding to my Extension Directory, it does not appear in my Extensions list (I am currently in 4.7.27)
Answers.UserDisplayName: Jacques-Marie Moranne
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-04-30T12:29:12.237Z
Answers.Text: Excuse the question, but did you unzip what you downloaded & then hit 'Refresh' in Civi?
Answers.UserDisplayName: Andy Clark
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-04-30T16:03:30.080Z
Answers.Text: Yes, I did ; I give up, because I found a way : see my answer
Answers.UserDisplayName: Jacques-Marie Moranne
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-04-27T15:42:03.837Z
Answers.LastActivityDate: 2018-04-27T15:42:03.837Z
Answers.UserDisplayName: Andy Clark
Answers.Body: <p>Now that you’ve got Latitute and Longitude - you can also map your contacts this way: <a href="https://civicrm.stackexchange.com/questions/12862/how-to-put-your-civicrm-contacts-on-a-leafleft-map-in-5min">How to put your CiviCRM Contacts on a Leafleft Map in 5min?</a></p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-04-30T21:15:42.203Z
Answers.LastActivityDate: 2018-04-30T21:15:42.203Z
Answers.UserDisplayName: KarinG - Semper IT
Body: <p>When you open a Group and select Group members, you can run a "Map Contacts" Action (which, I suppose, would locate those members on a map).</p>
  
  <p>But when I try, I get a message which tells me that the Contact Address does not contain Latitude/Longitude of the Contact.</p>
  
  <p>I have tried to activate the "Geocode and Parse Address" CRON Job, but I get errors (last one : "A fatal error was triggered: Aborting batch geocoding. Hit the over query limit on geocoder.")</p>
  
  <p>I did not find any detailed documentation about that.</p>
  
  <p>Any help is welcome</p>
  
Tags: <geocoding>
Title: How to Map Contacts?
ThreadText: # How to Map Contacts?
  
  (Asked by: username_0 on 2018-04-27)
  
  When you open a Group and select Group members, you can run a "Map Contacts" Action (which, I suppose, would locate those members on a map).
  
  But when I try, I get a message which tells me that the Contact Address does not contain Latitude/Longitude of the Contact.
  
  I have tried to activate the "Geocode and Parse Address" CRON Job, but I get errors (last one : "A fatal error was triggered: Aborting batch geocoding. Hit the over query limit on geocoder.")
  
  I did not find any detailed documentation about that.
  
  Any help is welcome
  
  **Tags:** geocoding
  
  
  ---
  
  ## 3 answers
  
  ### Answer by username_0 on 2018-04-30. Score: 3 | Accepted answer
  
  I finally succeeded :
  
  * Administer > Settings > Addresses > Address Editing with Latitude, Longitude, and Street Address Parsing enabled
  * geocoding=1 and parse=0 in the Geocoding Parameters of the CRON job
  
  > **Comments:**
  > **username_1**: Looks good - see also this answer https://civicrm.stackexchange.com/questions/16891/geocoding-in-the-uk  
  
  ---
  
  ### Answer by username_1 on 2018-04-27. Score: 1
  
  Take a look at [the docs about mapping](https://docs.civicrm.org/user/en/latest/initial-set-up/mapping/) Not much there, and I've found that if you're using Google then you do need an API key in order to raise the limit on the amount of geo coding requests. So in in Administer/System Settings/Mapping and Geocoding you can set the API key there. To request a Google API key there's [info here](https://developers.google.com/maps/documentation/geocoding/usage-limits)
  
  > **Comments:**
  > **username_0**: Thank you username_1 ; I read all that (also that you don't need an API key with Google, (except for numerous geocodings ?)) ; I finally tested a CRON job with geocoding=0, parse=1, start=1, end=100, throttle=0 : I get a message which tells me that it only works in the USA (???) (not in France) ; I really miss some detailled documentation.  
  > **username_1**: I just tried to run geocoding on one of my sites & ran into the same problem.  Which reminded me how I fixed this in the past - by installing the OpenStreetMaps extension from Systopia - which is here https://civicrm.org/extensions/openstreetmap-geocoding  Although it only documents 4.6 it does work in 4.7  
  > **username_1**: After installing the OpenStreetMaps extension on my test system, I had to enable street parsing for the batch job to run.  But the batch job did geocode several UK addresses and also geocodes UK addresses through the UI.  By the way, in the batch job I used geocoding=1, throttle=1  
  > **username_0**: Thanks again username_1. Problem : I can't install openstreetmap extension : not listed in the Extension List (Add new), and if I download it from https://civicrm.org/extensions/openstreetmap-geocoding to my Extension Directory, it does not appear in my Extensions list (I am currently in 4.7.27)  
  > **username_1**: Excuse the question, but did you unzip what you downloaded & then hit 'Refresh' in Civi?  
  > **username_0**: Yes, I did ; I give up, because I found a way : see my answer  
  
  ---
  
  ### Answer by username_2 on 2018-04-30. Score: 0
  
  Now that you’ve got Latitute and Longitude - you can also map your contacts this way: [How to put your CiviCRM Contacts on a Leafleft Map in 5min?](https://civicrm.stackexchange.com/questions/12862/how-to-put-your-civicrm-contacts-on-a-leafleft-map-in-5min)
  
  
  ---
  
  