Raster Analysis. Learning Objectives Develop an understanding of the principles underlying lab 4...

40
Raster Analysis

Transcript of Raster Analysis. Learning Objectives Develop an understanding of the principles underlying lab 4...

Page 1: Raster Analysis. Learning Objectives Develop an understanding of the principles underlying lab 4 Introduce raster operations and functions Show how raster.

Raster Analysis

Page 2: Raster Analysis. Learning Objectives Develop an understanding of the principles underlying lab 4 Introduce raster operations and functions Show how raster.

Learning Objectives Develop an understanding of

the principles underlying lab 4 Introduce raster operations

and functions Show how raster analysis can

be applied to topographic surfaces

Page 3: Raster Analysis. Learning Objectives Develop an understanding of the principles underlying lab 4 Introduce raster operations and functions Show how raster.

Raster Data

Page 4: Raster Analysis. Learning Objectives Develop an understanding of the principles underlying lab 4 Introduce raster operations and functions Show how raster.

Derived Data By taking rasters and

operating on them we can create additional data

inRaster * 2 = outRaster Slope(inRaster) = outRaster

Page 5: Raster Analysis. Learning Objectives Develop an understanding of the principles underlying lab 4 Introduce raster operations and functions Show how raster.

Creating New Data With Rasters

Digital Elevation Model Slope Model

Page 6: Raster Analysis. Learning Objectives Develop an understanding of the principles underlying lab 4 Introduce raster operations and functions Show how raster.

Raster analysis

Typically 4 steps Base data Derived data Classified data Combined data

Page 7: Raster Analysis. Learning Objectives Develop an understanding of the principles underlying lab 4 Introduce raster operations and functions Show how raster.
Page 8: Raster Analysis. Learning Objectives Develop an understanding of the principles underlying lab 4 Introduce raster operations and functions Show how raster.

Reclassifying raster data One reason is to set specific values to NoData to

exclude them from analysis. Another reason is to assign values of preference,

priority, sensitivity, or similar criteria to a raster.

Page 9: Raster Analysis. Learning Objectives Develop an understanding of the principles underlying lab 4 Introduce raster operations and functions Show how raster.
Page 10: Raster Analysis. Learning Objectives Develop an understanding of the principles underlying lab 4 Introduce raster operations and functions Show how raster.

Operations

Boolean (AND, OR, NOT, XOR)

Arithmetic (+,-,*,/) Mathematical (trig, log, etc.) Logical (<,>,=,<>,etc.) Overlay Derivation Transformation

Page 11: Raster Analysis. Learning Objectives Develop an understanding of the principles underlying lab 4 Introduce raster operations and functions Show how raster.

Boolean (AND, OR, NOT, XOR)

Boolean And

Boolean Or

Page 12: Raster Analysis. Learning Objectives Develop an understanding of the principles underlying lab 4 Introduce raster operations and functions Show how raster.

Arithmetic (+,-,*,/)

Page 13: Raster Analysis. Learning Objectives Develop an understanding of the principles underlying lab 4 Introduce raster operations and functions Show how raster.

Arithmetic (+,-,*,/)

Page 14: Raster Analysis. Learning Objectives Develop an understanding of the principles underlying lab 4 Introduce raster operations and functions Show how raster.

Raster Calculator

Page 15: Raster Analysis. Learning Objectives Develop an understanding of the principles underlying lab 4 Introduce raster operations and functions Show how raster.

Working with NoData Similar to logical values, NoData (Null) values also

influence the evaluation of expressions. This special value indicates that there is no

information associated with the cell.

In general, a Map Algebra expression will return NoData for a cell if any of the corresponding input cells have NoData.

Page 16: Raster Analysis. Learning Objectives Develop an understanding of the principles underlying lab 4 Introduce raster operations and functions Show how raster.

Functions

Local Global Focal Zonal

Page 17: Raster Analysis. Learning Objectives Develop an understanding of the principles underlying lab 4 Introduce raster operations and functions Show how raster.

Local

Very simple Operate on each

cell individually Arithmetic and

boolean are examples of Local functions

Page 18: Raster Analysis. Learning Objectives Develop an understanding of the principles underlying lab 4 Introduce raster operations and functions Show how raster.

Global

Perform operations based on an entire input grid

E.g. Global statistics

Page 19: Raster Analysis. Learning Objectives Develop an understanding of the principles underlying lab 4 Introduce raster operations and functions Show how raster.

Focal

Evaluates a new grid by summarizing statistics in the neighborhood around each cell.

Filters

Page 20: Raster Analysis. Learning Objectives Develop an understanding of the principles underlying lab 4 Introduce raster operations and functions Show how raster.

Low-pass filter

Also referred to as a mean filter

Page 21: Raster Analysis. Learning Objectives Develop an understanding of the principles underlying lab 4 Introduce raster operations and functions Show how raster.

Low-pass filter

DEM Low-pass filter

Page 22: Raster Analysis. Learning Objectives Develop an understanding of the principles underlying lab 4 Introduce raster operations and functions Show how raster.

High-pass Filter

Also referred to as edge enhancement

Page 23: Raster Analysis. Learning Objectives Develop an understanding of the principles underlying lab 4 Introduce raster operations and functions Show how raster.

High-pass filter

DEM High-pass filter

Page 24: Raster Analysis. Learning Objectives Develop an understanding of the principles underlying lab 4 Introduce raster operations and functions Show how raster.

Additional Filters

Page 25: Raster Analysis. Learning Objectives Develop an understanding of the principles underlying lab 4 Introduce raster operations and functions Show how raster.

Zonal

Operations based on zones of like values in a grid

Zonal geometry

Zonal stats

Page 26: Raster Analysis. Learning Objectives Develop an understanding of the principles underlying lab 4 Introduce raster operations and functions Show how raster.

Zonal

Input

Output

Page 27: Raster Analysis. Learning Objectives Develop an understanding of the principles underlying lab 4 Introduce raster operations and functions Show how raster.

Recap

Page 28: Raster Analysis. Learning Objectives Develop an understanding of the principles underlying lab 4 Introduce raster operations and functions Show how raster.

Distance

Euclidean Rectilinear Weighted

Page 29: Raster Analysis. Learning Objectives Develop an understanding of the principles underlying lab 4 Introduce raster operations and functions Show how raster.

Weighted Distance

Sometimes referred to as cost path or travel cost

Page 30: Raster Analysis. Learning Objectives Develop an understanding of the principles underlying lab 4 Introduce raster operations and functions Show how raster.

Surface Analysis

DerivativesSlopeAspectHillshade

•Visibility- Viewshed- Line of Sight

•Feature Interpolation- Interpolate Shape- Interpolate Poly To Patch- Surface Length- Surface Spot- Contour

•Volume- Surface Volume- Cut Fill- Surface Difference- Polygon Volume- Extrude Between

Page 31: Raster Analysis. Learning Objectives Develop an understanding of the principles underlying lab 4 Introduce raster operations and functions Show how raster.

Slope: steepness

Aspect: direction of steepest slope

Hillshade: steepness and directionrelative to light source

Page 32: Raster Analysis. Learning Objectives Develop an understanding of the principles underlying lab 4 Introduce raster operations and functions Show how raster.

Slope Slope is calculated as the maximum rate of change

in values between each cell and its neighbors. Slope may be expressed as either degrees (e.g., 45

degrees) or percent (e.g., 50%).

Measures of slope in degrees can approach 90 degrees and measures of slope in percent can approach infinity.

Page 33: Raster Analysis. Learning Objectives Develop an understanding of the principles underlying lab 4 Introduce raster operations and functions Show how raster.

Aspect The cell values in an aspect grid are compass

directions ranging from 0 to 360. North is 0 and in a clockwise direction, 90 is

east, 180 is south, and 270 is west.

Input grid cells that have 0 slope (flat areas) are assigned an aspect value of -1.

Page 34: Raster Analysis. Learning Objectives Develop an understanding of the principles underlying lab 4 Introduce raster operations and functions Show how raster.

Hillshade Hillshading creates a

hypothetical illumination of a surface by setting a position for a light source and calculating an illumination value for each cell based on the cell's relative orientation to the light, or based on the slope and aspect of the cell.

Page 35: Raster Analysis. Learning Objectives Develop an understanding of the principles underlying lab 4 Introduce raster operations and functions Show how raster.

Viewshed The viewshed identifies the cells in an

input raster that can be seen from one or more observation points or lines.

Each cell in the output raster receives a value that indicates how many observer points can see the location.

Page 36: Raster Analysis. Learning Objectives Develop an understanding of the principles underlying lab 4 Introduce raster operations and functions Show how raster.

Line of Sight

Distance

Ele

vati

on

0 75 150 225 300 345

Observer

15

61

81

20

62

31

Target

Page 37: Raster Analysis. Learning Objectives Develop an understanding of the principles underlying lab 4 Introduce raster operations and functions Show how raster.

Volume Below Plane

Page 38: Raster Analysis. Learning Objectives Develop an understanding of the principles underlying lab 4 Introduce raster operations and functions Show how raster.
Page 39: Raster Analysis. Learning Objectives Develop an understanding of the principles underlying lab 4 Introduce raster operations and functions Show how raster.
Page 40: Raster Analysis. Learning Objectives Develop an understanding of the principles underlying lab 4 Introduce raster operations and functions Show how raster.

Summary Most of the power of the Spatial Analyst

is found within Map Algebra. The Raster Calculator is your friend. You can construct a extremely complex

Map Algebra expression using this interface