Countries module
This module provides many country related tasks.
Country data can be obtained from many sources. From Drupal 7, a list of countries defined by core.
From a review done in early 2010, the following modules handle country data in one form or another.
| Project | Drupal version | Storage | IP | Field | Notes | |||
|---|---|---|---|---|---|---|---|---|
| 5 | 6 | 7 | 8 | |||||
| Drupal | - | - | Yes | Yes | Code | - | - | Defines a fixed list of country names mapped to the ISO2 code. |
| addresses | - | Yes | - | - | DB | - | Yes | A comprehensive module that is covers countries, regions, zip codes, postal formats, ... |
| Ad GeoIP | Yes | Yes | - | - | DB | Yes | - | Adds geotargeting functionality to the Drupal advertisement module. |
| Countries | - | - | Yes | - | DB | - | Yes | Integrates with the core country list to make countries editable and integrated with the entity and field systems. |
| Country codes API | Yes | Yes | - | - | Code | - | - | API for mapping country / region data. |
| Country code | - | Yes | - | - | Code | - | - | Location content handling based on the user's IP address. |
| GeoIP API | Yes | Yes | - | - | Code | Yes | - | This is an API module for using the GeoLite Country or City XML services. |
| GeoNames | Yes | Yes | Yes | - | DB | - | - | A collection of modules to provide an API to integrate with GeoNames webservices |
| GeoSniper | - | Yes | - | - | - | IP | - | This module provides a geo-location block for your Drupal site using data from InfoSniper. |
| GeoUser | - | Yes | - | - | Code | Yes | - | IP to Country lookup. |
| Hostip | Yes | Yes | Yes | - | - | Yes | - | IP to Country lookup using the http://www.hostip.info/ api. |
| IP-based Determination of a Visitor's Country | - | Yes | Yes | Yes | - | Yes | - | IP address to identify the geographical location (country) of the user via ARIN. |
| IP2Nation API | Yes | Yes | - | - | Yes | Yes | - | API to access ip2nation (http://www.ip2nation.com/) database |
| IP Geolocation | - | - | Yes | - | Code/DB | Yes | - | Uses HTML5 (GPS) visitor location retrieval with an IP-based lookup via GeoIP API or Smart IP as a backup. |
| IP to Country | Yes | Yes | - | - | - | Yes | - | IP to Country lookup using WebHosting.Info (http://www.webhosting.info). |
| Profile Location | - | Yes | - | - | DB | - | Profile field | Profile Location provides dynamic country and state/province dropdowns to the core profile module. |
| SIN - CCK | Yes | Yes | - | - | - | - | SIN field | Country Social Insurance Numbers CCK field. |
| Site Country | - | Yes | - | - | Code | - | - | Enables site default country. This is in core from Drupal 7. |
| zipcode (CCK) | Yes | Yes | - | - | Code | - | ZipCode Field | This module provides a zip or postal code field type for CCK. |
This module provides many country related tasks.