<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18852">
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2 face=Arial>Found it</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>if ($retval == 1)
{<BR> print
$packet{srccallsign}.",";<BR>
printf(<BR>
"Position: latitude %.4f longitude
%.4f\n",<BR>
$packet{'latitude'},
$packet{'longitude'}<BR> ) if (defined
$packet{'latitude'});</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial> #print
"Comment: $packet{comment}\n" if defined
$packet{'comment'};<BR> #print
"\n";<BR> #print
Dumper(\%packet);<BR>}
</FONT></DIV>
<BLOCKQUOTE
style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="FONT: 10pt arial; BACKGROUND: #e4e4e4; font-color: black"><B>From:</B>
<A title=vk4tec@tech-software.net
href="mailto:vk4tec@tech-software.net">Andrew Rich</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=aprssig@tapr.org
href="mailto:aprssig@tapr.org">TAPR APRS Mailing List</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, November 30, 2009 10:47
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [aprssig] HAM::APRS::FAP
question</DIV>
<DIV><BR></DIV>
<DIV><FONT size=2 face=Arial>I have the same APRS parser running as aprs.fi, I
am a tad confused now how to get the call, lat and lon from the script
?</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>Here is a sample screen dump</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>How do I reference the lat and lon to be able to
place into a MySQL table ( I know how to do that bit)</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>$VAR1 =
{<BR> 'symbolcode' =>
'-',<BR> 'longitude'
=>
'153.228333333333',<BR>
'symboltable' =>
'/',<BR> 'dstcallsign'
=> 'APU25N',<BR>
'digipeaters' =>
[<BR>
{<BR>
'wasdigied' =>
1,<BR>
'call' =>
'TCPIP'<BR>
},<BR>
{<BR>
'wasdigied' =>
0,<BR>
'call' =>
'qAC'<BR>
},<BR>
{<BR>
'wasdigied' =>
0,<BR>
'call' =>
'T2AUST'<BR>
}<BR>
],<BR> 'body' =>
'=2731.26S/15313.70E-Steve\'s QTH in Alexandra Hills
{UIV32N}<BR>',<BR>
'comment' => 'Steve\'s QTH in Alexandra Hills
{UIV32N}',<BR>
'posresolution' =>
'18.52',<BR> 'latitude'
=> '-27.521',<BR>
'posambiguity' =>
0,<BR> 'messaging' =>
1,<BR> 'origpacket'
=> 'VK4ISP>APU25N,TCPIP*,qAC,T2AUST:=2731.26S/15313.70E-Steve\'s QTH in
Alexandra Hills
{UIV32N}<BR>',<BR>
'type' =>
'location',<BR>
'srccallsign' =>
'VK4ISP',<BR> 'header'
=>
'VK4ISP>APU25N,TCPIP*,qAC,T2AUST'<BR>
}; </FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>Andrew VK4TEC</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2
face=Arial>
</FONT></DIV>
<P>
<HR>
<P></P>_______________________________________________<BR>aprssig mailing
list<BR>aprssig@tapr.org<BR>https://www.tapr.org/cgi-bin/mailman/listinfo/aprssig<BR>
<P>
<HR>
<P></P><BR>No virus found in this incoming message.<BR>Checked by AVG -
www.avg.com <BR>Version: 8.5.426 / Virus Database: 270.14.87/2535 - Release
Date: 11/29/09 19:31:00<BR></BLOCKQUOTE></BODY></HTML>