Hello,
I have an app that populates the geocode field from the Address Field. It seems to have worked initially when i put it together. But shortly after, it fails to populate when I create a new node. Is there any place it would create an error? or can someone put me on the right path to debug?

Comments

benlagrone’s picture

I'm using the multistep module on the same form. maybe it's a problem?
-nope, I removed the multistep fields and it's still broken

benlagrone’s picture

So I added a new content type with the same fields...
and it started working again?
the new node type and the old both started geocoding.

phayes’s picture

Project: Geofield » Geocoder
agill’s picture

I noticed the same behavior.

simon georges’s picture

Status: Active » Postponed (maintainer needs more info)

Could have it been a bug on the geocoding service's side? Did you try with several geocoding services?

simon georges’s picture

Issue summary: View changes
Status: Postponed (maintainer needs more info) » Closed (works as designed)

No answer in a year. Please reopen if you still have the issue.

bluesman2014’s picture

Version: 7.x-1.1 » 7.x-1.2
Status: Closed (works as designed) » Active

Not sure if this is exactly the same issue but it sounds similar:

I have a geofield on the user account which geocodes the user's address. When creating a new user with a new address, this works fine and the user's location can be seen at /map/user.

But when editing the user's address, the geocoding is deleted from the database. No update takes place, it simply removes the data.

bluesman2014’s picture

Version: 7.x-1.2 » 7.x-1.3

Just updated to 7.x-1.3 but the issue persists

pookmish’s picture

I had a similar issue using feeds to import into an addressfield which is then geocoded into a geofield field. I had a total of nearly 1,000 rows with valid address data. After import, only about 600 of them were geocoded correctly. I solved it by clearing the cache_goecoder table after every node save. Maybe that will help you as well with a hook.

<?php
/**
 * Implements hook_user_update().
 */
function module_user_update(&$edit, $account, $category) {
  db_truncate('cache_geocoder')->execute();
}
?>

I understand the concept behind the cache, but perhaps it needs some work to improve its functionality.

pol’s picture

Status: Active » Closed (outdated)