I'm populating addressfields during a node import using feeds module. I then want it to geocode these (during the import process) when the node is saved. However, it doesn't.

I see 2 issues from last year that (I thought) committed code to make this happen in 7.x-1.x:
#1303472: Compute values in hook_field_presave
#1242206: Feeds Integration

However, now I'm in 7.x-2.x (which has this presave addition) and items still don't geocode during feeds import. Can I get some clarity on the status of this? If it's a known issue that they don't geocode, can I get some hints on how to mass update node's geocode info? I mostly keep coming to dead ends on trying to find a good way to make this happen.

Comments

dgastudio’s picture

any update?

urlM’s picture

If this is what you're talking about, I found the solution to this yesterday here that uses Rules to presave data to the Country field: http://drupal.org/node/1408796

However, this only works with locations within one country (I'm setting the Feed importer Rule to automatically add the "United States" to the country field during presave).

Does that help?