Slashdot Mirror


Geographical Mapping of Website Traffic?

inputsprocket asks: "Having gotten into a project that involves doing some geo-statistic data mining analysis on Apache log files, I couldn't believe how there seems to be such a large chasm, in open source's vast library, for such a powerful analytical tool. Unless I'm wrong, then there is no such open source project available for *nix variants. There appears to be a great deal of brand software (heh — only for Windows off-site analysis though), yet there is are great open source tools for generic mapping tools (GMTs). The available GMTs seem to be overkill for mapping of weblogs and require a lot of in-house programming to map IP addresses to cartographic data using free geo-location databases. The closest I found was Palentir. Does one really have to rely on the powerful needs of Map Server, MapTools, Carto Web, or Map Builder to draw simple maps with statistics on web usage, given the extra programming needs required to do this? "To see what is possible, have a look at DeepMetrix's LiveStats.XSP — a commercial option, which isn't a problem. It's just a shame that it's only for Windows and for of-site browsing.

Somebody, please tell me there's more to open source geolocation of web traffic than Analog."

7 of 20 comments (clear)

  1. perl and cpan are the answer by stry_cat · · Score: 2, Informative

    Like most things, just use perl and a cpan module. Apache2::Geo::IP

  2. Google? by CodeMonkey22 · · Score: 4, Informative

    Google Analytics does a decent job of this. I wonder if they have an API you could hit against it...

  3. ip2location by Utopia · · Score: 2, Informative

    http://ip2location.com/ is the best database out there.

  4. OpenLayers.org, OSGeo Foundation and GeoRSS by Lord+Satri · · Score: 2, Informative

    I don't know the answer, but I can direct you to OpenLayers.org and to the Open Source Geospatial foundation to look for answers. I'm interested to the answer because we want to geolocate visitors for slashcode itself, and I copied your question on Slashgeo.org, which may help attract more answers to this /. story.

    While your at it, GeoRSS is also open and, in my opinion, the future of RSS. Learn more about it here.

  5. Invented On Slashdot by Doc+Ruby · · Score: 2, Informative

    As seen on Slashdot: Map-O-Net maps IP#s on a fractal-ruled IP#-space map, including geography and orgs.

    --

    --
    make install -not war

  6. Perl Module Geo::IP and MaxMind Database work ... by xmas2003 · · Score: 3, Informative

    A while back, I wrote a quick little Perl script to do geolocation and other misc. info - see the page for more info, but it uses the free Perl Module Geo::IP and the MaxMind database. The free version of the later used to only provide country data, but they now provide lat/long and city info ... seems reasonably accurate, although with all of these things, the results can sometimes be way off.

    So with that, it wasn't too hard to write another Perl script that parses the IP address from the Apache logs, acquires misc. geolocation info, and then dumps out the lat/long data in Javascript for the Google Maps API - see this graphically shown on my christmas maps page.

    --
    Hulk SMASH Celiac Disease
  7. ClustrMaps by Anonymous Coward · · Score: 1, Informative

    Why don't you try http://clustrmaps.com/ you can tag your site to it. Easy really.