Main > Free Download Search >

Free geography states software for linux

geography states

Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 921
Geography::States 2.1

Geography::States 2.1


Geography::States is a Perl module with map states and provinces to their codes, and vice versa. more>>
Geography::States is a Perl module with map states and provinces to their codes, and vice versa.

SYNOPSIS

use Geography::States;

my $obj = Geography::States -> new (COUNTRY [, STRICT]);

EXAMPLES

my $canada = Geography::States -> new (Canada);

my $name = $canada -> state (NF); # Newfoundland.
my $code = $canada -> state (Ontario); # ON.
my ($code, $name) = $canada -> state (BC); # BC, British Columbia.
my @all_states = $canada -> state; # List code/name pairs.

This module lets you map states and provinces to their codes, and codes to names of provinces and states.

The Geography::States - new ()> call takes 1 or 2 arguments. The first, required, argument is the country we are interested in. Current supported countries are USA, Brazil, Canada, The Netherlands, and Australia. If a second non-false argument is given, we use strict mode. In non-strict mode, we will map territories and alternative codes as well, while we do not do that in strict mode. For example, if the country is USA, in non-strict mode, we will map GU to Guam, while in strict mode, neither GU and Guam will be found.

The state() method

All queries are done by calling the state method in the object. This method takes an optional argument. If an argument is given, then in scalar context, it will return the name of the state if a code of a state is given, and the code of a state, if the argument of the method is a name of a state. In list context, both the code and the state will be returned.

If no argument is given, then the state method in list context will return a list of all code/name pairs for that country. In scalar context, it will return the number of code/name pairs. Each code/name pair is a 2 element anonymous array.

Arguments can be given in a case insensitive way; if a name consists of multiple parts, the number of spaces does not matter, as long as there is some whitespace. (That is "NewYork" is wrong, but "new YORK" is fine.)

<<less
Download (0.006MB)
Added: 2007-02-14 License: Perl Artistic License Price:
982 downloads
Geography::USStates 0.12

Geography::USStates 0.12


Geography::USStates is a Perl module that allows you to get information on US State names. more>>
Geography::USStates is a Perl module that allows you to get information on US State names, their abbreviations, and couple the two together (in hashes).

SYNOPSIS

use Geography::USStates; # -- just getState* functions use Geography::USStates qw(:areas); # -- just getArea* functions use Geography::USStates qw(:both); # -- just getState*Area* functions use Geography::USStates qw(:both); # -- all functions
# ------ US STATES BASED $state = getState(mn); # -- get the statename Minnesota
$state = getState(wisconsin); # -- get the abbreviation wi
@states = getStateNames(); # -- return all state names
@states = getStateAbbrevs(); # -- return all state abbrevations (AL, AK, ..)
%s = getStates(); # -- return hash $states{MN} = Minnesota
%s = getStates(case=>upper); # -- return hash $states{MN} = MINNESOTA
%s = getStates(case=>lower); # -- return hash $states{MN} = minnesota
%s = getStates(hashkey=>name);# -- return hash $states{Minnesota} = MN
# ------ US AREAS $area = getArea(gu); # -- get the area name Guam
$area = getArea(guam); # -- get the abbreviation gu
@areas = getAreaNames(); # -- return all area names
@areas = getAreaAbbrevs(); # -- return all area abbrevations (DC, GU, ..)
%a = getAreas(); # -- return hash $states{GU} = Guam
%a = getAreas(case=>upper); # -- return hash $states{GU} = GUAM
%a = getAreas(case=>lower); # -- return hash $states{GU} = guam
%a = getAreas(hashkey=>name); # -- return hash $states{Guam} = GU
# ------ Lookup both US States and Dependant areas # -- get the statename Minnesota or Guam respectivily $state = getStateOrArea(mn || gu);
# -- get the abbreviation wi or gu respectivily $state = getStateOrArea(wisconsin || guam);
# -- return all states and areas names together @states = getStatesAndAreasNames();
# -- return all states and areas abbreviations together @states = getStatesAndAreasAbbrevs();
# -- same as getStates() but it returns the areas in the hash too %s = getStatesAndAreas(); %s = getStatesAndAreas(case=>upper); %s = getStatesAndAreas(case=>lower); %s = getStatesAndAreas(hashkey=>name);

<<less
Download (0.004MB)
Added: 2007-08-07 License: Perl Artistic License Price:
808 downloads
KGeography 0.4

KGeography 0.4


KGeography is a geography learning tool. more>>
KGeography is a geography learning tool.
Main features:
- Browse the maps clicking in a map division to see its name
- The game tells you a map division name and you have to click on it
- The game tells you a capital and you have to guess the division it belongs to
- The game tells you a division and you have to guess its capital
- The game shows you a map division flag and you have to guess its name
- The game tells you a map division name and you have to guess its flag
Maps available in current release are:
- Africa
- Europe
- France
- Germany
- Italy
- North and Central America
- South America
- Spain
- USA
Enhancements:
New maps included:
- Asia
- Austria
- Brazil
- Canada
- China
- Italy by provinces
- Netherlands
- Norway
- Poland
- World
<<less
Download (1.0MB)
Added: 2005-09-20 License: GPL (GNU General Public License) Price:
1499 downloads
Geography::Countries 1.4

Geography::Countries 1.4


Geography::Countries is a Perl module with 2-letter, 3-letter, and numerical codes for countries. more>>
Geography::Countries is a Perl module with 2-letter, 3-letter, and numerical codes for countries.

SYNOPSIS

use Geography::Countries;

$country = country DE; # Germany
@list = country 666; # (PM, SPM, 666,
# Saint Pierre and Miquelon, 1)

This module maps country names, and their 2-letter, 3-letter and numerical codes, as defined by the ISO-3166 maintenance agency [1], and defined by the UNSD.

The country subroutine.

This subroutine is exported by default. It takes a 2-letter, 3-letter or numerical code, or a country name as argument. In scalar context, it will return the country name, in list context, it will return a list consisting of the 2-letter code, the 3-letter code, the numerical code, the country name, and a flag, which is explained below. Note that not all countries have all 3 codes; if a code is unknown, the undefined value is returned.

There are 3 categories of countries. The largest category are the current countries. Then there is a small set of countries that no longer exist. The final set consists of areas consisting of multiple countries, like Africa. No 2-letter or 3-letter codes are available for the second two sets. (ISO 3166-3 [3] defines 4 letter codes for the set of countries that no longer exist, but the author of this module was unable to get her hands on that standard.) By default, country only returns countries from the first set, but this can be changed by giving country an optional second argument.
The module optionally exports the constants CNT_F_REGULAR, CNT_F_OLD, CNT_F_REGION and CNT_F_ANY. These constants can also be important all at once by using the tag :FLAGS.

CNT_F_ANY is just the binary or of the three other flags. The second argument of country should be the binary or of a subset of the flags CNT_F_REGULAR, CNT_F_OLD, and CNT_F_REGION - if no, or a false, second argument is given, CNT_F_REGULAR is assumed. If CNT_F_REGULAR is set, regular (current) countries will be returned; if CNT_F_OLD is set, old, no longer existing, countries will be returned, while CNT_F_REGION is used in case a region (not necessarely) a country might be returned. If country is used in list context, the fifth returned element is one of CNT_F_REGULAR, CNT_F_OLD and CNT_F_REGION, indicating whether the result is a regular country, an old country, or a region.

In list context, country returns a 5 element list. To avoid having to remember which element is in which index, the constants CNT_I_CODE2, CNT_I_CODE3, CNT_I_NUMCODE, CNT_I_COUNTRY and CNT_I_FLAG can be imported. Those constants contain the indices of the 2-letter code, the 3-letter code, the numerical code, the country, and the flag explained above, respectively. All index constants can be imported by using the :INDICES tag.

The code2, code3, numcode and countries routines.
All known 2-letter codes, 3-letter codes, numerical codes and country names can be returned by the routines code2, code3, numcode and countries. None of these methods is exported by default; all need to be imported if one wants to use them. The tag :LISTS imports them all. In scalar context, the number of known codes or countries is returned.

<<less
Download (0.009MB)
Added: 2007-02-21 License: Perl Artistic License Price:
975 downloads
Geography::NationalGrid::TW 0.03

Geography::NationalGrid::TW 0.03


Geography::NationalGrid::TW is a Perl module to convert Taiwan Datum (TWD67/TM2, TWD97/TM2) to/from Latitude and Longitude. more>>
Geography::NationalGrid::TW is a Perl module to convert Taiwan Datum (TWD67/TM2, TWD97/TM2) to/from Latitude and Longitude.

SYNOPSIS

You should _create_ the object using the Geography::NationalGrid factory class, but you still need to know the object interface, given below.
# default TWD97
my $point1 = new Geography::NationalGrid::TW(
Easting => 302721.36,
Northing => 2768851.3995,
);
printf("Point 1 is %f X and %f Yn", $point1->easting, $point1->northing);
printf("Point 1 is %f N and %f En", $point1->latitude, $point1->longitude);
# transform to TWD67
$point1->transform(TWD67);

Once created, the object allows you to retrieve information about the point that the object represents. For example you can create an object using easting / northing and the retrieve the latitude / longitude.

<<less
Download (0.005MB)
Added: 2006-08-23 License: Perl Artistic License Price:
1157 downloads
IP Tables State 2.2.0

IP Tables State 2.2.0


IP Tables State implements the state top feature from IP Filter for IP Tables. more>>
Having worked with IP Filter on Solaris for a few years now, when I work on IP Tables in Linux I come to miss State Top. So I decided to write a version for IP Tables. IPTState is a state top along with a "single run" mode to quickly display states once. IP Tables State has customizable sorting (including reverse), customizable refresh rates, etc. etc. See the README, the man page and the -h option for details.

IPTState is now in the Debian, Redhat, Fedora Core, Mandrake, Gentoo, FloppyFW, and Devil Linux distributions as well as the pkgsrc project.

<<less
Download (0.027MB)
Added: 2007-03-19 License: zlib/libpng License Price:
949 downloads
Geo::StreetAddress::US 0.99

Geo::StreetAddress::US 0.99


Geo::StreetAddress::US is a Perl extension for parsing US street addresses. more>>
Geo::StreetAddress::US is a Perl extension for parsing US street addresses.

SYNOPSIS

use Geo::StreetAddress::US;

my $hashref = Geo::StreetAddress::US->parse_location(
"1005 Gravenstein Hwy N, Sebastopol CA 95472" );

my $hashref = Geo::StreetAddress::US->parse_location(
"Hollywood & Vine, Los Angeles, CA" );

my $hashref = Geo::StreetAddress::US->parse_address(
"1600 Pennsylvania Ave, Washington, DC" );

my $hashref = Geo::StreetAddress::US->parse_intersection(
"Mission Street at Valencia Street, San Francisco, CA" );

my $normal = Geo::StreetAddress::US->normalize_address( %spec );
# the parse_* methods call this automatically...

Geo::StreetAddress::US is a regex-based street address and street intersection parser for the United States. Its basic goal is to be as forgiving as possible when parsing user-provided address strings.

Geo::StreetAddress::US knows about directional prefixes and suffixes, fractional building numbers, building units, grid-based addresses (such as those used in parts of Utah), 5 and 9 digit ZIP codes, and all of the official USPS abbreviations for street types and state names.

<<less
Download (0.010MB)
Added: 2006-09-25 License: Perl Artistic License Price:
1124 downloads
Megaupload SX 3.2

Megaupload SX 3.2


Megaupload SX is a Fierfox extension that offers free slots from Megaupload for other countries else United States. more>>
Megaupload SX is a Firefox extension that offers free slots from Megaupload for other countries else United States.

Works on Megaupload and Sexuploader (Megarotic). It is working just perfect. Its very easy to use. Turn it on to click in a megaupload link and turn it off later the download has started.

Problems like links that doesnt exist anymore I cant solve.

I wish you guys good luck and enjoy. Thanks for using my extension. I would apreciate some good rating by those who liked the extension.

<<less
Download (0.010MB)
Added: 2007-07-16 License: MPL (Mozilla Public License) Price:
1432 downloads
State Threads 1.8

State Threads 1.8


State Threads project is a small library for designing scalable Internet applications. more>>
State Threads project is a small library for designing scalable Internet applications.
The State Threads is a small application library which provides a foundation for writing fast and highly scalable Internet applications (such as Web servers, proxy servers, mail transfer agents, etc.) on UNIX-like platforms.
It offers a threading API for structuring a network application as an event-driven state machine.
The State Threads library is a derivative of the Netscape Portable Runtime library (NSPR) and therefore is distributed under the Mozilla Public License (MPL) version 1.1 or the GNU General Public License (GPL) version 2 or later.
Enhancements:
- Added support for kqueue and epoll on platforms that support them.
- Added ability to choose the event notification system at program startup.
- Long-overdue public definitions of ST_UTIME_NO_TIMEOUT (-1ULL) and ST_UTIME_NO_WAIT (0) [bug 1514436].
- Documentation patch for st_utime() [bug 1514484].
- Documentation patch for st_timecache_set() [bug 1514486].
- Documentation patch for st_netfd_serialize_accept() [bug 1514494].
- Added st_writev_resid() [rfe 1538344].
- Added st_readv_resid() [rfe 1538768] and, for symmetry, st_readv().
<<less
Download (0.097MB)
Added: 2007-03-16 License: MPL (Mozilla Public License) Price:
953 downloads
Language::Zcode::Runtime::State 0.8

Language::Zcode::Runtime::State 0.8


Language::Zcode::Runtime::State is a Perl module to handle saving, restoring, etc. the game state. more>>
Language::Zcode::Runtime::State is a Perl module to handle saving, restoring, etc. the game state.

restoring

Getter/setter: currently in the process of restoring or not?

start_machine

Start executing the Z-machine.

In the normal case (starting a new game, or restarting), this is as simple as calling the Z-machine subroutine whose address is stored in the header.
If were restoring from a save file, its more complicated. See "resume_execution".

z_call

Wrapper around Z-code subroutine calls. The main reason we need it is for save/restore.

In the normal case, z_call just calls the Z-code subroutine at address arg0 with the given args (arg5-argn), if any. Args 1-4 arent used by z_call, but (hack alert!) they go into the Perl call stack, which is needed for saving Z-machine state.

Input: subroutine address to call, local variables & eval stack (arrayrefs), next PC, store variable, args to the Z-sub.

See "The call stack" for far more detail on this sub and save/restore.

save_state

Implement the @save opcode, saving the current Z-machine state (as opposed to writing a table to a file, the other use of the @save opcode)

Note that this sub also gets called at the very end of the restoring process.

Returns 0 for failed save, 1 for successful save, 2 for "just finished restoring".

build_save_stack

Create a Z-machine call stack by peeking at the Perl call stack.

When calling Z_machine subroutines, we call z_call with all the information contained in a Z stack frame. We retrieve that information from the Perl call stack and build a Z-machine call stack with it.

restore_state

Implement the @restore opcode, restoring the current Z-machine state (as opposed to reading a table from a file, the other use of the @restore opcode)

<<less
Download (0.29MB)
Added: 2007-07-05 License: Perl Artistic License Price:
844 downloads
Concurrent Hierarchical State Machine 4.3

Concurrent Hierarchical State Machine 4.3


Concurrent Hierarchical State Machine (CHSM) is a language system for specifying concurrent, hierarchical, finite state machines more>>
Concurrent Hierarchical State Machine (CHSM) is a language system for specifying concurrent, hierarchical, finite state machines (an implementation of "statecharts") to model and control reactive systems.
CHSM uses its own statechart specification langauge annotated with either C++ or Java code fragments in the tradition of yacc grammars with C code fragments. The generated code is fully object oriented allowing multiple state machines to exist concurrently. The CHSM run-time library is small, efficient, and thread-safe.
CHSM has been used successfullly in production environments such as CERN, Philips, and Qualcomm. There is an independent review from users at CERN.
Enhancements:
- The "dominance" rule has been extended from parent/child transitions to sibling transitions.
- This allows "if-else" transitions to be done more efficiently.
<<less
Download (0.24MB)
Added: 2007-08-04 License: GPL (GNU General Public License) Price:
819 downloads
Biorhythm 0.1

Biorhythm 0.1


Biorhythm calculates and shows your biorhythm at any day in a pretty and simple graph. more>>
Calculates and shows your biorhythm at any day in a pretty and simple graph.

Your biorhythm is composed by your intellectual, your emotional and your physical states. These three properties of your life move in predictable cycles that are shown by this program.

<<less
Download (0.072MB)
Added: 2005-07-25 License: GPL (GNU General Public License) Price:
1663 downloads
Grapple 0.9.1

Grapple 0.9.1


Grapple is a network layer, designed for games but usable anywhere. more>>
Grapple is a network layer, designed for games but usable anywhere. However, it also allows for more. It features simple client-server networking that keeps all clients aware of all other clients, passworded servers, and data transfer via TCP, UDP, or reliable UDP.
Advanced features include network messaging via push, pull, or a combination, multiple methods of querying users, user groups for client bandwidth saving, network load reacting data transmission and retransmission, background pinging to monitor network states, server failover, and a fully functional lobby system.
Enhancements:
- This release improves the UDP layer to work through NAT in most situations, fixes server failover issues, and increments the internal protocol number due to changes in the UDP protocol.
<<less
Download (0.15MB)
Added: 2007-01-27 License: LGPL (GNU Lesser General Public License) Price:
1001 downloads
DBIx::EnumConstraints 0.01

DBIx::EnumConstraints 0.01


DBIx::EnumConstraints is a Perl module that generates enum-like SQL constraints. more>>
DBIx::EnumConstraints is a Perl module that generates enum-like SQL constraints.

SYNOPSIS

use DBIx::EnumConstraints;

my $ec = DBIx::EnumConstraints->new({
name => kind, fields => [ [ k1, a, b ]
, [ k2, b ] ]
});

# get enum field definition
my $edef = $ec->enum_definition;

# $edef is now kind smallint not null check (kind > 0 and kind < 2)

# get constraints array
my @cons = $ec->constraints;

# @cons is now (
# constraint k1_has_a check (kind 1 or a is not null)
# , constraint k1_has_b check (kind 1 or a is not null)
# , constraint k2_has_b check (kind 2 or b is not null)
# , constraint k2_has_no_a check (kind 2 or a is null))

This module generates SQL statements for enforcing enum semantics on the database columns.

Enum columns is the column which can get one of 1 .. k values. For each of those values there are other columns which should or should not be null.
For example in the SYNOPSIS above, when kind column is 1 the row should have both of a and b columns not null. When kind column is 2 the row should have a but no b columns.

CONSTRUCTORS

$class->new($args)

$args should be HASH reference containing the following parameters:

name

The name of the enum.

fields

Array of arrays describing fields dependent on the enum. Each row is index is the possible value of enum minus 1 (e.g. row number 1 is for enum value 2).
First item in the array is the state name. The rest of the items are field names. There is a possibility to mark optional fields by using trailing ? (e.g. b? denotes an optional b field.

METHODS

$self->enum_definition

Returns the definition of enum column. See SYNOPSIS for example.

$self->for_each_kind($callback)

Runs $callback over registered enum states. For each state passes state name, fields which are in the state and fields which are out of the state.

The fields are passed as ARRAY references.

$self->constraints

Returns the list of generated constraints. See SYNOPSIS above for an example.

<<less
Download (0.010MB)
Added: 2007-07-24 License: Perl Artistic License Price:
822 downloads
Open Tax Solver 4.07

Open Tax Solver 4.07


OpenTaxSolver (OTS) project is a free program for calculating Tax Form entries. more>>
OpenTaxSolver (OTS) project is a free program for calculating Tax Form entries and tax-owed or refund-due, such as Federal or State personal income taxes.
An optional graphical front-end, OTS_GUI, has been added. Currently, TaxSolver has been updated for the 2005 tax-year for the following forms: US 1040 and Schedules A, B, C, & D.
As well as for California, Massachusetts, New Jersey, and Pennsylvania State Taxes for 2005 tax-year, thanks to contributors. Updates for the following additional states are expected to be posted soon: North Carolina, New York, Ohio, and Virginia. Preliminary versions for Canada and the United Kingdom were posted in previous years and may be updated with help from volunteers.
Motivations:
- To make tax preparation software available for all platforms.
- To provide insight into how our taxes are calculated in clear unambiguous equations/code.
- To avoid invasive, bloated commercial software packages.
- To avoid rewriting our own individual programs each year by combining efforts.
- To provide a simple reliable tax-package requiring only rudimentary knowledge to maintain.
Enhancements:
- Automatic phone credit was added to US1040.
- It will automatically calculate standard one-time phone credit, if not otherwise specified on US1040 line 71.
- The NJ State form F line 5 was fixed.
<<less
Download (0.36MB)
Added: 2007-03-15 License: GPL (GNU General Public License) Price:
953 downloads
Secleted [ 0 ] software to compare
  • Page: 1 of 5
  • 1
  • 2
  • 3
  • 4
  • 5