<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2769" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=590303719-05122005><FONT face=Arial color=#0000ff size=2>Here
is the cgi for starters - you have to add the mysql connectivity to findu.com to
get $lat and $long</FONT></SPAN></DIV>
<DIV><SPAN class=590303719-05122005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=590303719-05122005><FONT face=Arial color=#0000ff size=2><A
href="http://findu.com/cgi-bin/google_earth.cgi?Call=VK4TEC-9">http://findu.com/cgi-bin/google_earth.cgi?Call=VK4TEC-9</A>
(as an example)</FONT></SPAN></DIV>
<DIV><SPAN class=590303719-05122005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=590303719-05122005><FONT face=Arial color=#0000ff
size=2>@pairs= split(/&/, $ENV{'QUERY_STRING'});<BR>foreach $pair (@pairs)
{<BR>($name, $value) = split(/=/, $pair);<BR>$value =~ tr/+/ /;<BR>$value =~
s/%([a-fA-F0-9][a-fA-F0-9])/pack("C", hex($1))/eg;<BR>$name =~ tr/+/ /;<BR>$name
=~ s/%([a-fA-F0-9][a-fA-F0-9])/pack("C", hex($1))/eg;<BR># print
$name."=".$value;<BR>$FORM{$name} = $value;<BR># print $FORM{$name}
."=".$value;<BR>}<BR>#print $FORM{'Number'} ;<BR>#print $FORM{'Date'};<BR>$date
= $FORM{'Date'};<BR>$callsign = $FORM{'Call'};<BR>print ("Content-type:
text/html\n\n");<BR>print "<?xml version=\"1.0\" encoding=\"UTF-8\"?>
\n";<BR>print "<kml xmlns=\"<A
href="http://earth.google.com/kml/2.0\">http://earth.google.com/kml/2.0\</A>">
\n";<BR>print "<Placemark> \n";<BR>print
"<name>".$callsign."</name> \n";<BR>print
"<description>".$callsign." APRS Mobile (".$date.")</description>
\n";<BR>print "<LookAt>\n";<BR>print
"<longitude>".$long."</longitude>\n";<BR>print
"<latitude>".$lat."</latitude>\n";<BR>print
"<range>365.2646606980322</range>\n";<BR>print
"<heading>0</heading>\n";<BR>print
"<tilt>40</tilt>\n";<BR>print "</LookAt>\n";<BR>print
"<styleUrl>root://styleMaps#default+nicon=0x307+hicon=0x317</styleUrl>
\n";<BR>print "<Style> \n";<BR>print "<IconStyle> \n";<BR>print
"<Icon> \n";<BR>print "<href>root://icons/palette-4.png</href>
\n";<BR>print "<x>192</x> \n";<BR>print "<y>32</y>
\n";<BR>print "<w>32</w> \n";<BR>print "<h>32</h>
\n";<BR>print "</Icon> \n";<BR>print "</IconStyle> \n";<BR>print
"<LineStyle> \n";<BR>print "<width>5</width>\n";<BR>print
"</LineStyle>\n";<BR>print "</Style> \n";<BR>print "<Point>
\n";<BR>print "<extrude>1</extrude>\n";<BR>print
"<altitudeMode>relativeToGround</altitudeMode>\n";<BR>print
"<coordinates>".$long.",".$lat.",50</coordinates> \n";<BR>print
"</Point> \n";<BR>print "</Placemark> \n";<BR>print "</kml>
\n";
</FONT></SPAN></DIV>
<DIV> </DIV>
<P><FONT face=Arial size=2>-----------------------------------------<BR>Andrew
Rich - VK4TEC<BR></FONT><A href="mailto:vk4tec@tech-software.net"><FONT
face=Arial size=2>vk4tec@tech-software.net</FONT></A><BR><FONT face=Arial
size=2>www.tech-software.net<BR>Brisbane AUSTRALIA </FONT></P>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B> Andrew Rich
[mailto:vk4tec@tech-software.net]<BR><B>Sent:</B> Tuesday, 6 December 2005
5:22 AM<BR><B>To:</B> steve@dimse.com<BR><B>Cc:</B> TAPR List; VK
Users<BR><B>Subject:</B> findu.com and google earth proposal (feedback
please)<BR><BR></FONT></DIV>
<DIV><SPAN class=636591119-05122005><FONT face=Arial
size=2>Steve,</FONT></SPAN></DIV>
<DIV><SPAN class=636591119-05122005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=636591119-05122005><FONT face=Arial size=2>I am at the moment
raiding findu.com to generate .kml files for the google earth application and
then people raid my box. </FONT></SPAN></DIV>
<DIV><SPAN class=636591119-05122005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=636591119-05122005><FONT face=Arial size=2><A
href="http://earth.google.com/download-earth.html">http://earth.google.com/download-earth.html</A> (download
site)</FONT></SPAN></DIV>
<DIV><SPAN class=636591119-05122005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=636591119-05122005><FONT face=Arial size=2>Not web delivered
dodgy'ed up maps, the google earth application which is free and auto tracks
and zooms !!!!</FONT></SPAN></DIV>
<DIV><SPAN class=636591119-05122005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=636591119-05122005><FONT face=Arial size=2>What I am
proposing is this</FONT></SPAN></DIV>
<DIV><SPAN class=636591119-05122005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=636591119-05122005><FONT face=Arial size=2>1) we make a cgi
that can live on findu.com that generates a kml file on demand so people can
use the google earth application with findu.com</FONT></SPAN></DIV>
<DIV><SPAN class=636591119-05122005><FONT face=Arial size=2>2) you would then
point you google earth application network link at findu.com and ask it for
the lastest position.</FONT></SPAN></DIV>
<DIV><SPAN class=636591119-05122005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=636591119-05122005><FONT face=Arial size=2>We would then have
satellite maps for all of the planet a one stop shop !</FONT></SPAN></DIV>
<DIV><SPAN class=636591119-05122005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=636591119-05122005><FONT face=Arial size=2>more detail can be
seen here </FONT></SPAN></DIV>
<DIV><SPAN class=636591119-05122005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=636591119-05122005><FONT face=Arial size=2><A
href="http://www.tech-software.net/globalearth.htm">http://www.tech-software.net/globalearth.htm</A></FONT></SPAN></DIV>
<DIV><SPAN class=636591119-05122005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=636591119-05122005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=636591119-05122005><FONT face=Arial size=2>All we need to
supply is the callsign, you supply us a location. Simple. </FONT></SPAN></DIV>
<DIV><SPAN class=636591119-05122005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=636591119-05122005><FONT face=Arial size=2>I will even donate
the cgi !! and notes for your web site </FONT></SPAN></DIV>
<DIV><SPAN class=636591119-05122005>
<DIV><SPAN class=636591119-05122005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=636591119-05122005><FONT face=Arial
size=2>findu.com/cgi-bin/google_earth.cgi&call=vk4tec-9</FONT></SPAN></DIV>
<DIV><SPAN class=636591119-05122005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=636591119-05122005><FONT face=Arial size=2>What it needs to
produce is this :-</FONT></SPAN></DIV>
<P><?xml version="1.0" encoding="UTF-8"?><BR><kml
xmlns="http://earth.google.com/kml/2.0"><BR><Placemark><BR><name>VK4KHP-9</name><BR><description>VK4KHP-9
APRS
</description><BR><LookAt><BR><longitude>152.59100</longitude><BR><latitude>-27.56300</latitude><BR><range>1000.2646606980322</range><BR><heading>0</heading><BR><tilt>40</tilt><BR></LookAt><BR><styleUrl>root://styleMaps#default+nicon=0x307+hicon=0x317</styleUrl><BR><Style><BR><IconStyle><BR><Icon><BR><href>root://icons/palette-4.png</href><BR><x>192</x><BR><y>32</y><BR><w>32</w><BR><h>32</h><BR></Icon><BR></IconStyle><BR><LineStyle><BR><width>5</width><BR></LineStyle><BR></Style><BR><Point><BR><extrude>1</extrude><BR><altitudeMode>relativeToGround</altitudeMode><BR><coordinates>152.59100,-27.56300,150</coordinates><BR></Point><BR></Placemark><BR></kml>
</P></SPAN></DIV>
<P><FONT face=Arial size=2>-----------------------------------------<BR>Andrew
Rich - VK4TEC<BR></FONT><A href="mailto:vk4tec@tech-software.net"><FONT
face=Arial size=2>vk4tec@tech-software.net</FONT></A><BR><FONT face=Arial
size=2>www.tech-software.net<BR>Brisbane AUSTRALIA </FONT></P>
<DIV><FONT face=Arial size=2></FONT> </DIV></BLOCKQUOTE></BODY></HTML>