<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
It doesn't work on my Win7 machine.<br>
It gives:<br>
<br>
Error: None of the following supported coordinate standards are
configured.<br>
<br>
- Environment variable COORDINATES_WGS84_LON_LAT_HAE<br>
- Filesystem /etc/local.coordiantes file<br>
<br>
at C:/Perl64/site/lib/Geo/Local/Server.pm line 98.<br>
<br>
<br>
Let me know how well it works on you box.<br>
<br>
<br>
Mike<br>
<br>
<br>
<div class="moz-cite-prefix">On 11/25/2014 8:28 AM, Michael R. Davis
wrote:<br>
</div>
<blockquote
cite="mid:236539816.481226.1416925706677.JavaMail.yahoo@jws100196.mail.ne1.yahoo.com"
type="cite">
<div style="color:#000; background-color:#fff;
font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial,
Lucida Grande, sans-serif;font-size:10px">
<div id="yui_3_16_0_1_1416924889002_2916">Perl Folks,</div>
<div id="yui_3_16_0_1_1416924889002_2912"> </div>
<div id="yui_3_16_0_1_1416924889002_2911">>> I'm finally
putting plan to code and I ran into an issue that there does
not appear to be a standard for the location of a system. <br>
>> In order to calculate the sunset and sunrise for my
is_nighttime/is_daytime scripts, I need to know the location
of the host. <br>
>> Please let me know if you know of any system location
standards for something that I feel should be ubiquitous.</div>
<div id="yui_3_16_0_1_1416924889002_2897"> </div>
<div id="yui_3_16_0_1_1416924889002_2898">> From: Mike
Flannigan via Houston <a moz-do-not-send="true"
id="yui_3_16_0_1_1416924889002_2913"
href="mailto:houston@pm.org">houston@pm.org</a><br>
> As far as I know, there is no other way for a computer <br>
> to know where it is located, except for it's IP address.</div>
<div id="yui_3_16_0_1_1416924889002_2899"> </div>
<div id="yui_3_16_0_1_1416924889002_2900">Well now there is! I
put a package together called Geo::Local::Server <a
moz-do-not-send="true" id="yui_3_16_0_1_1416924889002_2904"
href="http://search.cpan.org/perldoc?Geo%3A%3ALocal%3A%3AServer">http://search.cpan.org/perldoc?Geo%3A%3ALocal%3A%3AServer</a>.</div>
<div id="yui_3_16_0_1_1416924889002_2901">It implements two
different standards to configure the location of the local
server. One is via an environment variable and one is via the
file in /etc/local.coordinates. It should support Windows
platforms too.</div>
<div id="yui_3_16_0_1_1416924889002_2902">Check it out. I've
added the is_nighttime/is_daytime scripts that I needed to the
distro too.</div>
<div id="yui_3_16_0_1_1416924889002_2936"> </div>
<div id="yui_3_16_0_1_1416924889002_2934">Now, I guess, I should
to turn this into an RFC somehow. Anyone ever done that?</div>
<div id="yui_3_16_0_1_1416924889002_2943"> </div>
<div id="yui_3_16_0_1_1416924889002_2944" dir="ltr">Comments
welcome.</div>
<div id="yui_3_16_0_1_1416924889002_2903">Thanks,<br>
Mike</div>
</div>
</blockquote>
<br>
</body>
</html>