tigerline
Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 2
Geo::TigerLine::Record::B 0.02
Geo::TigerLine::Record::B is a TIGER/Line 2003 Polygon Geographic Entity Codes: Corrections. more>>
Geo::TigerLine::Record::B is a TIGER/Line 2003 Polygon Geographic Entity Codes: Corrections.
SYNOPSIS
use Geo::TigerLine::Record::B;
@records = Geo::TigerLine::Record::B->parse_file($fh);
@records = Geo::TigerLine::Record::B->parse_file($fh, &callback);
$record = Geo::TigerLine::Record::B->new(%fields);
$record->rt();
$record->version();
$record->file();
$record->cenid();
$record->polyid();
$record->statecq();
$record->countycq();
$record->tractcq();
$record->blockcq();
$record->aianhhfpcq();
$record->aianhhcq();
$record->aihhtlicq();
$record->aitscecq();
$record->aitscq();
$record->anrccq();
$record->concitcq();
$record->cousubcq();
$record->submcdcq();
$record->placecq();
$record->uacc();
$record->urcc();
$record->rs_b1();
This is a class representing record type B of the TIGER/Line 2003 census geographic database. Each object is one record. It also contains methods to parse TIGER/Line record type B files and turn them into objects.
This is intended as an intermediate format between pulling the raw data out of the simplistic TIGER/Line data files into something more sophisticated (a process you should only have to do once). As such, its not very fast, but its careful, easy to use and performs some verifications on the data being read.
As this class is autogenerated by mk_parsers, think before you modify this file. Its OO, so consider sub-classing instead.
<<lessSYNOPSIS
use Geo::TigerLine::Record::B;
@records = Geo::TigerLine::Record::B->parse_file($fh);
@records = Geo::TigerLine::Record::B->parse_file($fh, &callback);
$record = Geo::TigerLine::Record::B->new(%fields);
$record->rt();
$record->version();
$record->file();
$record->cenid();
$record->polyid();
$record->statecq();
$record->countycq();
$record->tractcq();
$record->blockcq();
$record->aianhhfpcq();
$record->aianhhcq();
$record->aihhtlicq();
$record->aitscecq();
$record->aitscq();
$record->anrccq();
$record->concitcq();
$record->cousubcq();
$record->submcdcq();
$record->placecq();
$record->uacc();
$record->urcc();
$record->rs_b1();
This is a class representing record type B of the TIGER/Line 2003 census geographic database. Each object is one record. It also contains methods to parse TIGER/Line record type B files and turn them into objects.
This is intended as an intermediate format between pulling the raw data out of the simplistic TIGER/Line data files into something more sophisticated (a process you should only have to do once). As such, its not very fast, but its careful, easy to use and performs some verifications on the data being read.
As this class is autogenerated by mk_parsers, think before you modify this file. Its OO, so consider sub-classing instead.
Download (0.040MB)
Added: 2006-07-04 License: Perl Artistic License Price:
1207 downloads
Geo::Coder::US 1.00
This will estimate latitude and longitude for any US address. more>>
Geo:Coder:US 1.00 offers a full-feature facility for geocoding US addresses, that is, estimating the latitude and longitude of any street address or intersection in the United States, using the TIGER/Line data set from the US Census Bureau. Geo:Coder:US uses Geo:TigerLine to parse this data, and DB_File to store a highly compressed distillation of it, and Geo:StreetAddress:US to parse addresses into normalized components suitable for looking up in its database.
You can find a live demo of this code at http://geocoder.us/. The demo.cgi script is included in eg/ directory distributed with this module, along with a whole bunch of other goodies. See Geo:Coder:US:Import for how to build your own Geo:Coder:US database.
Consider using a web service to access this geocoder over the Internet, rather than going to all the trouble of building a database yourself. See eg/soap-client.pl, eg/xmlrpc-client.pl, and eg/rest-client.pl for different examples of working clients for the rpc.geocoder.us geocoder web service.
Major Features:
- Geo:Coder:US->geocode( $string )
- Given a string containing a street address or intersection, return a list of specifiers including latitude and longitude for all matching entities in the database. To keep from churning over the entire database, the given address string must contain either a city and state, or a ZIP code (or both), or geocode() will return undef.
- geocode() will attempt to normalize directional prefixes and suffixes, street types, and state abbreviations, as well as substitute TIGER/Line's idea of the "primary street name", if an alternate street name was provided instead.
- If geocode() can parse the address, but not find a match in the database, it will return a hashref containing the parsed and normalized address or intersection, but without the "lat" and "long" keys specifying the location. If geocode() cannot even parse the address, it will return undef. Be sure to check for the existence of "lat" and "long" keys in the hashes returned from geocode() before attempting to use the values! This serves to distinguish between addresses that cannot be found versus addresses that are completely unparseable.
- geocode() attempts to be as forgiving as possible when geocoding an address. If you say "Mission Ave" and all it knows about is "Mission St", then "Mission St" is what you'll get back. If you leave off directional identifiers, geocode() will return address geocoded in all the variants it can find, i.e. both "N Main St" and "S Main St".
- Don't be surprised if geocoding an intersection returns more than one lat/long pair for a single intersection. If one of the streets curves greatly or doglegs even slightly, this will be the likely outcome.
- geocode() is probably the method you want to use. See more in the following section on the structure of the returned address and intersection specifiers.
- Geo:Coder:US->geocode_address( $string )
- Works exactly like geocode(), but only parses addresses.
- Geo:Coder:US->geocode_intersection( $string )
- Works exactly like geocode(), but only parses intersections.
- Geo:Coder:US->filter_ranges( $spec, @candidates )
- Filters a list of address specifiers (presumably from the database) against a query specifier, filtering by prefix, type, suffix, or primary name if possible. Returns a list of matching specifiers. filter_ranges() will ignore a filtering step if it would result in no specifiers being returned. You probably won't need to use this.
- Geo:Coder:US->find_ranges( $address_spec )
- Given a normalized address specifier, return all the address ranges in the database that appear to cover that address. find_ranges() ignores prefix, suffix, and type fields in the specifier for search purposes, and then filters against them ex post facto. The intention for find_ranges() to find the closest match possible in preference to returning nothing. You probably want to use lookup_ranges() instead, which will call find_ranges() for you.
- Geo:Coder:US->lookup_ranges( $address_spec, @ranges )
- Given an address specifier and (optionally) some address ranges from the database, interpolate the street address into the street segment referred to by the address range, and return a latitude and longitude for the given address within each of the given ranges. If @ranges is not given, lookup_ranges() calls find_ranges() with the given address specifier, and uses those returned. You probably want to just use geocode() instead, which also parses an address string and determines whether it's a proper address or an intersection automatically.
- Geo:Coder:US->find_segments( $intersection_spec )
- Given a normalized intersection specifier, find all of the street segments in the database matching the two given streets in the given locale or ZIP code. find_segments() ignores prefix, suffix, and type fields in the specifier for search purposes, and then filters against them ex post facto. The intention for find_segments() to find the closest match possible in preference to returning nothing. You probably want to use lookup_intersection() instead, which will call find_segments() for you.
- Geo:Coder:US->lookup_intersection( $intersection_spec )
- Given an intersection specifier, return all of the intersections in the database between the two streets specified, plus a latitude and longitude for each intersection. You probably want to just use geocode() instead, which also parses an address string and determines whether it's a proper address or an intersection automatically.
Requirements: Perl
Added: 2009-06-11 License: Perl Artistic License Price: FREE
1 downloads
Secleted [ 0 ] software to compare
- Page: 1 of 1
- 1
Copyright Notice:
Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future software development. The above tigerline search only lists software in full, demo and trial versions for free download. Download links are directly from our mirror sites or publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed