Advanced Tiger Conversion (Coverage)

Summary

Converts a set of U.S. Census Bureau TIGER/Line files to a set of ArcInfo coverages.

Usage

Syntax

TigerTool_arc (in_tiger_file_prefix, out_cover_prefix, {join_attributes}, {projection}, {zone_number}, {tiger_version}, {restart})
ParameterExplanationData Type
in_tiger_file_prefix

The filename prefix, common to all files in the set of TIGER/Line files being converted. The prefix may include a directory pathname.

String
out_cover_prefix

The prefix of the output coverages to be created from the TIGER/Line files.

String
join_attributes
(Optional)

Determines if the basic line, area, and landmark point features will be joined to their feature attribute tables.

  • JOINThe output features will be joined to their feature attribute tables.
  • NO_JOINThe output features will not be joined to their feature attribute tables.
Boolean
projection
(Optional)

The spatial reference of the output coverages.

  • UTMTIGER files will be projected to the Universal Transverse Mercator (UTM) coordinate system.
  • STATETIGER files will be projected to the State Plane coordinate system.
String
zone_number
(Optional)

The zone number of the specified coordinate system.

Long
tiger_version
(Optional)

The input TIGER/Line files version.

  • 1995
  • 1997
  • 1998
  • 1999
  • 2000
  • 2002
  • 2003
  • 20041
  • 20042
  • 20051
  • 20052
String
restart
(Optional)

Determines whether processing will continue if the TIGER data contains intersection errors.

  • RESTARTProcessing will continue if the TIGER data contains intersection errors.
  • NO_RESTARTProcessing will stop if the TIGER data contains intersection errors.
Boolean

Code Sample

TigerTool example (stand-alone script)

The following stand-alone script demonstrates how to import a set of TIGER/Line files to a set of coverages.

# Name: TigerTool_Example.py
# Description: Imports coverages from TIGER/Line files
# Requirements: ArcInfo Workstation
# Author: ESRI

# Import system modules
import arcpy
from arcpy import env

# Set environment settings
env.workspace = "C:/data"

# Set local variables
inTigerFilePrefix = "tgr23005.bw"
outCoverPrefix = "C:/output/bla23005"
joinAttributes = "NO_JOIN"
tigerVersion = 1995

# Execute TigerTool
arcpy.TigerTool_arc(inTigerFilePrefix, outCoverPrefix, joinAttributes, "",
                    "", tigerVersion, "")

Environments

Related Topics

Licensing Information

ArcView: No
ArcEditor: No
ArcInfo: Requires ArcInfo Workstation installed

Published 6/8/2010