Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.6 / 3....
  • Linux Kernel 3.0.82 LTS...
  • KDE Software Compilatio...
  • PulseAudio 4.0
  • Wireshark 1.10.0
  • NetworkManager 0.9.8.2
  • LibreOffice 3.6.6 / 4.0...
  • SystemRescueCd 3.7.0
  • Linux Kernel 3.10 RC6
  • Ubuntu Tweak 0.8.5
  • Home > Linux > Programming > Libraries

    GPS::SpaceTrack 0.11

    Download button

    No screenshots available
    Downloads: 438  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Michael R. Davis | More programs
    Perl Artistic License / FREE
    May 18th, 2007, 07:05 GMT
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    GPS::SpaceTrack description

    GPS::SpaceTrack is a package for calculating the position of GPS satellites.

    GPS::SpaceTrack is a package for calculating the position of GPS satellites.

    SYNOPSIS

    use GPS::SpaceTrack;
    my $obj=GPS::SpaceTrack->new(filename=>"gps.tle");
    print join("t", qw{Count PRN ELEV Azim SNR USED}), "n";
    foreach ($obj->getsatellitelist({lat=>38.870997, lon=>-77.05596})) {
    print join("t", $_->prn, $_->elev, $_->azim, $_->snr, $_->used), "n";
    }

    This package can calculates the location of the GPS satellite constellation given the position of the receiver and a time which can be in the future.

    CONVENTIONS

    Function naming convention is "format of the return" underscore "format of the parameters."

    CONSTRUCTOR

    new

    The new() constructor passes paramaters to the filename() method.

    my $obj = GPS::SpaceTrack->new(filename=>$filename);

    METHODS

    getsatellitelist

    The getsatellitelist() method returns a list of Net::GPSD::Satellite objects. The getsatellitelist() method is a wrapper around getsatellitelist_rad() for data formatted in degrees instead of radians.

    my $list=$obj->getsatellitelist({lat=>$lat, lon=>$lon, alt=>$hae, time=>$time}); #degrees, degrees, meters, seconds from epoch
    my @list=$obj->getsatellitelist({lat=>$lat, lon=>$lon, alt=>$hae, time=>$time}); #degrees, degrees, meters, seconds from epoch
    getsatellitelist_rad

    The getsatellitelist_rad() method returns a list of Net::GPSD::Satellite objects. This method is basically a wrapper around Astro::Coord::ECI::TLE.

    my $list=$obj->getsatellitelist_rad({lat=>$lat, lon=>$lon, alt=>$hae, time=>$time}); #radians, radians, meters, seconds from epoch
    my @list=$obj->getsatellitelist_rad({lat=>$lat, lon=>$lon, alt=>$hae, time=>$time}); #radians, radians, meters, seconds from epoch

    filename

    Method to get or set the filename of the TLE data.

    my $filename=$obj->filename;
    my $filename=$obj->filename(filename=>$filename);

    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    calculate satellite position | GPS satellites | Perl module | GPS::SpaceTrack | calculate | GPS

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM