ApacheMap plots the location of each Web hit your site receives on a Google Map. The utility converts IP addresses from Apache logs into longitude and latitude information using hostip.info. The perl script parses a apache or apache2 combined access log for the IP addresses. It then looks up a Geo-Tag for those locations and if successful it adds them to a data file which the Google maps API then displays. So you get all your unique resolvable hits plotted on a map. From 0.3a onwards new style blue markers are used which contain information about the location when clicked on. HostIP relies on users submitting information about what geographic location should be associated with an IP address. This can present problems, because some IP addresses cannot be resolved into geographic information. In fact, the IP address I was using when I visited hostip.info was not recognized, but sites such as geoiptool.com offered a reasonable guess as to my location based purely on my IP address. Regardless, the results of a geographic lookup from an IP address should always be taken with a grain of salt. View a Demo of the current Apache Geo Map Demo Site View the experimental Apache Geo Map Experimental Demo Check out teh SVN tree SVN Repository
Thanks for sharing this script with us. Demo loads pretty fast which is a plus because I have seen excesive system resource consumption when you load pages developed around Google Maps, meaning that yours is a well crafted script
Ahem! I have not written that script. I have just shared the useful info at this appropriate forum. I have used this script on my homepage and loved it! The full credit goes to Ric of SquareCows ...
No problem Indeed this is a very useful script. I tested it last night and not only works like a charm but indeed is not system intesive so loading time is not an issue like occurs with others.