Skip to main content
Share Your Experience: Take the 2024 Developer Survey
9 votes
Accepted

How to put your CiviCRM Contacts on a Leafleft Map in 5min?

Leaftlet is an open-source JavaScript Library for interactive mobile friendly maps. It only takes a few minutes to put your CiviCRM Contacts on a Leaflet Map if you're using Drupal. Here are some of ...
KarinG - Semper IT's user avatar
5 votes

Not adding longitude or latitude

I worked it out! Many of my contacts weren't given a country (must have been forgotten in a profile). I checked what the difference was between the handful that were working and the lots which weren't ...
Cozy4907's user avatar
  • 487
4 votes

Search for contacts within Geocoded regions/borders

We had a similar need and used mapit: https://mapit.mysociety.org/. Every time an address is created/updated we use the mapit API to grab the associated parliamentary constituency, European region etc....
Andrew West's user avatar
  • 2,044
4 votes

How to create latitude and longitude automatically for civirm contact

You need to enable Mapping and Geocoding from civicrm/admin/setting/mapping?reset=1 Enter your API Key or Application ID. An API Key is required for the Google Maps API. Refer to developers.google....
jitendra - fuzion's user avatar
4 votes
Accepted

Override automatic geocoding for events

The Latitude, Longitude fields are only visible when they are enable in 'Address Editing'. To enable it navigate to Administer >> Localization >> Address settings. Check for 'Address Editing' option. ...
Pradeep Nayak's user avatar
3 votes
Accepted

How to Map Contacts?

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 ...
Jacques-Marie Moranne's user avatar
3 votes
Accepted

Can't find 'longitude' in import wizard

Make sure it is enabled under address settings. Go to Administer > Localization > Address Settings.
Andy Burns's user avatar
  • 3,681
3 votes

Search for contacts within Geocoded regions/borders

This is an oversimplification certainly but with either PostgreSQL or MySQL/MariaDB with their Spatial Extensions installed, you can perform basic geometry operations within your database quite easily....
John Twyman's user avatar
3 votes

Geocoding using google api

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'...
Chris Burgess's user avatar
3 votes
Accepted

Adding geocoding

You'll want to install the Geocoder extension. This represents a significant improvement on existing geocoding providers. Google Maps API is now relatively pricey, and Open Street Maps is free. I ...
Jon G - Megaphone Tech's user avatar
3 votes
Accepted

Is there a hook for address parsing?

Just a clarification first: Parsing is different from geocoding. If all you want is to get lat and long values filled in then regular google geocoding works without parsing. If you really want ...
Demerit's user avatar
  • 23.1k
3 votes

OSM Geocoding fails

It's come up before that street address parsing only works for US addresses. Try just going with geocoding.
Demerit's user avatar
  • 23.1k
3 votes

Create a Google Map showing positions for every contact in a group

This should be possible out of the box. CiviCRM has mapping capabilities documented here https://docs.civicrm.org/user/en/latest/initial-set-up/mapping/ There is an extension using open source v ...
petednz - fuzion's user avatar
  • 28.3k
3 votes

Fixed: Unknown geocoding error on Nominatim (Open street maps)

this is a known issue in the Geocoder extension and should be fixed in the latest version (1.10 as of today). Please note that Geocoder 1.9+ requires CiviCRM 5.60+. If you need to stay on 5.58.1, you ...
Andreas's user avatar
  • 313
2 votes

Geocoding using google api

You may also want to give the Open Street Map Extension a shot - find some information on our website as well as the repository.
Fabian's user avatar
  • 3,597
2 votes

Geocoding using google api

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 ...
Tim Redman's user avatar
2 votes

How to get Geocoding to use my Google API key?

You weren't imagining things. CiviCRM 4.6 and 4.7 until recently was ignoring the Google API key altogether! I'm not sure the history of that, but it would have been great if someone had documented ...
herb's user avatar
  • 500
2 votes

Geocoding in the UK

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 and this blog post
Aidan's user avatar
  • 13.5k
2 votes

How to put your CiviCRM Contacts on a Leafleft Map in 5min?

Just to note that this stopped working around CIVICRM 4.7.19. You need to apply the patch to Drupal IP_geoloc module here: https://www.drupal.org/node/2861393
joewickert's user avatar
2 votes

Search for contacts within Geocoded regions/borders

If you are using Google Maps you should take advantage of their functionality, eg use an api call to determine if a point is within the polygon of a map layer you have defined, eg https://developers....
Joe Murray's user avatar
  • 6,741
2 votes

Search for contacts within Geocoded regions/borders

This isn't possible out of the box but would be an awesome extension. Assuming google is nicely geocoding your addresses for you then the minimum steps are: install a database with spatial functions ...
ErichBSchulz's user avatar
  • 1,571
2 votes

What's the problem with this state province crash?

This sounds consistent with hitting a rate limit in Google Maps API. If so, the fix would be to disable geocoding (as you've done) or to configure a valid API key associated with payment details so ...
Chris Burgess's user avatar
2 votes

How to create latitude and longitude automatically for civirm contact

Welcome to Stackexchange. Take a look at the docs about geocoding and mapping. If you're using Google then you need an API key for geo coding requests. To get Google API key you can find information ...
Pradeep Nayak's user avatar
2 votes
Accepted

Issues while geocoding Brazilan addresses with Google API on version 4.7

I have fixed the issue! It seems that Google API does not support restricting DNS in server geocoding mode, I have created a new API key with IP restriction. Beware people, it can cause you ...
Jean Luc's user avatar
2 votes
Accepted

HOWTO reliably set default Country on Import?

I think the problem can happen if you import your 'State' as the Abbreviation. If you look in table civicrm_state_province you will see lots of States with Abbreviation CA - and unless you specify the ...
petednz - fuzion's user avatar
  • 28.3k
2 votes
Accepted

Setting up geocoding

Your questions are not provider specific and you didn't specify one, but if you are using Google, it looks like the documentation you reference is a bit out of date with regards to Google's ...
Tamar Meir - Cividesk's user avatar
2 votes

Geocoder error in log but no geocoder configured or wanted

You probably had it set to yahoo at some point, and then when yahoo was removed somehow the setting didn't get blanked out, so it's looking for the yahoo code files but they aren't there anymore. Did ...
Demerit's user avatar
  • 23.1k
2 votes

Create a Google Map showing positions for every contact in a group

Go to Search - Custom Search - Proximity Search, then from the results action dropdown choose map contacts.
Demerit's user avatar
  • 23.1k
2 votes

Create a Google Map showing positions for every contact in a group

For Wordpress, you can create a regular or smart group and use CiviCRM Directory to display those records in a directory. It's basic alpha stage plugin so it depends on how much functionality you ...
Andy Burns's user avatar
  • 3,681
2 votes
Accepted

Geocoding error on fresh Wordpress Install

It sounds like an incomplete install. You might need to run composer install from inside the ext/org.wikimedia.geocode folder. But you don't need the extension if you just want to use basic geocoding ...
Demerit's user avatar
  • 23.1k

Only top scored, non community-wiki answers of a minimum length are eligible