16
Without the attribute table, a polygon is just a polygon, a point is a point The attribute table defines what points, lines, or polygons (features) are and describes their characteristics. The Attribute Table! Is it a city or a tree?

Without the attribute table, a polygon is just a polygon, a point is a point The attribute table defines what points, lines, or polygons (features) are

Embed Size (px)

Citation preview

Page 1: Without the attribute table, a polygon is just a polygon, a point is a point The attribute table defines what points, lines, or polygons (features) are

Without the attribute table, a polygon is just a polygon, a point is a point

The attribute table defines what points, lines, or polygons (features) are and describes their characteristics.

The Attribute Table!

Is it a city or a tree?

Page 2: Without the attribute table, a polygon is just a polygon, a point is a point The attribute table defines what points, lines, or polygons (features) are

The Attribute Table!

Page 3: Without the attribute table, a polygon is just a polygon, a point is a point The attribute table defines what points, lines, or polygons (features) are

The Attribute Table!

You can add/associate data to your attribute table by:

creating a new field joining (one-to-one)joining (one-to-one) relating (one-to-many

records)

Area

796.5096 2745.767 1840.4960

Page 4: Without the attribute table, a polygon is just a polygon, a point is a point The attribute table defines what points, lines, or polygons (features) are

You can add/associate data to your attribute table by:

creating a new field joining (one-to-one) relating (one-to-many relating (one-to-many

records)records)

The Attribute Table!

Schools

Page 5: Without the attribute table, a polygon is just a polygon, a point is a point The attribute table defines what points, lines, or polygons (features) are

Relational Database Model

Types of relationships Cardinality - one-to-one, one-to-many,

many-to-many

Examples…? state capitol to statestate to citiescities to state

Keys fields are used to create relationships between tables.

Can be a number or a text field.

Always create a relationship from the spatial table (shapefile, geodatabse) to the non-spatial table

Most Common!

Page 6: Without the attribute table, a polygon is just a polygon, a point is a point The attribute table defines what points, lines, or polygons (features) are

Joins and Relates

One-to-One relationshipis created using the JOIN operation

external table is appended to your shapefile/geodatabase attribute table

One-to-Many relationshipis created using the RELATE operation

external table is physically separate from the attribute table

Two ways of linking an external table to a shapefile or geodatabase

Page 7: Without the attribute table, a polygon is just a polygon, a point is a point The attribute table defines what points, lines, or polygons (features) are

Joins

Non-Spatial Layer table (dbf, csv, txt)

Spatial Layer shapefile, geodatabase

A join appends the fields from thenon-spatial table to the spatial table.

You can symbolize and query table information that is contained in the non-spatial table

Ave00

Page 8: Without the attribute table, a polygon is just a polygon, a point is a point The attribute table defines what points, lines, or polygons (features) are

Joins

Spatial Layer shapefile, geodatabase

Non-Spatial Layer table

NAME

Page 9: Without the attribute table, a polygon is just a polygon, a point is a point The attribute table defines what points, lines, or polygons (features) are

Relates

Spatial Table Non - Spatial Table

Cannot symbolize Cannot use “select by attribute” across tables

A relate does not append the fields from the non-spatial to spatial table (tables separate)

Page 10: Without the attribute table, a polygon is just a polygon, a point is a point The attribute table defines what points, lines, or polygons (features) are

Relates

Spatial Layer shapefile, geodatabase

Non-Spatial Layer table

Page 11: Without the attribute table, a polygon is just a polygon, a point is a point The attribute table defines what points, lines, or polygons (features) are

Joining and Relating Tables

1 to 1 Join 1 to Many Relate Many to 1 Join Many to Many Relate

Allows link from the spatial table to the external table!(right-click on the shapefile/geodatabes to begin the join or relate)

Page 12: Without the attribute table, a polygon is just a polygon, a point is a point The attribute table defines what points, lines, or polygons (features) are

Manipulation of Fields and Attribute Data – Adding and Deleting Fields

Add Fields from the Options button in the attribute table

Delete Fields by right-clicking on the field

Page 13: Without the attribute table, a polygon is just a polygon, a point is a point The attribute table defines what points, lines, or polygons (features) are

Manipulation of Fields and Attribute Data – Adding Fields

Add Fields from the Options button in the attribute table

Page 14: Without the attribute table, a polygon is just a polygon, a point is a point The attribute table defines what points, lines, or polygons (features) are

Manipulation of Fields and Attribute Data – Field Calculator

-Saves time in data entry - automatically calculate values for a field-copying-concatenating-creating new values using mathematical operations (add field 1 to field 2)

-Advanced Field Calculatorperforms advanced calculations using Visual Basic for Applications (VBA) statements

Right-click on field heading

Field Calculator

Page 15: Without the attribute table, a polygon is just a polygon, a point is a point The attribute table defines what points, lines, or polygons (features) are

Manipulation of Fields and Attribute Data - Summarize

Summarizing allows you to aggregate your records by a field

•sum •average•count•minimum•maximum value•standard deviation•variance

ArcMap creates a new table containing the summarized data

Useful for joining tables

Page 16: Without the attribute table, a polygon is just a polygon, a point is a point The attribute table defines what points, lines, or polygons (features) are

Manipulation of Fields and Attribute Data - Summarize

Right-click fieldSummarized DialogCreate a new table