2015/6/301 transcad managing data tables. 2015/6/302 create a new table

16
111/03/25 1 TransCAD Managing Data Tables

Post on 21-Dec-2015

222 views

Category:

Documents


6 download

TRANSCRIPT

Page 1: 2015/6/301 TransCAD Managing Data Tables. 2015/6/302 Create a New Table

112/04/18 1

TransCAD

Managing Data Tables

Page 2: 2015/6/301 TransCAD Managing Data Tables. 2015/6/302 Create a New Table

112/04/18 2

Create a New Table

Page 3: 2015/6/301 TransCAD Managing Data Tables. 2015/6/302 Create a New Table

112/04/18 3

Add a field

Delete a field

Change the field order

Change a field name

Use a display name

Change a field type

Change a field width

Change the number of decimals

Set a default value in new records

Change a field format

Change a field description

Index a field

Change the aggregation method

Page 4: 2015/6/301 TransCAD Managing Data Tables. 2015/6/302 Create a New Table

112/04/18 4

Adding Records to a New Table

Page 5: 2015/6/301 TransCAD Managing Data Tables. 2015/6/302 Create a New Table

112/04/18 5

Adding Records to a New Table

Adding a Fixed Number of Records– If you know how many records you want to store in

the new table, you can tell TransCAD to add that number of blank records to the table.

Adding Matching Records– Use this option when you want to store additional

columns of information about records or map features in a new table. The Matching Records option automatically adds one matching record for each record or feature in the original dataview.

Page 6: 2015/6/301 TransCAD Managing Data Tables. 2015/6/302 Create a New Table

112/04/18 6

Adding Records to a New Table

Adding a Record for Each Unique Value of a Field– Use this option when you want to create a

lookup table that adds new information to a map layer or dataview. To use this option, you must choose:

• The map layer or dataview you want to examine.

• The field whose values you want to use. TransCAD adds this field to the new table.

Page 7: 2015/6/301 TransCAD Managing Data Tables. 2015/6/302 Create a New Table

112/04/18 7

Modify the Structure of a Table

Page 8: 2015/6/301 TransCAD Managing Data Tables. 2015/6/302 Create a New Table

112/04/18 8

Working with Codes

Often a database will contain shorthand codes that have a particular meaning. Using codes saves space because long character strings are replaced with shorter codes.

To replace shorthand codes with descriptive text, you create a lookup table and attach it to the original table. A look up table is simply a table that contains the field names, the shorthand codes, and the descriptive text you eant to see displayed.

Page 9: 2015/6/301 TransCAD Managing Data Tables. 2015/6/302 Create a New Table

112/04/18 9

Attach Codes

Lookup Table – All of the column data type has to be

character as well as the column contains codes

Page 10: 2015/6/301 TransCAD Managing Data Tables. 2015/6/302 Create a New Table

112/04/18 10

Page 11: 2015/6/301 TransCAD Managing Data Tables. 2015/6/302 Create a New Table

112/04/18 11

Double Click

Page 12: 2015/6/301 TransCAD Managing Data Tables. 2015/6/302 Create a New Table

112/04/18 12

Create a Lookup Table From a Dataview

Page 13: 2015/6/301 TransCAD Managing Data Tables. 2015/6/302 Create a New Table

112/04/18 13

Create a New Table from a Dataview

Marking Column

Page 14: 2015/6/301 TransCAD Managing Data Tables. 2015/6/302 Create a New Table

112/04/18 14

Creating a Table from an Excel File

Page 15: 2015/6/301 TransCAD Managing Data Tables. 2015/6/302 Create a New Table

112/04/18 15

Page 16: 2015/6/301 TransCAD Managing Data Tables. 2015/6/302 Create a New Table

112/04/18 16

About Dictionary Files

Tables in fixed-format text, fixed-format binary, and comma- and tab-separated text format require an additional file called the dictionary file. The dictionary file serves as a header and tells TransCAD where to look in the data file for the different fields of data.

When you create a table in one of these formats, TransCAD automatically creates the dictionary file.

Dictionary files have the same file name as the data file and an extension of:– .DCT for a fixed-format text

file

– .DCC for a comma- or tab-separated text file

– .DCB for a fixed-fromat binary file