Geonames Field
Component ID
1827344
Component name
Geonames Field
Component type
module
Maintenance status
Development status
Component security advisory coverage
not-covered
Downloads
1173
Component created
Component changed
Component body
Provides a Geonames autocomplete for fields.
Very useful if you need users to select cities like in facebook. It retrieves any type of geoname (country, province, city, etc) till the lowest level and stores it on the database to reduce requests.
It also supports multilanguage so users can find places on their preferred language.
Fields can be displayed and filtered on views since it's automatically integrated.
INSTALLATION INSTRUCTIONS:
- Download and enable required modules: Geonames, Entity, Entity Reference, Entity Construction Kit and Token.
- Don't forget to create an account in http://www.geonames.org/ and configure it properly at admin/config/geonames.
- Open the field manager where you want to create the field.
- Create a field of type Entity Reference.
- On Target type, select geoname.
- On Entity selection Mode, select Geonames from web service.
- Fill up the Display as you want it to appear in the autocomplete.
- Fill the rest of the settings as required. For reference go to http://www.geonames.org/export/geonames-search.html.
- For a better UI you may want to integrate with Chosen Ajax.
