My setup is:
- Addressfield on nodes to collect address data
- Geofield using "Geocode from another field" choosing the addressfield and the Google Geocoder
When I edit/save a node in the UI, the data is geocoded. However, I have thousands of nodes and am trying to write a script to update the geocode info on each node.
I tried loading all the nodes and doing a node_save() but the geocode hooks didn't fire.
How can I programmatically update the geofield information? Is there a hook I can use?