Normally location only re-geocodes a location if the address text has change. However, sometimes you may want to force a re-geocode, but the only way to do that is to change the address text. If the text is already right, then you must change the text, save, then change the text back, and save again.

Please add a checkbox to re-geocode on the save of a node / user / entity regardless of address change.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

podarok’s picture

Status: Active » Postponed (maintainer needs more info)

possibly You shoud try gmap contrib module with its Find address on map button
#1921872: Find address on map button

webservant316’s picture

possibly, but that module automatically puts the lat and long in the geocodes field overrides which the admin may not want. it is not really a specific solution to the problem.

why not instead always re-geocode when saving a node / user / entity with a location attached? I can see how one might want to conserve hits to google, but how often does a re-save happen anyway?

podarok’s picture

Version: 6.x-3.2 » 7.x-3.x-dev
Category: feature » task
Status: Postponed (maintainer needs more info) » Needs review

good to see here a patch against latest dev

podarok’s picture

Status: Needs review » Needs work

woops, wrong status

webservant316’s picture

thanks - and hopefully patched again 6.x-3.2 as well.

podarok’s picture

after commiting to 7.x it can be backported to 6.x

moymilo’s picture

Issue summary: View changes
Status: Needs work » Needs review
FileSize
1.89 KB

Add a checkbox to re-geocode on the save of a node / user / entity

Status: Needs review » Needs work

The last submitted patch, 7: add-a-checkbox-to-re-geocode-1948640-7.patch, failed testing.

moymilo’s picture

Fix Undefined index: re_geocode_location on simpe test.

moymilo’s picture

Status: Needs work » Needs review
podarok’s picture

Status: Needs review » Fixed

merged, thanks!

  • podarok committed 210cf0d on 7.x-3.x authored by moymilo
    Issue #1948640 by moymilo | webservant316: Add a checkbox to re-geocode...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.