I have existing nodes that are using a geofield that is created from other fields via geocoder. If I manually update the nodes the geofield gets the correct map data. FWIW The nodes being migrated from Drupal 5, so the geofield field has no data in every node.

How can I do the updates to nodes programmatically?
A node_load & node_save doesn't cause the correct data to be created in the geofield.

Comments

hnln’s picture

I think this is a duplicate of http://drupal.org/node/1297654

phayes’s picture

Status: Active » Closed (duplicate)
johnv’s picture

Status: Closed (duplicate) » Active

Indeed, this seems a duplicate of #1297654: Geocoding from field should wait for complete entity validation.
But using Geocoder, version = "7.x-1.2", from 2012-08-27, I still cannot perform the task.

johnv’s picture

Status: Active » Closed (duplicate)

Forget that, it seems to work fine.