|
Geographic lookup with ColdFusion by IP using MaxMind GeoIP
This page provides an example usage of GeoIP. GeoIP is a technology from MaxMind that provides developers with a non-invasive way to determine geographical and other information about their Internet visitors in real-time. When a person visits your website, GeoIP can determine which country, region, city, postal code, area code the visitor is coming from. Furthermore, GeoIP can provide information such as longitude/latitude, connection speed, ISP, company name, domain name, and whether the IP address is an anonymous proxy or satellite provider.
GeoIP features multiple binary files with different features available based on the price that you pay. A listing of the different versions can be found here. Another great thing that MaxMind offers is a GeoLite City version that is free that you can use to test integration with your system. All of the API's are exactly the same but it is less accurate than the version you purchase. Below I show examples of the Free version and below that I show the paid version using the City and ISP versions integrated together.
I have two blog postings that you can check out to understand how to implement MaxMind GeoIP
Obtaining a users geographical location based on their IP with GeoIP and ColdFusion
Obtaining a users geographical location based on their IP with GeoIP and ColdFusion Example
MaxMind GeoIP Lite Result
- City: Washington
- Region: District of Columbia
- Country: United States
- Lat: 38.9144
- Lon: -77.0763
- Map this location
MaxMind GeoIP Full Version Result with additional ISP Database
- City: Los Angeles
- Region: California
- Country: United States
- ISP: Performance Systems International
- Lat: 34.041595
- Lon: -118.2988
- Map this location
|