Hi,

I am looking for a way to generate a picture of the world map with a few dots on it each of which represents an IP address (or a domain name) for a list of URLs from a text file. Basically, I would like to do something similar to what's offered here except that my application has nothing to do with parsing visitor logs.

So, I guess my first question is if someone know whether or not a perl-ish way for doing this already exists. If not, then here's what I have come up with on my own so far. I can use perl's Geo::IP module to translate a URL (or IP address) into latitude and longitude coordinates. My question then turns into how would one go about mapping these coordinates? I know that Google Maps can do it (and there is even IWL::Google::Map for that), however this seems like a huge overkill for what I'm trying to do. So, can anyone suggest a better method?

thanks in advance!


In reply to Perl-ish way to generate world map with IP address info by gri6507

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.