Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

(jcwren) RE: Monks' Maps!

by jcwren (Prior)
on Oct 16, 2000 at 21:09 UTC ( #36963=note: print w/ replies, xml ) Need Help??


in reply to Monks' Maps!

I too have wished to see what kind of global monkular distribution there is, but never bothered, since I know how often the location field in the homenode is meaningless.

But, as an alternative, I'll offer this. I'll create a database of Monk names, latitude and longitudes, and serve that from the stats pages. We can generate that info, from those who are interested in particpating, in the following manner:

In the HTML text of your home page, create a HTML comment:

<!-- Location:latitude=034.00.00,longitude=-084.10.06-->

Update: Note that the first 3 digit group are the minutes. Valid values for this are -179 to 179. The second 2 digits are the minutes, and have valid values of 00 to 59. The third 2 digits are the seconds, and have valid values from 00 to 59. Do not use decimal expressed lat/longs! The parsing code checks for legal values, and will toss out any location tags that are invalid.

North latitudes use positive numbers, South latitudes use negative numbers. East longitudes are positive, West longitudes are negative. The example above is approximately where I live, which is 30 some-odd miles north-east of Atlanta. If you want to be a little less specific where you live, put 0's in the low order digits. The format MUST be [sign]DDD.MM.SS, where DDD=degrees (000-179), MM=minutes (00-59, SS=seconds (00-59). The HTML comment can be anywhere you like in the text, EXCEPT embedded in another HTML comment. Personally, I'd put it at the bottom where you're not likely to tromp over it. Check the significant update checkbox on your homenode. The 'bot will only scan homenodes that appear in that list. This will minimize the server load, and will be checked once a day. If you remove the comment and set the checkbox, I will delete your entry from the database, so you can literally vanish from the face of the earth.

If you're not sure of your latitude and longitude, use MapBlast to locate yourself. It's a pretty decent interface, and you can get near yourself by starting with your ZipCode, or select your country if your non-U.S. Be sure to click the lat/long display in the upper left corner of the map to display the correct format lat/long. The correct format will have a small degree symbol to the right of the first number in both the latitude and longitude.

As soon as I've finished the homenode scanner and created the database (around Thursday, I should expect), I'll post a followup how to get the data. Someone else can write the map overlay stuff. If you do it in Perl or PHP, I'll host on my site, if you like.

--Chris

e-mail jcwren


Comment on (jcwren) RE: Monks' Maps!
(jcwren) RE: (2) Monks' Maps!
by jcwren (Prior) on Oct 18, 2000 at 00:56 UTC
    As of this posting, 9 people have posted location tags, of which 6 are correct. Here are the 'rules' for how the tag must be expressed:
    The first 3 digit group are the degrees. Valid values for this are -179 to 179. The second 2 digits are the minutes, and have valid values of 00 to 59. The third 2 digits are the seconds, and have valid values from 00 to 59. Do not use decimal expressed lat/longs! The parsing code checks for legal values, and will toss out any location tags that are invalid.

    The format MUST be [sign]DDD.MM.SS, where DDD=degrees (000-179), MM=minutes (00-59, SS=seconds (00-59).
    If you have used the decimal format, or have values that don't conform, please update your homenode. Use MapBlast to find yourself. It will display the lat/long the map is centered on. Click the lat/long display in the upper right hand corner so it is displayed as Degrees/Minutes/Seconds (denoted by the first number having a degree symbol to the right of it). This is the number you want to use on your tag.

    Remember that North values are positive, South values are negative for latitude, East values are positive, and West values are negative (everyone in the U.S.) for longitude.

    --Chris

    e-mail jcwren
(jcwren) RE: (2) Monks' Maps!
by jcwren (Prior) on Oct 18, 2000 at 07:27 UTC
    I've got preliminary monk mapping going at The PM Stats Page, if you'd like to play with it.

    I'm looking for a *good* 800 x 600 PNG or GIF map of the world that can be easily mapped to. I'd like something where the coordinate transform is pretty painless, unless someone wants to write the correction algorithm for a polar projection map (I can't remember which is which, right now.). It would be good if it had political boundaries, and perhaps for the states had dim outlines of the states.

    Anyway, if you have any good map links, or feedback on the stats stuff (except for sorting. I know about the sorting. It doesn't do it. Yet. It will. I promise. Sooner or later...), please drop me an e-mail, below, or /msh (heh!) me.

    --Chris

    e-mail jcwren

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://36963]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (11)
As of 2014-10-01 15:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    What is your favourite meta-syntactic variable name?














    Results (29 votes), past polls