Title: Elevation, Slope and Aspect
1Elevation, Slope and Aspect
Elevation, Slope, and Aspect
2Overview
- Questions on Exercise 3?
- Elevation as DEM
- Slope and Aspect as Derivative Mapping
- How it works in IDRISI
- Spatial Autocorrelation
- Filtering
- Resolution Issues
3DEMs
- DEM Digital Elevation Model
- DTM Digital Terrain Model
- Each cell has a value or attribute of height
above some reference - arbitrary zero
- MSL or Mean Sea Level
- You made a crude one in Ex2 and 3
4 DEM
- Digital Elevation Model
- Each cell contains an elevation value
Notice that the ortho view is NOT in perspective
that is the definition of orthographic
Orothograpic view of Nifkins DEM
5Elev in ArcView
6Max elevation
Peak
Lake
Low elevation (Swamp)
7Town of Nifkin
8So?
- DEMs are pretty simple (x,y,z) values!
- BUT we typically do a lot with them
- Calculate slope and aspect!
- shape of country analysis,
- solar insolation,
- Hydrologic modeling base
- Flow direction, flow accumulation watersheds,
- viewsheds,
- construction (roads/harvest operations),
- soil erosion,
- lots of other stuff
- DEMs and Soils are the most common layers in the
environmental and natural resources fields
9So?
- DEMs are pretty simple (x,y,z) values!
- BUT we typically do a lot with them
- Calculate slope and aspect!
- shape of country analysis,
- solar insolation,
- watersheds,
- viewsheds,
- construction (roads/harvest operations),
- soil erosion,
- lots of stuff
Note The correct term for elevation maps and
images is Hypsography NOT Topography!
10Topographic Map
- The configuration of a surface and the relations
among its man-made and natural feature - A map that represents the vertical and horizontal
positions of features, showing relief in some
measurable form, such as contour lines,
hypsometric tints, and relief shading.
11Hypsography
- Refers to the distribution of elevations on the
surface of the Earth (answeres.com)
12Planimetric map
- A map that displays only the x,y locations of
features and represents only horizontal
distances. (ESRI)
13Where do DEMs come from
- Interpolation of
- Contour maps ( may not be very good)
- Elevation points (Works well but complicated)
- Gestault photo mapper makes DEMs as a byproduct
- Airborne Lidar Local areas, very fine, 1
pixels and inches in vertical accuracy - Airborne Radar larger areas
14DEM Scales/Resolution
- DEMs come in different scales/resolutions
- 30m, 1/24,000 scale 7.5 minute Quad sheets
- Can be nominal LANDSAT actually 29.someting m
- 90m, 1/500,000 scale
- 10m, for New York, by Quad, from Quad Sheet
contours (Not Gestault photo mapper) - 2m, Parts of NY, All of CT soon.
- Lidar,the newest tool, can be less than a foot
15Availability
- Downloadable from a number of sites
- Cornell U. CUGIR site
- NY State GIS Clearing House
- PA, VT, CT,
- Links on my home page
- Downloading easy (but large files)
- But converting to IDRISI may not be!
- The DEMIDRIS module can be used
16Continuous Surfaces
- Any Continuous Surface can be represented like a
DEM - Elevation
- Slope and Aspect - Derived from elevation
- Water table
- Pollution levels in air or soil
- Noise levels
- Any Field phenomenon
- All generally have a high spatial autocorrelation
What?
17Spatial Autocorrelation?
- Each cells value is like values in surrounding
cells --gradually changing values (continuous
data) - If all cells have the same values then Morans I
1 - If all cells are not the same (dissimilar) as the
surrounding cells Morans I-1 - For ELEV.
18Spatial Autocorrelation?
Moran I 0.9743
- Each cells value is like values in surrounding
cells --gradually changing values (continuous
data) - If all cells the same Morans I 1
- If all cells dissimilar than surrounding cells
Morans I-1 - For ELEV
19What to do with a DEM
- Probably the most important layer for most
environmental, planning, and forestry uses - If a DEM is used the most common derivative
layers are slope and aspect! - Raster based hydrologic models are based DEMs.
Slope and aspect allow the calculation of flow
direction and flow accumulation - Planning of ski areas
- Transportation design
20So?
What I'm trying to say is that Understanding DEMs
is IMPORANT!
21Slope Aspect Calculations
22Slope
- Slope is the average rate of change of elevation
over a 9 cell kernel which passes over the DEM
- Slope rise/run averaged over the kernel
Run 100 units Rise 33 uits slope
(33/100)100 33
23two ways to calculate Slope
As an Angle from horizontal - degrees
Engineering, solar
Planning, Natural Resources, etc.
As a percent 100(Rise/Run) gradient
24Slope
- Most GISs will calculate slope in either or
degrees - used most commonly in environmental and natural
resources work - Degrees used in scientific work
25Aspect
- Aspect is the direction in which that slope
faces. This is determined as the direction you
would be facing if you were looking downhill on
the line of steepest descent (Maximum slope) - 0 to 360 degrees azimuth (N,S,E, W)
- Flat areas are given value 1 NO aspect!
- Points of the compass are
- N, NE, E, SE, S, SW, W, NW, and flat
26Root Mean Square
N
W
27Calculation of slope aspect
- Heres the rub!
- Only way to calculate these is to do it over a
kernel of some size, usually 3x3 (In IDRISI) - A kernel is a square, small or sub array
- There is NO slope to a single cell!
- Slope can be over 3x3,5x5,7x7,
- The value calculated is then assigned to the
central cell of the kernel - So the resolution and accuracy of slope and
aspect is NOT the same as that of the original
data!!!! - It is worse!
- 30 m pixel DEM yields 90 m slope and aspect
28Kernel passes over image
29Determining Slope always Smooths (Filters)
- Since these values are for a 3x3 kernel the image
is effectively smoothed, and simplified - Like you ran sandpaper over a model of the surface
30Determining Slope always Smooths (Filters)
- Since these values are for a 3x3 kernel the image
is effectively smoothed, and simplified - Like you ran sandpaper over a model of the surface
31Two basic ways to calculate SA
Uses all data. BUT processing time greater!
Only uses 4 or 5 data points
Uses 8 or 9 data points
IDRISI (4)
32Queen vs. Rook
- Queen can move in any direction one cell
- therefore queens case uses all 8 cells all
data. Use center cell then 9 - Rook can move one cell N-S or E-W, NOT NE or SW
- therefore rooks case uses only 4 of the 8
surrounding cells. Center cell 5 - Some systems do use the central cell
- IDRISI uses Rooks case and does not use the
central cell -- unless you program it to do
something different
33The Math
Based on two slopes, either queens case or
rooks case
34Slope calculation possibilities
- Statistically fitting a flat surface to elevation
points - Statistically fitting a curved surface to
elevation points - Flat is faster than curved!
35On a flat surface..
- Slope is toward the SE (aspect) at 45 degrees or
100 - However, there are slopes in the N-S direction
facing S and in the E-W direction facing E. - And there is NO slope NE to SW!
N
36OR, you can fit a curved surface
- A curved surface is fit to the elevation points
- A complex operation (See appendix)
- Aspect of slope is toward the SE
- Planform slope is at 90 degrees to slope or
toward the NE.
N
37For both flat and curved
- Programming/settings required
- Mathematical algorithms required
- Processing Time!
- But, it could be more applicable to what you
want, like a change in the rate of slope
38Back to what we need to know
- IDRISI SURFACE
- Rooks case, 9-cell kernel, uses EW / NS vectors,
no inclusion of central cell. - Very simple/takes very little processing time
- for gradient of slope..
- 100Sqrt(EW/res2)2(NS/res2)2
- Thats it
39The Edge Problem
- In the text it is pointed out that because slope
and aspect calculations use at least a 3x3 kernel
the edge pixels will never be correct!
? ? ?
kernel
20 15 10 0
15 10 5 0
10 5 0 0
10 5 0 0
40The Edge Problem
- In IDRISI it sets the edge cell value equal to
the same value as its neighbor
20 20 20
kernel
20 15 10 0
15 10 5 0
10 5 0 0
10 5 0 0
41Question?
- What is the direction of 0 (zero) slope?
- If a flat plane is being fit to the surface then
the direction of zero slope MUST be at 90 degrees
from the maximum slope! - So what?
- Sometimes you want to find the direction of zero
slope so you can find a minimum slope pathway
over terrain.
42SO!
- There are a lot of different ways to compute
slope! - None are wrong, they are just different measures
of the same thing - Important point is that slope and aspect are
representative of 9 cells, NOT 1 cell
43Classification of slope
- A slope or aspect image looks like a dogs
breakfast! Different values of slope and thus
differently colored pixels all over the place! - We dont usually want to deal with all these
individual slopes - So we Classify the slope and aspect images
- Using the RECLASS function
44Common Classes
45Raw aspect is confusing because of all the frass
in the image.
46Reclassing raw slope into points of the compas
Make the image easier to understand
47Change Legend!
48Summary so far
- Elevation is a basic layer of most applications
of raster GIS - Elevation images are called DEMs
- Slope and Aspect are derived from DEMs
- Slope and Aspect are always more generalized than
the original elevation layer - Edges of an image never have correct slope or
Aspect values
49Terrain Analysis
- Analysis to define the shape of terrain
- Ridge
- Valley
- Concave slope
- Convex slope
- Saddle
- Pit
- a.k.a. Shape of country analysis
50Filtering
51Or smoothing
Or Not
- In filtering operations 3x3 kernels are moved
over the image cell by cell - Just like in creating slope and aspect images
- Actually you can use 5x5 and 7x7 kernels too
- The most common filtering operation is smoothing
(averaging)
52Smoothing Filters
- As the kernel is moved over the image the
attribute (value) of the central cell is replaced
with the average of all nine cells - For smoothing each value is multiplied by 1/9 and
the result summed and stuck in the central cell
53And other sizes?
- Each kernel is weighted by dividing by the total
number of cells in the kernel - 7 x 7
- 1/49 1/49 1/49 1/49 1/49 1/49 1/49
- 1/49 1/49 1/49 1/49 1/49 1/49 1/49
- 1/49 1/49 1/49 1/49 1/49 1/49 1/49
- 1/49 1/49 1/49 1/49 1/49 1/49 1/49
- 1/49 1/49 1/49 1/49 1/49 1/49 1/49
- 1/49 1/49 1/49 1/49 1/49 1/49 1/49
- 1/49 1/49 1/49 1/49 1/49 1/49 1/49
54Smoothing
- Used to smooth an image - like sandpaper on
layers of Styrofoam - Knocks down the highs and fills in the lows
- Like this -----
55RAW
56FILTERED
57TWICE SMOOTHED
58So
- For planning and environmental analysis you will
usually use smoothing filters - The larger the kernel the more smoothing you get
- The more often you filter the smoother things get
- BUT the real resolution of the smoothed image
gets larger and larger - You will see applications of this later on
59Overall Summary
- DEMs are one of the most common data needs for
any planning and/or analysis in natural resources - DEMs come in a variety of resolutions
- There are numerous ways to calculate slope and
aspect just different, not wrong! - The resolution of slope and aspect images is
larger than that of the original DEM - Derived layers are slope and aspect
- DEM can be smoothed
60?