Answers.Body: <p>Sorry no, You will need to create a custom geocoder.</p>
  
  <p>Creating a custom geocoder should be as easy as copying the current one you want to imitate, renaming it (to avoid confusion and keeping things clear for your successors) and dropping it in your custom php directory in CRM/Utils/Geocode/ (since u dont want to modify the core directories)</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-05-19T13:49:01.937Z
Answers.Text: Thanks, that did the trick. I had to use sql to delete all the current geo_code_1 and geo_code_2 fields in the civicrm_address table, as batch updating was limited to 100.
  
  Thanks for providing the location of the php code. Going one step deeper to offer privacy - when I click on the people icons on the map - it shows the full address. I researched and found the Mapping Providers are at templates/CRM/Contact/Form/Task/Map. When I copied and edited - it shows up as a selection - but when I search contacts, the "Map Contact" no longer shows up. Any hints? Or the right place to ask? Thanks!
Answers.UserDisplayName: Harold Shinsato
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-05-19T14:38:05.520Z
Answers.Text: 1. Since this is a Q&A format, lets stick to one Q per thread.  Please post your follow-on privacy question as another question. 2. Can you also mark this thread as answered.
Answers.UserDisplayName: Donald Lobo
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-05-19T02:52:04.880Z
Answers.LastActivityDate: 2015-05-19T02:52:04.880Z
Answers.UserDisplayName: Donald Lobo
Body: <p>For privacy purposes in making a public member map - I'd like to set up the geocoding not by the full address, but by the city or zipcode. Is there a way to do this without creating a custom geocoder?</p>
  
  <p>Thanks!
  Harold</p>
  
Tags: <contacts>
Title: Any way to limit geocoding to city or zip?
ThreadText: # Any way to limit geocoding to city or zip?
  
  (Asked by: username_0 on 2015-05-19)
  
  For privacy purposes in making a public member map - I'd like to set up the geocoding not by the full address, but by the city or zipcode. Is there a way to do this without creating a custom geocoder?
  
  Thanks!
  Harold
  
  **Tags:** contacts
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2015-05-19. Score: 3 | Accepted answer
  
  Sorry no, You will need to create a custom geocoder.
  
  Creating a custom geocoder should be as easy as copying the current one you want to imitate, renaming it (to avoid confusion and keeping things clear for your successors) and dropping it in your custom php directory in CRM/Utils/Geocode/ (since u dont want to modify the core directories)
  
  > **Comments:**
  > **username_0**: Thanks, that did the trick. I had to use sql to delete all the current geo_code_1 and geo_code_2 fields in the civicrm_address table, as batch updating was limited to 100.  Thanks for providing the location of the php code. Going one step deeper to offer privacy - when I click on the people icons on the map - it shows the full address. I researched and found the Mapping Providers are at templates/CRM/Contact/Form/Task/Map. When I copied and edited - it shows up as a selection - but when I search contacts, the "Map Contact" no longer shows up. Any hints? Or the right place to ask? Thanks!  
  > **username_1**: 1. Since this is a Q&A format, lets stick to one Q per thread.  Please post your follow-on privacy question as another question. 2. Can you also mark this thread as answered.  
  
  ---
  
  