Geo::TigerLine::Record::7(3p)

NAME
Geo::TigerLine::Record::7 - TIGER/Line 2006 Landmark Features

SYNOPSIS
  use Geo::TigerLine::Record::7;

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

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

  $record->rt();
  $record->version();
  $record->file();
  $record->land();
  $record->source();
  $record->cfcc();
  $record->laname();
  $record->lalong();
  $record->lalat();
  $record->filler();

DESCRIPTION
This is a class representing record type 7 of the TIGER/Line 2006 census geographic database. Each object is one record. It also contains methods to parse TIGER/Line record type 7 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, 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 2006 data dictionary. They perform some data validation.

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

    Record Type.

    Expects alphanumeric data of no more than 1 characters. $data cannot 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.

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

    Landmark Identification 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);

    Source or First Source Code to Update.

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

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

    Census Feature Class Code.

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

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

    Landmark Name.

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

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

    Longitude.

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

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

    Latitude.

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

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

    Filler (to make even character count).

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

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

    Record Type 7 - Landmark Features

    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
    LAND    No  R N 11 20 10 Landmark Identification Number
    SOURCE  Yes L A 21 21  1 Source or First Source Code to Update
    CFCC    No  L A 22 24  3 Census Feature Class Code
    LANAME  Yes L A 25 54 30 Landmark Name
    LALONG  Yes R N 55 64 10 Longitude
    LALAT   Yes R N 65 73  9 Latitude
    FILLER  Yes L A 74 74  1 Filler (to make even character count)

AUTHOR
Michael G Schwern <schwern@pobox.com>

SEE ALSO
Geo::TigerLine, mk_parsers