Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!rutgers!ames!ptsfa!ihnp4!upba!mcdchg!heiby From: heiby@mcdchg.UUCP Newsgroups: news.admin Subject: Re: sites with bad #L fields in map entry Message-ID: <478@mcdchg.UUCP> Date: Mon, 11-May-87 15:20:24 EDT Article-I.D.: mcdchg.478 Posted: Mon May 11 15:20:24 1987 Date-Received: Thu, 14-May-87 02:36:25 EDT References: <1075@mit-amt.MEDIA.MIT.EDU> Reply-To: heiby@mcdchg.UUCP (Ron Heiby) Organization: Motorola Microcomputer, Schaumburg, IL Lines: 64 Henry Mensch (henry@garp.UUCP) writes: > Well, if you spent two or three lines describing the correct format it > just might get done. The format is described in the "README" file distributed with each batch of map postings to (now) comp.mail.map. Here is an excerpt from the latest such posting. The information is also found in the 2.11 source distribution in the file misc/dirform. ---------- # #L latitude and longitude # # This should be in the following format: # # #L DD MM [SS] "N"|"S" / DDD MM [SS] "E"|"W" ["city"] # # Two fields, with optional third. # # First number is Latitude in degrees (NN), minutes (MM), and seconds (SS), # and a N or S to indicate North or South of the Equator. # # A Slash Separator. # # Second number is Longitude in degrees (DDD), minutes (MM), and seconds (SS), # and a E or W to indicate East or West of the Prime Meridian in Greenwich, # England. # # Seconds are optional, but it is worth noting that the more accurate you # are, the more accurate maps we can make of the network (including # blow-ups of various high density areas, like New Jersey, or the San # Francisco Bay Area). # # If you give the coordinates for your city (i.e. without fudging for # where you are relative to that), add the word `city' at the end of the # end of the specification, to indicate that. If you know where you are # relative to a given coordinate for which you have longitude and # latitude data, then the following fudge factors can be useful: # # 1 degree = 69.2 miles = 111 kilometers # 1 minute = 1.15 miles = 1.86 kilometers # 1 second = 102 feet = 30.9 meters # # For LONGITUDE, multiply the above numbers by the cosine of your # latitude. For instance, at latitude 35 degrees, a degree of # longitude is 69.2*0.819 = 56.7 miles; at latitude 40 degrees, # it is 69.2*0.766 = 53.0 miles. If you don't see why the measure # of longitude depends on your latitude, just think of a globe, with # all those N-S meridians of longitude converging on the poles. # You don't do this cosine multiplication for LATITUDE. # # Here is a short cosine table in case you don't have a trig calculator # handy. (But you can always write a short program in C. The cosine # function in bc(1) doesn't seem to work as documented.) # deg cos deg cos deg cos deg cos deg cos deg cos # 0 1.000 5 0.996 10 0.985 15 0.966 20 0.940 25 0.906 # 30 0.866 35 0.819 40 0.766 45 0.707 50 0.643 55 0.574 # 60 0.500 65 0.423 70 0.342 75 0.259 80 0.174 85 0.087 # # The Prime Meridian is through Greenwich, England, and longitudes run # from 180 degrees West of Greenwich to 180 East. Latitudes run from # 90 degrees North of the Equator to 90 degrees South. -- Ron Heiby, heiby@mcdchg.UUCP Moderator: comp.newprod & comp.unix Motorola Microcomputer Division (MCD), Schaumburg, IL "Small though it is, the human brain can be quite effective when used properly"