1

Does there exist an easy way to look up U.S. counties from latitude/longitude? I know about Mathieu's excellent Region Lookup extension, but since one postal code can encompass multiple counties, I'd like something more definitive.

I know that Google Maps lookups can give you county names - has anyone tried pulling that into CiviCRM on geocode lookup?

3

I've never done it, but I think Tyrell's SmartyStreets extension provides it.

One thing to point out, however, for anyone who does it another way: county names repeat a lot, and the ID numbers of counties in CiviCRM are totally arbitrary, unlike states. The way to look up county is to find the state and then find the county name within the state.

  • Thanks Andrew! I noticed in the SmartyStreets extension docs that non-profits can get free accounts, but I couldn't find a reference to that on their site. Do you know if that's still true? – Jon G - Megaphone Tech Apr 13 '15 at 18:47
  • No idea. I think there may have been a special page for nonprofits. – Andrew Hunt Apr 13 '15 at 18:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.