21
Working with Tables Where the serious GIS work takes place.

Working with Tables

  • Upload
    stesha

  • View
    43

  • Download
    0

Embed Size (px)

DESCRIPTION

Working with Tables. Where the serious GIS work takes place. One Feature – One Record. Field or Column. Record or Row. One Feature – One Record. Field Requirements. Use unique column names Define the data type to be stored Appropriate width for attribute value. - PowerPoint PPT Presentation

Citation preview

Page 1: Working with Tables

Working with Tables

Where the serious GIS work takes place.

Page 2: Working with Tables

One Feature – One Record

Page 3: Working with Tables

Field

or

Column

Record

or

Row

One Feature – One Record

Page 4: Working with Tables

Field Requirements

• Use unique column names

• Define the data type to be stored

• Appropriate width for attribute value.

Data Types will be discussed in the next lecture.

Page 5: Working with Tables

Joining and Relating Tables

A Common Field

Page 6: Working with Tables

One to One Relationship

Join the tables.

Page 7: Working with Tables

Many to One

Join the tables.

Page 8: Working with Tables

One to Many Relationship

Relate the tables.

Page 9: Working with Tables

Many to Many

Relate the tables.

Page 10: Working with Tables

Joining Tables

Page 11: Working with Tables

Joining to another table based on atributes.

This is the table you are joining

These are the common fields

Page 12: Working with Tables

Join Results

Original Coffee Shop Attribute Table (points)

Original Owners.dbf

Page 13: Working with Tables

Joined Tables

• The originals remain separated

• They can be unjoined

• You can use joined data to symbolize and classify.

• You can create statistics, charts and reports.

Page 14: Working with Tables

What happens if you join when you should relate for a One to Many?

Shape Area Name ID

point 32456 Smith 71

point 23412 Jones 64

point 16534 Green 22

ID Tax_Val Income

71 1400 42000

71 723 5701

64 3218 89055

64 127 879

22 465 2271

71 4213 120000

?

?

?

Join will combine for the first record and then ignore the rest.

Relate will connect all the records.

Page 15: Working with Tables

What happens if you join in a Many to One

Shape Area Name Route

point 17864 Allan 14

Point 22341 Rios 14

Point 12221 Lee 9

point 32456 Smith 9

point 23412 Jones 27

point 16534 Green 27

Route Day Comp

14 M UPS

9 T FEDX

27 F AIRB

The records are duplicated in the Joined file

Page 16: Working with Tables

Multiple Joins and Relates(Daisy Chains)

Route

Route

Page 17: Working with Tables

Related Tables

Page 18: Working with Tables

Summarize Data

Page 19: Working with Tables

Create a Graph from Summarized, Selected Data

Page 20: Working with Tables
Page 21: Working with Tables

Chart of joined, summarized, selected data.