I have Province/City taxonomy with 5000+ terms.

I would like to add lat/long field or something and bulk update whole taxonomy so i can use it later for maps and proximity search.

1 Answer 1


Have you looked at Geofield and Geocoder modules?

I believe you can configure the geofield as a field on your taxonomy to hold the Lat/Lng. Then, you can configure your geofield widget as Geocode from another field.

For batch back-filling, Geocoder provides the drush command:

geocoder-backfill     Geocodes all nodes that have a geocoder widget but no geodata.
  • Ill try both and tell you how it went. Unfortunately i do not know how to use drush. Any other way ?
    – Azz Kawa
    Jan 19, 2014 at 22:34
  • Drush is your best bet; however, it may be possible with Views Bulk Operations (see drupal.org/node/1451942)
    – jwal
    Jan 20, 2014 at 5:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.