Order Tray | Contact Us | Home | SIG Lists

[aprssig] APRS and google earth as an APRS program

Andrew Rich vk4tec at tech-software.net
Sun Dec 4 04:46:15 UTC 2005


done


<p>#!/usr/bin/perl<br>
#<br>
# Generate a .kml placemark file for google earth from aprs data<br>
# Andrew Rich VK4TEC<br>
#<br>
use Net::Telnet;<br>
my $host = "www.findu.com";<br>
my (@data, $line);<br>
my $t = new Net::Telnet(Timeout=> '5', port => '80');<br>
$t->errmode('return');<br>
$t->Net::Telnet::open($host);<br>
sleep 5;<br>
print $t "GET /cgi-bin/posit.cgi?call=vk4tec&amp;comma=1\n";<br>
while (&lt;$t>)<br>
{<br>
if (m/,/)<br>
{<br>
@data = split/,/;<br>
$long = $data[1];<br>
$lat = $data[0];<br>
}<br>
}<br>
open (outfile, "> /srv/www/htdocs/vk4tec-9.kml");<br>
print outfile "&lt;?xml version=\"1.0\" encoding=\"UTF-8\"?> \n";<br>
print outfile "&lt;kml xmlns=\"http://earth.google.com/kml/2.0\"> \n";<br>
print outfile "&lt;Placemark> \n";<br>
print outfile "&lt;name>VK4TEC-9&lt;/name> \n";<br>
print outfile "&lt;description>Andrew APRS Mobile ()&lt;/description>
\n";<br>
print outfile
"&lt;styleUrl>root://styleMaps#default+nicon=0x307+hicon=0x317&lt;/styleUrl>
\n";<br>
print outfile "&lt;Style> \n";<br>
print outfile "&lt;IconStyle> \n";<br>
print outfile "&lt;Icon> \n";<br>
print outfile "&lt;href>root://icons/palette-4.png&lt;/href> \n";<br>
print outfile "&lt;x>192&lt;/x> \n";<br>
print outfile "&lt;y>32&lt;/y> \n";<br>
print outfile "&lt;w>32&lt;/w> \n";<br>
print outfile "&lt;h>32&lt;/h> \n";<br>
print outfile "&lt;/Icon> \n";<br>
print outfile "&lt;/IconStyle> \n";<br>
print outfile "&lt;/Style> \n";<br>
print outfile "&lt;Point> \n";<br>
print outfile "&lt;coordinates>".$long.",".$lat.",0&lt;/coordinates>
\n";<br>
print outfile "&lt;/Point> \n";<br>
print outfile "&lt;/Placemark> \n";<br>
print outfile "&lt;/kml> \n"; </p>

-----------------------------------------
Andrew Rich - VK4TEC
vk4tec at tech-software.net <mailto:vk4tec at tech-software.net>
www.tech-software.net
Brisbane AUSTRALIA



-----Original Message-----
From: aprssig-bounces at lists.tapr.org
[mailto:aprssig-bounces at lists.tapr.org]On Behalf Of Andrew Rich
Sent: Sunday, 4 December 2005 7:40 AM
To: timbercutter at yahoo.com; TAPR APRS Mailing List
Subject: RE: [aprssig] APRS and google earth as an APRS program


Yeah not bad

But it has me in a paddock across the highway

at least with mine i know which driveway it is ;-)



-----------------------------------------
Andrew Rich - VK4TEC
vk4tec at tech-software.net <mailto:vk4tec at tech-software.net>
www.tech-software.net
Brisbane AUSTRALIA



-----Original Message-----
From: aprssig-bounces at lists.tapr.org
[mailto:aprssig-bounces at lists.tapr.org]On Behalf Of Tyson S.
Sent: Sunday, 4 December 2005 6:40 AM
To: TAPR APRS Mailing List
Subject: Re: [aprssig] APRS and google earth as an APRS program


What about http://www.openaprs.net/ ?

--- Andrew Rich <vk4tec at tech-software.net> wrote:

> Ok here is my project aims . I have had a look at trackerGE.
>
> 1) Use the google earth application, not web pages as an APRS program
> 2) Use a linux box on the net to interigate the aprs stream and
> provide
> google earth with icons
> 3) An auto re-load on the google earth application shall determine
> the
> refresh rate
> 4) Project notes can be found at
> http://tech-software.net/globalearth.htm
>
> Andrew VK4TEC
>
> -----------------------------------------
> Andrew Rich - VK4TEC
> vk4tec at tech-software.net
> www.tech-software.net
> Brisbane AUSTRALIA



__________________________________
Start your day with Yahoo! - Make it your home page!
http://www.yahoo.com/r/hs

_______________________________________________
aprssig mailing list
aprssig at lists.tapr.org
https://lists.tapr.org/cgi-bin/mailman/listinfo/aprssig



_______________________________________________
aprssig mailing list
aprssig at lists.tapr.org
https://lists.tapr.org/cgi-bin/mailman/listinfo/aprssig






More information about the aprssig mailing list