Skip to contentSkip to conversation

Announcing Ham-APRS-Parser version 0.02

DISCUSSION Jeff Laughlin 4 participants 5 messages Aug 9, 2005 – Aug 10, 2005

lore
Share & tools
lore
#0 lore raw

http://aprs.n1ywb.com/Ham-APRS-Parser-0.02/

I've added support for a bunch more APRS data. Please check it out and let me know how it goes.

Any ideas where else I could announce this to get some knowledgable people to look at? Not places like eHam.com... I've posted it on #hamradio on irc.freenode.net...

I applied to make this a sourceforge.net project, haven't heard back from SF yet though.

NAME

Ham::APRS::Parser - Perl module for parsing APRS packets into a consistant and easy to work with format

SYNOPSIS

use Ham::APRS::Parser;

my $aprsPacket =
parseAPRSPacket("EA1EKE-8>TR3UTW,EC1H-12,EA1A-3*,qAo,EA1URO-10:`|@+ ,>/>"9f}");

        while( my ($k, $v) = each %$aprsPacket ) {
                print "key: $k, value: $v\n";
        }

DESCRIPTION

Insert plaintext aprs packets from APRS-IS, get back a reference to a hash containing the APRS data in a consistant and easy to process format.

The above code will yield the following hash:

        %$aprsPacket = {
                'AMBIGUITY' => 0,
                'COMMENT' => '"9f',
                'COURSE' => 234,
                'FROM' => 'EA1EKE-8',
                'LAT' => '42.5911666666667',
                'LON' => '-6.6025',
                'MICE_CURRENTNESS' => 'CURRENT',
                'MICE_MSG' => 'En Route',
                'PATH' => 'EC1H-12,EA1A-3*,qAo,EA1URO-10',
                'SPEED' => '75.932',
                'TO' => 'TR3UTW'
        };

Be careful, because Mic-E packets use the TO field as data, not a real callsign. Also Mic-E packets may contain non-printing chars, although the output should be 100% printable.

The module tries to be fast by using dispatch tables and not using regular expressions unecessarily.

I wrote this module because I wanted to translate APRS packets into KML files for displaying on Google Earth. Unfortunately Google Earth can't handle the tens (or hundreds) of thousands of APRS stations all at once. I will keep working on ways to get around this.

Other neat applications might be an advanced, highly intellegent digipeater. Or a free open source findu.com replacement using Google Maps.

Currently the module should mostly reliably return these fields from position reports, Mic-E position reports, and compressed position reports:

* TIME_FORMAT
* TIME
* GPS_FIX
* NMEA_SRC
* COMP_ORIG
* ALTITUDE
* COURSE
* LAT
* LON
* SYMBOL
* MESSAGING
* MICE_MSG
* MICE_CURRENTNESS
* MICE_DEVICE
* FROM
* PATH
* TO
* COMMENT
* AMBIGUITY
* SPEED
* RANGE
...

Thanks

73 de n1ywb

#1 lore raw
Quoted 8 lines · Jeff Laughlin

http://aprs.n1ywb.com/Ham-APRS-Parser-0.02/

I've added support for a bunch more APRS data. Please check it out and let me know how it goes.

Any ideas where else I could announce this to get some knowledgable people to look at? Not places like eHam.com... I've posted it on #hamradio on irc.freenode.net...

xastir mailing list (www.xastir.org)
aprssig mailing list (www.tapr.org)

--
Curt, WE7U. APRS Client Comparisons: http://www.eskimo.com/~archer
"Lotto: A tax on people who are bad at math." -- unknown
"Windows: Microsoft's tax on computer illiterates." -- WE7U "The world DOES revolve around me: I picked the coordinate system!"

#2 lore raw
In reply to Jeff Laughlin

add it to freshmeat... sourceforge, and places like that

regards/73
Charles 2E0GOM

Quoted 8 lines

http://aprs.n1ywb.com/Ham-APRS-Parser-0.02/

I've added support for a bunch more APRS data. Please check it out and let me know how it goes.

Any ideas where else I could announce this to get some knowledgable people to look at? Not places like eHam.com... I've posted it on #hamradio on irc.freenode.net...

#3 lore raw
Quoted 1 line · * [email protected] <[email protected]> [2005 Aug 09 19:02 -0500]:

add it to freshmeat... sourceforge, and places like that

http://radio.linux.org.au is the official directory for Linux ham radio apps. It's been updated as recently as July 10 so I'm sure your submission will be accepted.

73, de Nate >>

Signature · 5 lines
 Wireless | Amateur Radio Station N0NB          |  Successfully Microsoft
  Amateur radio exams; ham radio; Linux info @  | free since January 1998.
             http://www.qsl.net/n0nb/           |  "Debian, the choice of
             My Kawasaki KZ-650 SR @            |     a GNU generation!"
        http://www.networksplus.net/n0nb/       |   http://www.debian.org