Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 50.337.314 Times

Geo::Ellipsoids 0.14

  Date Added: September 13, 2010  |  Visits: 898

Geo::Ellipsoids

Report Broken Link
Printer Friendly Version


Product Homepage
Download (109 downloads)



Geo::Ellipsoids is a package for standard Geo:: ellipsoid a, b, f and 1/f values. SYNOPSIS use Geo::Ellipsoids; my $obj = Geo::Ellipsoids->new(); $obj->set(WGS84); #default print "a=", $obj->a, "n"; print "b=", $obj->b, "n"; print "f=", $obj->f, "n"; print "i=", $obj->i, "n"; print "e=", $obj->e, "n"; print "n=", $obj->n(45), "n"; CONSTRUCTOR new The new() constructor may be called with any parameter that is appropriate to the set method. my $obj = Geo::Ellipsoid->new(); METHODS set Method sets the current ellipsoid. This method is called when the object is constructed (default is WGS84). $obj->set(); #default WGS84 $obj->set(Clarke 1866); #All built in ellipsoids are stored in meters $obj->set({a=>1, b=>1}); #Custom Sphere 1 unit radius list Method returns a list of known elipsoid names. my @list=$obj->list; my $list=$obj->list; while (@$list) { print "$_n"; } a Method returns the value of the semi-major axis. my $a=$obj->a; b Method returns the value of the semi-minor axis. my $b=$obj->b; #b=a(1-f) f Method returns the value of flatting my $f=$obj->f; #f=(a-b)/a i Method returns the value of the inverse flatting my $i=$obj->i; #i=1/f=a/(a-b) invf Method synonym for the i method my $i=$obj->invf; #i=1/f e Method returns the value of the first eccentricity, e. This is the eccentricity of the earths elliptical cross-section. my $e=$obj->e; e2 Method returns the value of eccentricity squared (e.g. e^2). This is not the second eccentricity, e or e-prime see the "ep" method. my $e=sqrt($obj->e2); #e^2 = f(2-f) = 2f-f^2 = 1-b^2/a^2 ep Method returns the value of the second eccentricity, e or e-prime. The second eccentricity is related to the first eccentricity by the equation: 1=(1-e^2)(1+e^2). my $ep=$obj->ep; ep2 Method returns the square of value of second eccentricity, e (e-prime). This is more useful in almost all equations. my $ep=sqrt($obj->ep2); #ep2=(ea/b)^2=e2/(1-e2)=a^2/b^2-1 n Method returns the value of n given latitude (degrees). Typically represented by the Greek letter nu, this is the radius of curvature of the ellipsoid perpendicular to the meridian plane. It is also the distance from the point in question to the polar axis, measured perpendicular to the ellipsoids surface. my $n=$obj->n($lat); Note: Some define a variable n as (a-b)/(a+b) this is not that variable. n_rad Method returns the value of n given latitude (radians). my $n=$obj->n_rad($lat); rho rho is the radius of curvature of the earth in the meridian plane. my $rho=$obj->rho($lat); rho_rad rho is the radius of curvature of the earth in the meridian plane. my $rho=$obj->rho_rad($lat); polar_circumference Method returns the value of the semi-minor axis times 2*PI. my $polar_circumference=$obj->polar_circumference; equatorial_circumference Method returns the value of the semi-major axis times 2*PI. my $equatorial_circumference=$obj->equatorial_circumference; shortname Method returns the shortname, which is the hash key, of the current ellipsoid my $shortname=$obj->shortname; longname Method returns the long name of the current ellipsoid my $longname=$obj->longname; data Method returns a hash reference for the ellipsoid definition data structure. my $datastructure=$obj->data; name2ref Method returns a hash reference (e.g. {a=>6378137,i=>298.257223563}) when passed a valid ellipsoid name (e.g. WGS84). my $ref=$obj->name2ref(WGS84).

Requirements: No special requirements
Platforms: Linux
Keyword: Geoellipsoids Libraries Method Programming Radius Of Curvature Returns Value Value Of
Users rating: 0/10

License: Freeware Size: 7.17 KB
USER REVIEWS
More Reviews or Write Review


GEO::ELLIPSOIDS RELATED
Libraries  -  UNIVERSAL::derived_classes 0.01
SYNOPSIS require UNIVERSAL::derived_classes; package A; package B; @ISA = qw( A ); package C; @ISA = qw( B ); package main; my @derived_classes = A->derived_classes; # B, C my @derived_classes_reversed = A->derived_classes_reversed;...
3.07 KB  
Libraries  -  LBC Libraries 0.0.7
LBC Libraries is a set of easy C libraries that provide classical data types and structures (string, hash, queue, stack, tree). LBC Libraries package is focused on simplicity and portability. It uses ANSI C (C98 standard not required), and...
57.34 KB  
Development Tools  -  Minimum Enclosing Circle 1.0
This code takes an input of a set of given (x,y) points in the Cartesian coordinates and returns the center and radius of the minimum circle enclosing the points.This code is based on that of Yazan Ahed, and contains no changes in the algorithm...
10 KB  
Libraries  -  StrBio 1.0
StrBio is a set of Java classes and libraries useful for development of software for computational structural biology research. They are licenced under the LGPL. he strbio.org classes are the basis for several published research projects,...
12.7 MB  
Dictionaries  -  MARC Toolkit for Libraries 32
MARC Toolkit for Libraries is a collection of software and sourcecode for working with MARC records. Previously called the MARC Template Library (a C++ template library for MARC records).
241.79 KB  
Miscellaneous  -  Simplified attribute accessors using overloading 1.0
This script presents an ideom for simplified accessors, that combines typical getter and setter functionality of an attribute into a single overloaded method, that instead of getATTRIBUTE and setATTRIBUTE can now just be called ATTRIBUTE. When...
 
Utilities  -  The VXL Project for Linux 1.14
VXL (the Vision-something-Libraries) is a collection of C++ libraries designed for computer vision research and implementation. It was created from TargetJr and the IUE with the aim of making a light, fast and consistent system. VXL is written in...
34.31 MB  
Science  -  DIY Genomics 1.0.rc4
DIY Genomics is an open source bioinformatics consortium intended to bring a collection of tools and libraries into the hands of small scale genomics labs for the process of sequence assembly and annotation. Projects include DIYA, MGAP, CRISPR,...
377.64 KB  
Science  -  Logitech iFeel Mouse Driver 0.5
Development of Linux kernel drivers and userspace libraries to take advantage of the tactile feedback capabilities of the Logitech iFeel mouse.
11.62 KB  
Libraries  -  The DDay Project rc
The DDay Project is a collection of open-source class libraries covering an array of .NET technologies. These libraries fill in major gaps in .NET technologies, and attempt to provide a 'better way' to develop applications.
747.69 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB  
Libraries  -  wolfSSL 4.0.0
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
3.88 MB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB