Comrite Unix Man page/Perldoc/Info page, English-Chinese Dictionary, Chinese-English Dictionary

Geo::TigerLine::Record::T--3pm

Command: man perldoc info search(apropos)  


 
Geo::TigerLine::RecordUser3Contributed Perl DocuGeo::TigerLine::Record::T(3pm)



NAME
       Geo::TigerLine::Record::T - TIGER/Line 2003 TIGER Zero-Cell ID

SYNOPSIS
         use Geo::TigerLine::Record::T;

         @records = Geo::TigerLine::Record::T->parse_file($fh);
         @records = Geo::TigerLine::Record::T->parse_file($fh, \&callback);

         $record = Geo::TigerLine::Record::T->new(\%fields);

         $record->rt();
         $record->version();
         $record->file();
         $record->tzid();
         $record->source();
         $record->ftrp();

DESCRIPTION
       This is a class representing record type T of the TIGER/Line 2003 cen-
       sus geographic database.  Each object is one record.  It also contains
       methods to parse TIGER/Line record type T 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 sophis-
       ticated (a process you should only have to do once).  As such, it's 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.  It's OO, so consider sub-classing instead.

       Accessors

       These are simple get/set accessors for each field of a record generated
       from the TIGER/Line 2003 data dictionary.  They perform some data vali-
       dation.

       rt
               $data = $record->rt();
               $record->rt($data);

           Record Type.

           Expects alphanumeric data of no more than 1 characters.  $data can-
           not be blank and should be left justified.

       version
               $data = $record->version();
               $record->version($data);

           Version Number.

           Expects numeric data of no more than 4 characters.  $data cannot be
           blank and should be left justified.

       file
               $data = $record->file();
               $record->file($data);

           File Code.

           Expects numeric data of no more than 5 characters.  $data cannot be
           blank and should be left justified.

       tzid
               $data = $record->tzid();
               $record->tzid($data);

           TIGER Zero-Cell ID, Permanent Zero-Cell Number.

           Expects numeric data of no more than 10 characters.  $data cannot
           be blank and should be right justified.

       source
               $data = $record->source();
               $record->source($data);

           TIGER Zero-Cell Source Code (not filled).

           Expects alphanumeric data of no more than 10 characters.  $data can
           be blank and should be left justified.

       ftrp
               $data = $record->ftrp();
               $record->ftrp($data);

           FTRP ID (AAAAA.O.XXXXXXXXX) (Authority-P-ID) FGDC Transportation ID
           Standard (not filled).

           Expects alphanumeric data of no more than 17 characters.  $data can
           be blank and should be left justified.

       Data dictionary

       This is the original TIGER/Line 2003 data dictionary from which this
       class was generated.

           Record Type T - TIGER Zero-Cell ID

           Field     BV  Fmt Type Beg End Len Description
           RT        No   L   A    1    1  1  Record Type
           VERSION   No   L   N    2    5  4  Version Number
           FILE      No   L   N    6   10  5  File Code
           TZID      No   R   N   11   20 10  TIGER Zero-Cell ID, Permanent Zero-Cell Number
           SOURCE    Yes  L   A   21   30 10  TIGER Zero-Cell Source Code (not filled)
           FTRP      Yes  L   A   31   47 17  FTRP ID (AAAAA.O.XXXXXXXXX) (Authority-P-ID) FGDC Transportation ID Standard (not filled)

AUTHOR
       Michael G Schwern <schwern AT pobox.com>

SEE ALSO
       Geo::TigerLine, mk_parsers



perl v5.8.7                       2004-05-11    Geo::TigerLine::Record::T(3pm)
 

©2005 Comrite