I have created a computed field that draws from some text fields to create an address. (I need views so I cannot use the address_field module)

The computed field works and generates a single text field with an address in the format of "StreetNumber StreetName CITY STATE ZIP"

When the node is saved no geocoding occurs. The geofield value is NULL.

If I create another text field and point the geocoder at this new text field, and manually enter the address using the same format ("StreetNumber StreetName CITY STATE ZIP") , the geocoding works. A lat/lon populates the geofield field.

I suspect that at the time the geocoding occurs, the computed field has not been "computed." (?)

Is there a method by which to geocode from a computed field?

Comments

rudyard55’s picture

Component: Miscellaneous » Code
Morasta’s picture

This appears to be the same issue as drupal.org/node/1679926

zmove’s picture

Not exactly the same as it occurs even on the first node save. I have the same problem. Any news about it ?

pol’s picture

Issue summary: View changes
Status: Active » Closed (outdated)