This module creates a vocabulary, "Cities", and provides several fields on it to store geolocation coordinates (latitude and longitude), timezone, ISO-2 code, and country - if Entity Reference and Countries modules are enabled.

The main functionality of the module, however, is an interface to search the GeoNames database and add cities to the vocabulary, thus avoiding the tedium of adding them manually. Additionally, it will import translations - if available - for each enabled language on the site.

NOTES:
The access problem in Issue #2153463 (Entity Reference) prevents cities from displaying countries or being edited once added, if the country field is an entityreference field. This can be be worked around with the patch available in that issue, or by using entityreference-7.x-1.0.

This module was originally sponsored by Linalis.

Project information

Releases