Maptitude - http://research.umbc.edu/~roswell/maptitude.html
--------------------------- ListBot Sponsor --------------------------
Get fast, easy info by phone: Call 800-555-TELL.
News, weather, restaurants... & much more!
http://www.tellme.com/signin/register.gsp?src=engage&i=12
----------------------------------------------------------------------
As promised, Peter's response regarding Tiger 2000 follows. My copy of
GISDK (and it's help file) were from Spring 2000, so anyone with GISDK
versions from that time and older should know that the ImportTiger procedure
has been refined in minor, but critical ways.
>Does the GISDK ImportTiger() procedure work with the new Census Tiger Files
>just now released? I have been using the Version=0 option with 1995-1999
>Tiger versions with no problems, but am suddenly getting syntax problems
>when running a macro using ImportTiger to build a block (with water blocks)
>base map. Any syggestions.
Version 4.2 of Maptitude and Maptitude for Redistricting support TIGER
2000. The version parameter for ImportTiger() now takes the actual year as
an integer, e.g. 2000. The GISDK help entry for that function is now
(please excuse the lack of formatting):
Summary
Converts TIGER/Line files to standard geographic files.
Changes
For Version 4.0 the Version argument changed from version number to actual
year, plus 0 to have the version determined from the file names and other
indicators. Versions supported through 2000.
Syntax
ImportTiger(integer version, array filenames, string db_name, array options)
Argument Contents
version The version of TIGER/Line to be imported (1990, 1992, 1994, 1995,
1997, 1998, 1999, 2000).
filenames An array of the names (without extensions) of the
TIGER/Line files to be imported, e.g. {"e:\\25\\017\\tgr25017",
"e:\\25\\025\\tgr25025"}
db_name The name of the output geographic file
Choose only one of the following five options. The option indicates the
types of features to import and the type of layer to create:
Option Type Contents
Point Array An array of Census Feature Class Code (CFCC) strings;
indicate the point features to import
Line Array An array of Census Feature Class Code (CFCC) strings;
indicate the line features to import
Street Array An array of Census Feature Class Code (CFCC) strings;
indicate the street features to import
Landmark Array An array of Census Feature Class Code (CFCC)
strings; indicate the landmark area features to import
Area String Any one of the following strings indicates the type of area
boundary to construct: State, County, Tract, Block Group, Block, Water
Block, Place, MCD, UA, American Indian Reservation (or AIR), Alaska Native
Village Statistical Area (or ANVSA), Tribal Designated Statistical Area (or
TDSA), Tribal Jurisdiction Statistical Area (or TJSA), Voting District.
In addition, the following strings can also be used to indicate the type of
area boundary to construct for particular versions. The table indicates the
first version that the string can be used with and the last version (if
any) that the string can be used with:
String First Version Last Version
101st Congressional District 1990 1990
103rd Congressional District 1990 1990
106th Congressional District 1994 --
108th Congressional District 1994 --
80 State 1990 1992
80 County 1990 1992
80 Tract 1990 1992
80 Block 1990 1992
Place (FIPS) 1990 1995
90 State 1994 --
90 County 1994 --
90 Tract 1994 --
90 Block 1994 --
90 Block Group 1994 --
90 MCD 1994 --
90 Place 1994 --
90 AIR 1994 --
90 Tribal Designated Statistical Area (or 90 TDSA) 1994 --
90 Tribal Jurisdiction Statistical Area (or 90 TJSA) 1994 --
90 Alaska Native Village Statistical Area (or 90 ANVSA) 1994 --
Traffic Analysis Zone (or TAZ) 1994 --
Elementary School District 1992 --
Middle School District 1992 --
Secondary School District 1992 --
Unified School 1992 --
Block 2000 1997 --
Legislative Upper (or SLDU) 1999 --
Legislative Lower (or SLDL) 1999 --
The following options can be used with any of the above options:
Option Type Contents
Copy Path String A path to which the TIGER/Line files are copied
before processing; increases speed when working with TIGER/Line files on CD
Label String A descriptive label for the new geographic file
Layer Name String The name of the new layer in the geographic file
The following option can be used only with the Line or Street options:
Option Type Contents
Node Layer Name String The name of the endpoint layer in the geographic
file
The following option can be used only with the Area and Landmark options:
Option Type Contents
Water Boundary Boolean If True (the default), water blocks will be merged
with adjacent area features, resulting in a simpler geographic file that
does not show any water detail. If False, water blocks are dropped out and
appear as holes in the resulting, more detailed, geographic file.
Notes
� If the version is not know, use TigerVersion() to make an educated
guess of the TIGER/Line file version.
� If ImportTiger() does not find a TIGER/Line file in the specified
directory, it prompts the user to place the CD in the drive. This option is
very useful if the input data is scattered across two or more CDs.
� The area option string of UA refers to Census Urban Areas.
� The area option string Place produces place boundaries with Census
IDs. The Place (FIPS) option produces place boundaries with FIPS IDs.
� The geographic file name must be a valid name for a standard
geographic file, with the .DBD extension.
Example
// Build simple Census Block boundaries
ImportTiger(1990, {"tgr25015"}, "my_file.dbd", {{"Area", "Block"}})
// Build voting districts, dropping out water blocks for more detail
ImportTiger(1992, {"tgr25015", "f:\\tgr25017"}, "another.dbd", {
{"Area", "Voting District"},
{"Layer Name", "Precincts"},
{"Label", "My Voting District File"},
{"Water Boundary", "False"}
})
Error Codes
Error Type Meaning
Error An error occurred creating the geographic file (e.g., insufficient
disk space)
NotFound One of the input TIGER/Line files could not be found
See Also
Function Summary
TigerVersion() Tries to determine the version of a TIGER/Line file
Peter
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com
______________________________________________________________________
To unsubscribe, write to [EMAIL PROTECTED]