dr. harut shahumyan susanne schmidt · dr. harut shahumyan susanne schmidt june 15june 15-18...

73
Introduction to ArcGIS Dr. Harut Shahumyan Susanne Schmidt June 15-18 2009 June 15 18, 2009

Upload: others

Post on 12-Mar-2020

9 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: Dr. Harut Shahumyan Susanne Schmidt · Dr. Harut Shahumyan Susanne Schmidt June 15June 15-18 200918, 2009. ArcGIS Desktop Product Levels ArcView ArcEditor ArcInfo • GIS toolkit

Introduction to ArcGISDr. Harut ShahumyanSusanne Schmidt

June 15-18 2009June 15 18, 2009

Page 2: Dr. Harut Shahumyan Susanne Schmidt · Dr. Harut Shahumyan Susanne Schmidt June 15June 15-18 200918, 2009. ArcGIS Desktop Product Levels ArcView ArcEditor ArcInfo • GIS toolkit
Page 3: Dr. Harut Shahumyan Susanne Schmidt · Dr. Harut Shahumyan Susanne Schmidt June 15June 15-18 200918, 2009. ArcGIS Desktop Product Levels ArcView ArcEditor ArcInfo • GIS toolkit

ArcGIS Desktop Product Levels

ArcView ArcEditor ArcInfo• GIS toolkit for data

use, mapping, reporting, and map-

• ArcView functionality –PLUS advanced

• ArcEditor functionality –PLUS additional

based analysis geographic editing and data creation

geoprocessing tools

Page 4: Dr. Harut Shahumyan Susanne Schmidt · Dr. Harut Shahumyan Susanne Schmidt June 15June 15-18 200918, 2009. ArcGIS Desktop Product Levels ArcView ArcEditor ArcInfo • GIS toolkit

ArcGIS Desktop Components

• ArcMap• ArcMap– Creating maps – Viewing, editing, and analyzing geographic data– Querying spatial data to find/understand relationships among geographic

features– Symbolizing datay g– Laying out and printing maps

A C t l• ArcCatalog– is the tool for browsing, organizing, distributing, and documenting GIS data

• ArcToolbox– collection of geoprocessing functions / tools

Page 5: Dr. Harut Shahumyan Susanne Schmidt · Dr. Harut Shahumyan Susanne Schmidt June 15June 15-18 200918, 2009. ArcGIS Desktop Product Levels ArcView ArcEditor ArcInfo • GIS toolkit

ArcGIS Desktop Extensions

• Optional extensions with advanced functionality are available for ArcGIS Desktop

– Spatial Analyst– Network Analysty– 3D Analyst– Business Analyst

etc– etc

Page 6: Dr. Harut Shahumyan Susanne Schmidt · Dr. Harut Shahumyan Susanne Schmidt June 15June 15-18 200918, 2009. ArcGIS Desktop Product Levels ArcView ArcEditor ArcInfo • GIS toolkit

ArcCatalog

• Exploring maps, tables, meta data

C i i i d l ti d t t• Copying, moving, renaming, deleting datasets

• Creating datasets

• Start ArcMap or ArcToolbox

Page 7: Dr. Harut Shahumyan Susanne Schmidt · Dr. Harut Shahumyan Susanne Schmidt June 15June 15-18 200918, 2009. ArcGIS Desktop Product Levels ArcView ArcEditor ArcInfo • GIS toolkit

ArcCatalog versus Windows Explorer

• In Windows Explorer (My Computer) navigate to the directory F:\Intro_ArcGIS– How many files are associated with the Airports ?

• Now open ArcCatalog– Navigate to the same directory, how does ArcCatalog display

Airports ?Airports ?

Page 8: Dr. Harut Shahumyan Susanne Schmidt · Dr. Harut Shahumyan Susanne Schmidt June 15June 15-18 200918, 2009. ArcGIS Desktop Product Levels ArcView ArcEditor ArcInfo • GIS toolkit

ArcCatalog Folder Connection

To access the data in a folder orTo access the data in a folder or geodatabase, a connection has to be established.

1. To establish the connection, click on the Connect to Folder button.

2. In the Connect to Folder wizard, navigate to the folder or

d t b th t t i th d tgeodatabase that contains the data (F:\Intro_ArcGIS) and click OK.

Page 9: Dr. Harut Shahumyan Susanne Schmidt · Dr. Harut Shahumyan Susanne Schmidt June 15June 15-18 200918, 2009. ArcGIS Desktop Product Levels ArcView ArcEditor ArcInfo • GIS toolkit

ArcCatalog View Types

There are three different types of views for data display – Contents– Preview– Metadata

Main menu

View TypeStandard

Catalog

yptoolbar

Catalog Tree Display

Preview Type

Page 10: Dr. Harut Shahumyan Susanne Schmidt · Dr. Harut Shahumyan Susanne Schmidt June 15June 15-18 200918, 2009. ArcGIS Desktop Product Levels ArcView ArcEditor ArcInfo • GIS toolkit

Geographic Data

• Vector – Points – Lines – Polygons

• Raster• Raster– Surface divided into

regular grid of cells

Page 11: Dr. Harut Shahumyan Susanne Schmidt · Dr. Harut Shahumyan Susanne Schmidt June 15June 15-18 200918, 2009. ArcGIS Desktop Product Levels ArcView ArcEditor ArcInfo • GIS toolkit

Attribute Data

• Usually data attributed to geographical object or location (Name of a mountain, street address, monthly income, population)mountain, street address, monthly income, population)

• Stored in spatial datasets or external databases (dbf, MS Access, SQL)• Is a key to query and analysis

Page 12: Dr. Harut Shahumyan Susanne Schmidt · Dr. Harut Shahumyan Susanne Schmidt June 15June 15-18 200918, 2009. ArcGIS Desktop Product Levels ArcView ArcEditor ArcInfo • GIS toolkit

Practice

Take a minute to familiarise yourself with ArcCatalogTake a minute to familiarise yourself with ArcCatalog

– You can:• View/check datasets• Set general parameters• Create rename delete move datasetsCreate, rename, delete, move datasets

– You can consider it like a ‘Windows Explorer’ for spatial data…

Page 13: Dr. Harut Shahumyan Susanne Schmidt · Dr. Harut Shahumyan Susanne Schmidt June 15June 15-18 200918, 2009. ArcGIS Desktop Product Levels ArcView ArcEditor ArcInfo • GIS toolkit

ArcMap

• ArcMap is an application for displaying and analyzing GIS data.

• The application window consists of:• The application window consists of:– Map display area

– Table of contents (TOC)( )

– Menus, tools and buttons

MenuButtons

Tools

TOC Map Display

Page 14: Dr. Harut Shahumyan Susanne Schmidt · Dr. Harut Shahumyan Susanne Schmidt June 15June 15-18 200918, 2009. ArcGIS Desktop Product Levels ArcView ArcEditor ArcInfo • GIS toolkit

Adding Data

A Layer is a digital spatial dataset that has been added to a data frame and that hasa data frame and that has specific properties.

Layers can be added to a data frame either using the Add Data button in the map or byData button in the map or by right clicking on the data frameand then clicking the Add Data menu.

Page 15: Dr. Harut Shahumyan Susanne Schmidt · Dr. Harut Shahumyan Susanne Schmidt June 15June 15-18 200918, 2009. ArcGIS Desktop Product Levels ArcView ArcEditor ArcInfo • GIS toolkit

Working with Layers

• Layers drawing order– Within a data frame, the layers listed at the

top will draw over those listed below them, and so on, down the list

C i l• Copying layers– With simple copy/paste operation

• Removing layers from the mapg y p– Right click the layer, select Remove

• Grouping layersHold the Ctrl key and highlight multiple– Hold the Ctrl key and highlight multiple layers in the table of contents

– Right-click one of the chosen layers– Click Group (a new group layer appears– Click Group (a new group layer appears– in the table of contents containing the

selected layers

• Saving a layer to a disk• Saving a layer to a disk– In the table of contents, right-click the layer

and click Save As Layer File.

Page 16: Dr. Harut Shahumyan Susanne Schmidt · Dr. Harut Shahumyan Susanne Schmidt June 15June 15-18 200918, 2009. ArcGIS Desktop Product Levels ArcView ArcEditor ArcInfo • GIS toolkit

Working with Layers

Using data frames to organize layers

• Adding data frames– Click the Insert menu

Click Data Frame– Click Data Frame– The new data frame will appear in the

table of contents

• Making a data frame active– Right-click the data frame in the table of

contentscontents.– Click Activate

Removing a data frame• Removing a data frame– Right-click the data frame in the table of

contents that you want to removeClick Remove– Click Remove

16

Page 17: Dr. Harut Shahumyan Susanne Schmidt · Dr. Harut Shahumyan Susanne Schmidt June 15June 15-18 200918, 2009. ArcGIS Desktop Product Levels ArcView ArcEditor ArcInfo • GIS toolkit

Practice

• Add the following shapefiles to the project– Country– Counties– Lakes– TownsTowns

• Rename the layers data frame into “Ireland”• Insert new data frame and rename it to “World”• Add World.shp to the World data frame

Page 18: Dr. Harut Shahumyan Susanne Schmidt · Dr. Harut Shahumyan Susanne Schmidt June 15June 15-18 200918, 2009. ArcGIS Desktop Product Levels ArcView ArcEditor ArcInfo • GIS toolkit

Change Symbology (colour/outline)

Page 19: Dr. Harut Shahumyan Susanne Schmidt · Dr. Harut Shahumyan Susanne Schmidt June 15June 15-18 200918, 2009. ArcGIS Desktop Product Levels ArcView ArcEditor ArcInfo • GIS toolkit

Map Types

• Single symbol maps

• Unique values maps

• Quantities maps– Graduated color– Graduated symbol– Dot density

• Chart maps

• Multiple attribute maps

Page 20: Dr. Harut Shahumyan Susanne Schmidt · Dr. Harut Shahumyan Susanne Schmidt June 15June 15-18 200918, 2009. ArcGIS Desktop Product Levels ArcView ArcEditor ArcInfo • GIS toolkit

Single symbol maps

Page 21: Dr. Harut Shahumyan Susanne Schmidt · Dr. Harut Shahumyan Susanne Schmidt June 15June 15-18 200918, 2009. ArcGIS Desktop Product Levels ArcView ArcEditor ArcInfo • GIS toolkit

Unique Values Map

Page 22: Dr. Harut Shahumyan Susanne Schmidt · Dr. Harut Shahumyan Susanne Schmidt June 15June 15-18 200918, 2009. ArcGIS Desktop Product Levels ArcView ArcEditor ArcInfo • GIS toolkit

Quantities Maps

Page 23: Dr. Harut Shahumyan Susanne Schmidt · Dr. Harut Shahumyan Susanne Schmidt June 15June 15-18 200918, 2009. ArcGIS Desktop Product Levels ArcView ArcEditor ArcInfo • GIS toolkit

Chart Maps

Proportional chart map

Page 24: Dr. Harut Shahumyan Susanne Schmidt · Dr. Harut Shahumyan Susanne Schmidt June 15June 15-18 200918, 2009. ArcGIS Desktop Product Levels ArcView ArcEditor ArcInfo • GIS toolkit

Multiple attribute maps

No Specific Spatial LocationNo Specific Spatial LocationNot Helpful For “Relationship” Analysis

State subregion and population within subregion

Page 25: Dr. Harut Shahumyan Susanne Schmidt · Dr. Harut Shahumyan Susanne Schmidt June 15June 15-18 200918, 2009. ArcGIS Desktop Product Levels ArcView ArcEditor ArcInfo • GIS toolkit

Transparent Layers

• To create a transparent layer• To create a transparent layer

– Right-click the layer and click Properties– Click the Display tab– Enter the transparency value, in percent,

you wish this layer to be displayed with– Click OK– If you are uncertain how transparent you

want the layer, click Apply before OK, and keep changing the transparency valuekeep changing the transparency value before you close the Properties dialog box

Page 26: Dr. Harut Shahumyan Susanne Schmidt · Dr. Harut Shahumyan Susanne Schmidt June 15June 15-18 200918, 2009. ArcGIS Desktop Product Levels ArcView ArcEditor ArcInfo • GIS toolkit

Practice

• Create map of Greater Dublin Region (GDR) Electoral Divisions p g ( )(EDs) colored by population number in 2006.– Add GDR_EDs.shp

Go to Properties and change the Symbology to Quantities– Go to Properties and change the Symbology to Quantities

• Create Dot density map of GDR (1 dot = 100 people)

• Add the special protected areas (SPA.shp) and make it transparent in order to see the population densities bellowtransparent in order to see the population densities bellow

Page 27: Dr. Harut Shahumyan Susanne Schmidt · Dr. Harut Shahumyan Susanne Schmidt June 15June 15-18 200918, 2009. ArcGIS Desktop Product Levels ArcView ArcEditor ArcInfo • GIS toolkit

Layout

Layouts are used to communicate GIS information to non-GIS users.

To create a layout, click View/Layout View.

Layout Title

D tData Frame

North Arrow

Scale Bar

Legend

ChartTable

To insert these objects in a layout, use the Insert menu on the ArcMap document.

Page 28: Dr. Harut Shahumyan Susanne Schmidt · Dr. Harut Shahumyan Susanne Schmidt June 15June 15-18 200918, 2009. ArcGIS Desktop Product Levels ArcView ArcEditor ArcInfo • GIS toolkit

Practice

• Create layout with 2 maps: y p– map of Ireland showing counties in different colours with ED

borders – map of World zoomed to Europe showing place of Irelandmap of World zoomed to Europe showing place of Ireland

Page 29: Dr. Harut Shahumyan Susanne Schmidt · Dr. Harut Shahumyan Susanne Schmidt June 15June 15-18 200918, 2009. ArcGIS Desktop Product Levels ArcView ArcEditor ArcInfo • GIS toolkit

Working with Tables

Tables are arrays of data organized in rows and columns (i.e. fields)

Table can be:

Stand alone arrays of data with no geographic information included

Components of digital spatial datasets in which each row includes feature

shape and a unique identification number for each feature called FID.

Table Name Field Name FieldRight-click field name to get menu

FIDF t ShFeature Shape

RowRow

Page 30: Dr. Harut Shahumyan Susanne Schmidt · Dr. Harut Shahumyan Susanne Schmidt June 15June 15-18 200918, 2009. ArcGIS Desktop Product Levels ArcView ArcEditor ArcInfo • GIS toolkit

Table Properties

Table properties can be viewed using

Layer properties/FieldsLayer properties/Fields.

Primary properties are:Field nameField nameTypeLengthPrecisionScale

Properties that can be changed are:Properties that can be changed are:Visible (used to hide or unhide fields)Alias (display different name)

Visible and Alias do not modify the

table’s original data, but do affect how a

table is exported

Page 31: Dr. Harut Shahumyan Susanne Schmidt · Dr. Harut Shahumyan Susanne Schmidt June 15June 15-18 200918, 2009. ArcGIS Desktop Product Levels ArcView ArcEditor ArcInfo • GIS toolkit

Fields

• Fields have specific types available• Must be defined before use• Once defined, cannot be changed• Naming rules

N th 13 h t (10 i li i )– No more than 13 characters (10 in earlier versions)– Use only letters, numbers and underscore– Must start with a letter

Page 32: Dr. Harut Shahumyan Susanne Schmidt · Dr. Harut Shahumyan Susanne Schmidt June 15June 15-18 200918, 2009. ArcGIS Desktop Product Levels ArcView ArcEditor ArcInfo • GIS toolkit

Adding a field

Page 33: Dr. Harut Shahumyan Susanne Schmidt · Dr. Harut Shahumyan Susanne Schmidt June 15June 15-18 200918, 2009. ArcGIS Desktop Product Levels ArcView ArcEditor ArcInfo • GIS toolkit

Field Characteristics

L h f 10 Length = 10• Length of 10– The total characters a text field

can store

Length = 10Maple St.Maple Stre

• PrecisionTh t t l idth f di it

1561985 128– The total width of digits a

numeric field can store1985.128-1922.5600

• Scale– The number of decimal places 0.001

0.00001

Page 34: Dr. Harut Shahumyan Susanne Schmidt · Dr. Harut Shahumyan Susanne Schmidt June 15June 15-18 200918, 2009. ArcGIS Desktop Product Levels ArcView ArcEditor ArcInfo • GIS toolkit

Editing Values

Open Editor toolbar Start editing

Type edits in fields Save edits, stop editing

Page 35: Dr. Harut Shahumyan Susanne Schmidt · Dr. Harut Shahumyan Susanne Schmidt June 15June 15-18 200918, 2009. ArcGIS Desktop Product Levels ArcView ArcEditor ArcInfo • GIS toolkit

Sorting Tables

H ff i i l d• Has no effect on original data

Page 36: Dr. Harut Shahumyan Susanne Schmidt · Dr. Harut Shahumyan Susanne Schmidt June 15June 15-18 200918, 2009. ArcGIS Desktop Product Levels ArcView ArcEditor ArcInfo • GIS toolkit

Selecting Records

Page 37: Dr. Harut Shahumyan Susanne Schmidt · Dr. Harut Shahumyan Susanne Schmidt June 15June 15-18 200918, 2009. ArcGIS Desktop Product Levels ArcView ArcEditor ArcInfo • GIS toolkit

Show Selected

Page 38: Dr. Harut Shahumyan Susanne Schmidt · Dr. Harut Shahumyan Susanne Schmidt June 15June 15-18 200918, 2009. ArcGIS Desktop Product Levels ArcView ArcEditor ArcInfo • GIS toolkit

SQL Queries

E l f lid iExamples of valid queries

“POP1990” > 1000000

“County” = ‘Dublin City’

“County” = ‘Dublin City’ OR “County” = ‘Meath County’

"POP2000" >= "POP1990“

Page 39: Dr. Harut Shahumyan Susanne Schmidt · Dr. Harut Shahumyan Susanne Schmidt June 15June 15-18 200918, 2009. ArcGIS Desktop Product Levels ArcView ArcEditor ArcInfo • GIS toolkit

The Like Operator

• “NAME” LIKE ‘%(D)%’ ( )– Finds all of the (D) Democrats

• % is wildcard• Ignores Don or Danforth• Ignores Don or Danforth

“NAME” LIKE ‘%New %’ – Would find New Hampshire and New York,

but not Newcastle or Kennewick

Page 40: Dr. Harut Shahumyan Susanne Schmidt · Dr. Harut Shahumyan Susanne Schmidt June 15June 15-18 200918, 2009. ArcGIS Desktop Product Levels ArcView ArcEditor ArcInfo • GIS toolkit

Clear Selection

On toolbar From main menu

From table options menu

Page 41: Dr. Harut Shahumyan Susanne Schmidt · Dr. Harut Shahumyan Susanne Schmidt June 15June 15-18 200918, 2009. ArcGIS Desktop Product Levels ArcView ArcEditor ArcInfo • GIS toolkit

Field Statistics

Page 42: Dr. Harut Shahumyan Susanne Schmidt · Dr. Harut Shahumyan Susanne Schmidt June 15June 15-18 200918, 2009. ArcGIS Desktop Product Levels ArcView ArcEditor ArcInfo • GIS toolkit

Statistics

• Statistics for fields are based on the selected records

Page 43: Dr. Harut Shahumyan Susanne Schmidt · Dr. Harut Shahumyan Susanne Schmidt June 15June 15-18 200918, 2009. ArcGIS Desktop Product Levels ArcView ArcEditor ArcInfo • GIS toolkit

Calculating Fields

Add a new field if necessaryConsider whether you need decimal places!

Page 44: Dr. Harut Shahumyan Susanne Schmidt · Dr. Harut Shahumyan Susanne Schmidt June 15June 15-18 200918, 2009. ArcGIS Desktop Product Levels ArcView ArcEditor ArcInfo • GIS toolkit

Calculate Values

Right click field toRight-click field to calculate

Enter expression

Page 45: Dr. Harut Shahumyan Susanne Schmidt · Dr. Harut Shahumyan Susanne Schmidt June 15June 15-18 200918, 2009. ArcGIS Desktop Product Levels ArcView ArcEditor ArcInfo • GIS toolkit

Calculate Geometry

If you're working with an attribute table of a feature layer, you can easily calculate the area perimeter length coordinates of theeasily calculate the area, perimeter, length, coordinates of the centroid, coordinates of a point, or coordinates of a start or end point using the Calculate Geometry dialog box.

• Right-click on the “area”-field in gthe table:

Page 46: Dr. Harut Shahumyan Susanne Schmidt · Dr. Harut Shahumyan Susanne Schmidt June 15June 15-18 200918, 2009. ArcGIS Desktop Product Levels ArcView ArcEditor ArcInfo • GIS toolkit

Summarizing tables

• Calculate statistics for groups of features in a table• Groups by unique values in the specified field• User chooses statistics to calculate• Produces another table as output with groups and stats

Historic major earthquakes

Questions:

How many earthquakes in each state?

Total deaths and damage in eachTotal deaths and damage in each state?

Average magnitude in each state?

Page 47: Dr. Harut Shahumyan Susanne Schmidt · Dr. Harut Shahumyan Susanne Schmidt June 15June 15-18 200918, 2009. ArcGIS Desktop Product Levels ArcView ArcEditor ArcInfo • GIS toolkit

How to summarize

Right-click State fi ldfield

Sum Deaths

Sum Population

Average Magnitude

Page 48: Dr. Harut Shahumyan Susanne Schmidt · Dr. Harut Shahumyan Susanne Schmidt June 15June 15-18 200918, 2009. ArcGIS Desktop Product Levels ArcView ArcEditor ArcInfo • GIS toolkit

Summarize Output Table

Count field always generated automaticallyy

Page 49: Dr. Harut Shahumyan Susanne Schmidt · Dr. Harut Shahumyan Susanne Schmidt June 15June 15-18 200918, 2009. ArcGIS Desktop Product Levels ArcView ArcEditor ArcInfo • GIS toolkit

Joining tables

Summarize output table

States layer attributes

Page 50: Dr. Harut Shahumyan Susanne Schmidt · Dr. Harut Shahumyan Susanne Schmidt June 15June 15-18 200918, 2009. ArcGIS Desktop Product Levels ArcView ArcEditor ArcInfo • GIS toolkit

US Earthquake Deaths by State

Page 51: Dr. Harut Shahumyan Susanne Schmidt · Dr. Harut Shahumyan Susanne Schmidt June 15June 15-18 200918, 2009. ArcGIS Desktop Product Levels ArcView ArcEditor ArcInfo • GIS toolkit

Joining tables

Destination table Source tableDestination table Source table

Join tables on common fieldcommon field

3-51Joined table

Page 52: Dr. Harut Shahumyan Susanne Schmidt · Dr. Harut Shahumyan Susanne Schmidt June 15June 15-18 200918, 2009. ArcGIS Desktop Product Levels ArcView ArcEditor ArcInfo • GIS toolkit

Join facts

J i t l ti hi b t t bl• Joins are temporary relationships between tables• Tables must share a common field• Treats the two tables as a single tableTreats the two tables as a single table• Original stored data is not affected• Can be removed when no longer needed

However:T bl j i d t i ti f t b t t t h fil• Tables joined to existing features can be output to new shape files.

Page 53: Dr. Harut Shahumyan Susanne Schmidt · Dr. Harut Shahumyan Susanne Schmidt June 15June 15-18 200918, 2009. ArcGIS Desktop Product Levels ArcView ArcEditor ArcInfo • GIS toolkit

One-to-one joins

Destination table Source tableSource table

Each record in the destination table matches exactly one record in the sourceEach record in the destination table matches exactly one record in the source table.

We call this a cardinality of one-to-oneWe call this a cardinality of one-to-one.

Page 54: Dr. Harut Shahumyan Susanne Schmidt · Dr. Harut Shahumyan Susanne Schmidt June 15June 15-18 200918, 2009. ArcGIS Desktop Product Levels ArcView ArcEditor ArcInfo • GIS toolkit

Types of Cardinality

• One-to-one– Capitals to Countries

Cities to Mayors

• One-to-many– Counties to cities

Districts to schools– Cities to Mayors – Districts to schools

• Many to one • Many-to-many• Many-to-one– Towns to Counties– Schools to districts

• Many-to-many– Students to classes– Stores to customers

Page 55: Dr. Harut Shahumyan Susanne Schmidt · Dr. Harut Shahumyan Susanne Schmidt June 15June 15-18 200918, 2009. ArcGIS Desktop Product Levels ArcView ArcEditor ArcInfo • GIS toolkit

Rule of Joining

Each record in the destination table must match one and only one record in the source table.

One to one

Destination table Source table

Many to one

Page 56: Dr. Harut Shahumyan Susanne Schmidt · Dr. Harut Shahumyan Susanne Schmidt June 15June 15-18 200918, 2009. ArcGIS Desktop Product Levels ArcView ArcEditor ArcInfo • GIS toolkit

One to many

Destination table Source tableDestination table Source table

?

Violates the Rule of JoiningViolates the Rule of Joining

Record to join to destination is ambiguous

Must use a relate insteadMust use a relate instead

Page 57: Dr. Harut Shahumyan Susanne Schmidt · Dr. Harut Shahumyan Susanne Schmidt June 15June 15-18 200918, 2009. ArcGIS Desktop Product Levels ArcView ArcEditor ArcInfo • GIS toolkit

Relates

• Similar to a Join except that:

• The tables remain separate– Items selected in one table may be highlighted in the related table

Must have ArcInfo or Arc Editor License– Must have ArcInfo or Arc Editor License– More complicated. Must be well thought out!

Page 58: Dr. Harut Shahumyan Susanne Schmidt · Dr. Harut Shahumyan Susanne Schmidt June 15June 15-18 200918, 2009. ArcGIS Desktop Product Levels ArcView ArcEditor ArcInfo • GIS toolkit

States Related tables

Congressional Districtsg

Page 59: Dr. Harut Shahumyan Susanne Schmidt · Dr. Harut Shahumyan Susanne Schmidt June 15June 15-18 200918, 2009. ArcGIS Desktop Product Levels ArcView ArcEditor ArcInfo • GIS toolkit

How to join or relate tables

Page 60: Dr. Harut Shahumyan Susanne Schmidt · Dr. Harut Shahumyan Susanne Schmidt June 15June 15-18 200918, 2009. ArcGIS Desktop Product Levels ArcView ArcEditor ArcInfo • GIS toolkit

Practice

Create county layer for Greater Dublin region symbolized by population density in 2006

– Add Area field in GDR county layer and calculate the area values

– Summarize GDR ED attributes by county calculatingSummarize GDR ED attributes by county calculating summary population in 2006

– Join Summary table to GDR County layer– Add a new field named Density and calculate population

density values: Pop2006 / Area– Symbolise the layerSymbolise the layer

Page 61: Dr. Harut Shahumyan Susanne Schmidt · Dr. Harut Shahumyan Susanne Schmidt June 15June 15-18 200918, 2009. ArcGIS Desktop Product Levels ArcView ArcEditor ArcInfo • GIS toolkit

Spatial Joins

• Join two tables based on a common spatial relationship

– One feature inside another– One feature closest to another

• Creates a table join in which fields from one layer's attribute table are appended to another layer's attribute table based on th l ti l ti f th f t i th t lthe relative locations of the features in the two layers.

Page 62: Dr. Harut Shahumyan Susanne Schmidt · Dr. Harut Shahumyan Susanne Schmidt June 15June 15-18 200918, 2009. ArcGIS Desktop Product Levels ArcView ArcEditor ArcInfo • GIS toolkit

Spatial join (inside)

Join each well record to the record of the geology polygon that it falls insideinside.

4-62

Page 63: Dr. Harut Shahumyan Susanne Schmidt · Dr. Harut Shahumyan Susanne Schmidt June 15June 15-18 200918, 2009. ArcGIS Desktop Product Levels ArcView ArcEditor ArcInfo • GIS toolkit

Spatial join (nearest)

Join each ED to the hospital that is nearest it.

Each ED features gets name of closest hospitalname of closest hospital and the distance.

4-63

Page 64: Dr. Harut Shahumyan Susanne Schmidt · Dr. Harut Shahumyan Susanne Schmidt June 15June 15-18 200918, 2009. ArcGIS Desktop Product Levels ArcView ArcEditor ArcInfo • GIS toolkit

How to join

1. Right-click destination table

2. Set Join type to spatial

3. Choose source table

4. Choose join type

5. Specify output file

Page 65: Dr. Harut Shahumyan Susanne Schmidt · Dr. Harut Shahumyan Susanne Schmidt June 15June 15-18 200918, 2009. ArcGIS Desktop Product Levels ArcView ArcEditor ArcInfo • GIS toolkit

Practice

a) Find EDs where the number of national monuments is greater than 9.g

1. Load National Monuments Data2. Join Monuments points To EDs3. Select EDs with count of national monuments greater than 9

How many are they?

b) For each town find the closest Airport and the distance

Page 66: Dr. Harut Shahumyan Susanne Schmidt · Dr. Harut Shahumyan Susanne Schmidt June 15June 15-18 200918, 2009. ArcGIS Desktop Product Levels ArcView ArcEditor ArcInfo • GIS toolkit

ArcToolbox

Analysis Tools:Analysis Tools:Buffering, Intersecting, Clipping

Page 67: Dr. Harut Shahumyan Susanne Schmidt · Dr. Harut Shahumyan Susanne Schmidt June 15June 15-18 200918, 2009. ArcGIS Desktop Product Levels ArcView ArcEditor ArcInfo • GIS toolkit

Buffers

• Creates buffer polygons to a specified distance around the Input Features. An optional dissolve can be performed to remove overlapping buffersAn optional dissolve can be performed to remove overlapping buffers.

Page 68: Dr. Harut Shahumyan Susanne Schmidt · Dr. Harut Shahumyan Susanne Schmidt June 15June 15-18 200918, 2009. ArcGIS Desktop Product Levels ArcView ArcEditor ArcInfo • GIS toolkit

Practice

1. How many national monuments are within 5 km of Grand Canal?- Add layer “canals.shp”- Select Grand Canal over Attribute Table- Create buffer- Select by Location: which national monuments are completely withinSelect by Location: which national monuments are completely within

the buffer?

2 How many national monuments are within 15 km distance of2. How many national monuments are within 15 km distance of town Mayo?

3. What is the perimeter of the Mayo buffer in km?

Page 69: Dr. Harut Shahumyan Susanne Schmidt · Dr. Harut Shahumyan Susanne Schmidt June 15June 15-18 200918, 2009. ArcGIS Desktop Product Levels ArcView ArcEditor ArcInfo • GIS toolkit

Intersecting

• Computes a geometric intersection of the Input Features. Features or portions of features which overlap in all layers and/or feature classes will be

itt t th O t t F t Clwritten to the Output Feature Class.

Page 70: Dr. Harut Shahumyan Susanne Schmidt · Dr. Harut Shahumyan Susanne Schmidt June 15June 15-18 200918, 2009. ArcGIS Desktop Product Levels ArcView ArcEditor ArcInfo • GIS toolkit

Practice

1. Create a new Towns shape which includes ED attributes- Add layers “towns.shp” and “EDs.shp”- Intersect towns and EDs- Check the attribute table

2. Highlight the roads passing through Special protected areas (SPA.shp)

Page 71: Dr. Harut Shahumyan Susanne Schmidt · Dr. Harut Shahumyan Susanne Schmidt June 15June 15-18 200918, 2009. ArcGIS Desktop Product Levels ArcView ArcEditor ArcInfo • GIS toolkit

Clipping

• Extracts input features that overlay the clip features.

Page 72: Dr. Harut Shahumyan Susanne Schmidt · Dr. Harut Shahumyan Susanne Schmidt June 15June 15-18 200918, 2009. ArcGIS Desktop Product Levels ArcView ArcEditor ArcInfo • GIS toolkit

Practice

1. Create land cover map for Kildare County- Add layers “counties.shp” and “LandCover2000.shp”- Select Kildare county in attribute table- Clip Land cover map by county map

2. Create land cover map of Killarney National Park in Kerry County (SPA.shp)

Page 73: Dr. Harut Shahumyan Susanne Schmidt · Dr. Harut Shahumyan Susanne Schmidt June 15June 15-18 200918, 2009. ArcGIS Desktop Product Levels ArcView ArcEditor ArcInfo • GIS toolkit

Thanks

QUESTIONS?Thanks