Hi,

I am not certain this is a Geofield issue, but I think so. I am using an addressfield and geocoder to populate my geofield. This is working fine, however, because of a couple of functions I am using, my nodes get saved many times (20+ over a day).

This is causing me to hit my Google API limit pretty easily. I would like to add a wrapper around the geocode function to only be processed if the field has actually changed. So, the question is: Where can I find the important part of the code that will actually cause geocode to do the update?

Or, can I turn off the geocoder and leave it as 'manually' set, but use some manual code to cause geocoder to fill my geofield? Is there a preferred option?

Thanks,
Paul.

Comments

rudiedirkx’s picture

Related issues: +#1515372: Caching Results

Won't be a problem when #1515372: Caching Results is implemented.