85
Review- vector analyses • Selection • Topological Overlays • Buffering

Selection • Topological Overlays • Buffering

  • Upload
    others

  • View
    14

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Selection • Topological Overlays • Buffering

Review- vector analyses

•  Selection •  Topological Overlays •  Buffering

Page 2: Selection • Topological Overlays • Buffering

Selection

–  Selecting points near a line (proximity) –  Selecting adjacent features (proximity) –  Selecting lines within polygons (containment) –  Selecting polygons that contain lines (overlap) –  Selecting points within polygons (containment) –  Selecting polygons that contain points (overlap) –  Selecting polygons that overlap polygons (overlap)

Page 3: Selection • Topological Overlays • Buffering

Types of overlays

•  Union •  Clip •  Identity •  Intersect •  Update •  Erase

Page 4: Selection • Topological Overlays • Buffering

Clipping… an example

Page 5: Selection • Topological Overlays • Buffering

Clipping… an example

Page 6: Selection • Topological Overlays • Buffering

ArcGIS does NOT automatically update geometry fields for

shapefiles

Page 7: Selection • Topological Overlays • Buffering

Raster Analysis

Page 8: Selection • Topological Overlays • Buffering

Overview

Grid layers Setting grid layer and analysis properties Grid function types Performing grid analysis Map Algebra More grid analyses

Page 9: Selection • Topological Overlays • Buffering

Grid layers

Page 10: Selection • Topological Overlays • Buffering

Grid layers

The grid layers is the format ArcInfo uses for raster data.

Page 11: Selection • Topological Overlays • Buffering

Grid layers

A grid layer is a rectangular grid of square cells

Page 12: Selection • Topological Overlays • Buffering

Grid layers

Not all raster datasets are grid layers

reflectance

values

Page 13: Selection • Topological Overlays • Buffering

Grid layers

Cells have numeric values

Page 14: Selection • Topological Overlays • Buffering

Grid layers

Grid layers are suited for representation of phenomena that vary gradually over space

such as elevation, wind speed and direction, or slope

Page 15: Selection • Topological Overlays • Buffering

Grid types

floating-point (decimals)

integer (no decimals)

Page 16: Selection • Topological Overlays • Buffering

Grid types Integer grids can have value attribute

tables (VATs), floating point grids do NOT

Page 17: Selection • Topological Overlays • Buffering

Grid types

Integer grids with:

a range of values < 100,000 and < 500 unique values

will have attribute tables

Page 18: Selection • Topological Overlays • Buffering

Displaying grid layers

Legends can be altered like other layers

Page 19: Selection • Topological Overlays • Buffering

Identity tool

Individual cell values can be identified

Page 20: Selection • Topological Overlays • Buffering

Queries Integer grids can be queried in the same way as vector layers (select by attribute)

Page 21: Selection • Topological Overlays • Buffering

Setting grid layer and analysis properties

Page 22: Selection • Topological Overlays • Buffering

Setting analysis properties

Analysis properties determine spatial properties for all newly created output grid layers

 Analysis properties • Working directory • Masking • Spatial extent of output • Cell size

 Once set, analysis property values stay set until changed

Page 23: Selection • Topological Overlays • Buffering

Analysis extent Analysis extent sets the spatial properties for output of analyses

Rectangular area

Page 24: Selection • Topological Overlays • Buffering

Analysis extent

  Be careful about setting extent; it may cause poor grid-to-grid registration

Page 25: Selection • Topological Overlays • Buffering

Cell size

Analysis cell size sets the grid cell size for output of analyses

Use a consistent cell size for analysis of multiple grid data sets

small cells → larger files small cells → longer processing

Page 26: Selection • Topological Overlays • Buffering

Masking

Analysis mask defines spatial extent of output grids

Mask can be any shape (as opposed to the Analysis Extent)

Page 27: Selection • Topological Overlays • Buffering

Grid function types

Page 28: Selection • Topological Overlays • Buffering

Grid function types

Local Global functions Zonal functions Focal functions

Page 29: Selection • Topological Overlays • Buffering

Local functions

Local functions apply an independent calculation to all input grid cells

local sine

e.g. sin(12) = -0.537

Page 30: Selection • Topological Overlays • Buffering

Global functions

e.g. flow accumulation

Global functions apply a calculation based on all cell values

Page 31: Selection • Topological Overlays • Buffering

Zonal functions

Zonal functions apply one calculation to all input grid cells within each zone

Zones are defined as a group of cells having the same value

Regions are groups of contiguous cells having the same value

Page 32: Selection • Topological Overlays • Buffering

Zonal functions

Zonal functions apply one calculation to all input grid cells within each zone

for zone 1: (53 + 57 + 33 + 78 + 31 + 12 + 32 + 9 + 9 + 33 + 76) = 423

zonal sum

Page 33: Selection • Topological Overlays • Buffering

Focal functions

Focal functions apply one calculation to all input grid cells within a focal distance

focal mean

(27 + 8 + 22 + 16 + 21 + 16 + 6 + 44 + 8) / 9 ≈ 18.7

Page 34: Selection • Topological Overlays • Buffering

Performing grid analysis

Page 35: Selection • Topological Overlays • Buffering

Grid analysis: calculations across multiple grids

  Multi-grid analyses are possible because of spatial registration

  multiple grid layers share the same X, Y coordinate space

  cell values are calculated across multiple grid layers

  to create a single output grid layer

Page 36: Selection • Topological Overlays • Buffering

Grid analysis

Spatial Analyst toolbar ArcToolbox tools Scripting Command Line

Page 37: Selection • Topological Overlays • Buffering

Spatial Analyst toolbar Raster calculator

Page 38: Selection • Topological Overlays • Buffering

Spatial Analyst extension

Page 39: Selection • Topological Overlays • Buffering

Map Algebra

Page 40: Selection • Topological Overlays • Buffering

Grid analysis: Map algebra

arithmetic expressions output_data_set = input_grid1 operator input_grid2 . . .

slp_dem = slp_grid * dem

algebraic functions output_data_set = function (input_data_set[s] {,arguments})

slp_grid = slope (dem, percentrise)

Page 41: Selection • Topological Overlays • Buffering

Map algebra can be calculated with the Raster Calculator

raster layers operators

expression box

operator classes

Page 42: Selection • Topological Overlays • Buffering

Map Algebra arithmetic: Calculation = (Dem gt 500 and Dem lt 1000 )

Logical (Boolean) criteria

Grid analysis: Map algebra

Page 43: Selection • Topological Overlays • Buffering

Grid analysis: Map algebra

0 = false

1 = true

Page 44: Selection • Topological Overlays • Buffering

More grid analysis

Calculating summary attributes for polygon features using a grid layer (“Zonal Statistics”)

Cross tabulating areas "Querying" across multiple grid layers Calculating neighborhood statistics Calculating distance surfaces and buffers Determining proximity Converting raster and vector data sources

Page 45: Selection • Topological Overlays • Buffering

Calculating summary attributes for polygon features using a grid layer

(“Zonal statistics”)

Page 46: Selection • Topological Overlays • Buffering

Summarizing zones

Summarizes groups of cells based on integer cells or polygons with similar value

Creates statistical summary of zone

Summary table

Summary chart

Page 47: Selection • Topological Overlays • Buffering

Summarizing zones

Page 48: Selection • Topological Overlays • Buffering

select polygon field to define zones of cells

select grid layer containing variable to summarize

Summarizing zones

specify output select statistic to graph

Page 49: Selection • Topological Overlays • Buffering

statistics from input grid based on polygon zones

Page 50: Selection • Topological Overlays • Buffering

Ecological Applications: Vol. 17, No. 1, pp. 18–33.

INFLUENCE OF ENVIRONMENT, DISTURBANCE, AND OWNERSHIP ON FOREST VEGETATION OF COASTAL OREGON

Janet L. Ohmann, Matthew J. Gregory, and Thomas A. Spies

Page 51: Selection • Topological Overlays • Buffering
Page 52: Selection • Topological Overlays • Buffering

Cross tabulating areas

Page 53: Selection • Topological Overlays • Buffering

Cross tabulating areas

Creates a “zonal intersection” of integer grid layers or grids and polygon vectors (similar to vector intersection)

Output is a table

1st input layer creates records (1 record for each unique value)

2nd input layer creates fields (1 field for each unique value)

Table values are map unit area measurements of combinations of zones

Page 54: Selection • Topological Overlays • Buffering

Cross tabulating areas

Cross-tabulation setup

rows

columns

Page 55: Selection • Topological Overlays • Buffering

Cross tabulating areas

Output table

row

laye

r (so

ils)

record layer (stands)

area measurements in map units

Page 56: Selection • Topological Overlays • Buffering

Cross tabulating areas Identifying fields

Page 57: Selection • Topological Overlays • Buffering

Cross tabulating areas

Page 58: Selection • Topological Overlays • Buffering

Cross tabulating areas

Page 59: Selection • Topological Overlays • Buffering

"Querying" across multiple grid layers (“Map Query”)

Raster Calculator is easy to use and gives rapid results

Multiple grids can be simultaneously queried (vector overlay only allows 2)

Output represents cells that meet and do not meet query criteria (T or F)

Page 60: Selection • Topological Overlays • Buffering

"Querying" across multiple grid layers

Page 61: Selection • Topological Overlays • Buffering

Building Map Queries

Page 62: Selection • Topological Overlays • Buffering
Page 63: Selection • Topological Overlays • Buffering

Calculating neighborhood statistics

Page 64: Selection • Topological Overlays • Buffering

Calculating neighborhood statistics

Minimum Maximum

Mean Median

Sum Range

Standard Deviation Majority Minority Variety

“Focal” statistical functions

Moving window calculates statistics based on all within the window

Output value is written to central cell in output grid

Statistical functions:

Page 65: Selection • Topological Overlays • Buffering

Focal Standard Deviation

locations of greatest variation in elevation

Page 66: Selection • Topological Overlays • Buffering

Calculating distance surfaces and buffers

Page 67: Selection • Topological Overlays • Buffering

Calculating distance surfaces and buffers

Similar to buffering with vector data

Creates a continuous distance surface rather than a discrete bounded polygonal area

Distance measured from input layer features or grid cells

Page 68: Selection • Topological Overlays • Buffering

Distance from vector features

continuous distance value surface

Page 69: Selection • Topological Overlays • Buffering

Create a “graded” buffer by setting a max distance

Page 70: Selection • Topological Overlays • Buffering

Determining proximity

Page 71: Selection • Topological Overlays • Buffering

Assigning proximity

Defining territories based on proximity

Page 72: Selection • Topological Overlays • Buffering

Assigning proximity

• output value is selected from input layer table

• output cells have the value of the closest input feature

“Thiessen,” “Voronoi”

Page 73: Selection • Topological Overlays • Buffering

Converting raster and vector data sources

Page 74: Selection • Topological Overlays • Buffering

Converting raster and vector data sources

Raster ⇔ vector conversions are possible

Always a loss or generalization of shape

Support for line, polygon ⇔ grid in ArcGIS

Avoid converting grids that do not have large contiguous zones (e.g., DEMs)

Page 75: Selection • Topological Overlays • Buffering

homework

•  Read “Raster Analysis 2” & “Data Conversion” & “Model building”

•  Finish assignment 5

•  Start assignment 6

Page 76: Selection • Topological Overlays • Buffering

Ecological Applications: Vol. 17, No. 1, pp. 18–33.

INFLUENCE OF ENVIRONMENT, DISTURBANCE, AND OWNERSHIP ON FOREST VEGETATION OF COASTAL OREGON

Janet L. Ohmann, Matthew J. Gregory, and Thomas A. Spies

Page 77: Selection • Topological Overlays • Buffering
Page 78: Selection • Topological Overlays • Buffering
Page 79: Selection • Topological Overlays • Buffering
Page 80: Selection • Topological Overlays • Buffering
Page 81: Selection • Topological Overlays • Buffering
Page 82: Selection • Topological Overlays • Buffering
Page 83: Selection • Topological Overlays • Buffering
Page 84: Selection • Topological Overlays • Buffering
Page 85: Selection • Topological Overlays • Buffering