NR 322: Raster Analysis I Jim Graham Fall 2008 Chapter 7.
-
Upload
alexandrina-ball -
Category
Documents
-
view
219 -
download
0
description
Transcript of NR 322: Raster Analysis I Jim Graham Fall 2008 Chapter 7.
![Page 2: NR 322: Raster Analysis I Jim Graham Fall 2008 Chapter 7.](https://reader036.fdocuments.in/reader036/viewer/2022062412/5a4d1ae57f8b9ab059978a8e/html5/thumbnails/2.jpg)
Types of Rasters• Land Cover: forest, grass, water, roads,
urban• Digital Elevation Model: DEM• Aerial Photos• Satellite Photos• Scanned: DRG, 24k Topos• Derived rasters: lots!
![Page 3: NR 322: Raster Analysis I Jim Graham Fall 2008 Chapter 7.](https://reader036.fdocuments.in/reader036/viewer/2022062412/5a4d1ae57f8b9ab059978a8e/html5/thumbnails/3.jpg)
Derived Rasters• Land Cover from satellite and
aerial• Topography: Slope, aspect,
hillshade• Ecoregions• Suitable Habitat• Flood plains• Geological Regions
![Page 4: NR 322: Raster Analysis I Jim Graham Fall 2008 Chapter 7.](https://reader036.fdocuments.in/reader036/viewer/2022062412/5a4d1ae57f8b9ab059978a8e/html5/thumbnails/4.jpg)
Raster To Vector• Satellite & Aerial
– Land Cover: roads, forests, etc.– Buildings
• DEMs– Contours– Peaks & Valleys– Stream Networks– Watersheds
![Page 5: NR 322: Raster Analysis I Jim Graham Fall 2008 Chapter 7.](https://reader036.fdocuments.in/reader036/viewer/2022062412/5a4d1ae57f8b9ab059978a8e/html5/thumbnails/5.jpg)
Vector To Raster• Drawing!• Points of interest• Roads• Water bodies• Contours
![Page 6: NR 322: Raster Analysis I Jim Graham Fall 2008 Chapter 7.](https://reader036.fdocuments.in/reader036/viewer/2022062412/5a4d1ae57f8b9ab059978a8e/html5/thumbnails/6.jpg)
GIS Analysis
AnalysisResults
Raster toVector
Vector toRaster
![Page 7: NR 322: Raster Analysis I Jim Graham Fall 2008 Chapter 7.](https://reader036.fdocuments.in/reader036/viewer/2022062412/5a4d1ae57f8b9ab059978a8e/html5/thumbnails/7.jpg)
Raster Analysis• Topography: Slope, aspect, contours• Raster Math• Statistics: min, max, mean, std. dev.• Distance• Density• Interpolation• Classification• Raster / Vector Conversions
![Page 8: NR 322: Raster Analysis I Jim Graham Fall 2008 Chapter 7.](https://reader036.fdocuments.in/reader036/viewer/2022062412/5a4d1ae57f8b9ab059978a8e/html5/thumbnails/8.jpg)
Raster Math• A matrix of pixels
12 20 23 34 40
15 23 30 31 39
15 22 29 30 40
14 20 28 29 38
13 19 25 32 37
Columns
Rows
![Page 10: NR 322: Raster Analysis I Jim Graham Fall 2008 Chapter 7.](https://reader036.fdocuments.in/reader036/viewer/2022062412/5a4d1ae57f8b9ab059978a8e/html5/thumbnails/10.jpg)
Analysis Environment• Spatial Reference (Coordinate System)
– Make them the same• Extent
– Area of interest– All rasters should overlap
• Cell Size– Largest of all rasters or larger
![Page 16: NR 322: Raster Analysis I Jim Graham Fall 2008 Chapter 7.](https://reader036.fdocuments.in/reader036/viewer/2022062412/5a4d1ae57f8b9ab059978a8e/html5/thumbnails/16.jpg)
Common Functions• Local:
– Arithmatic: +,-,/, *, • MOD (Modulo): returns the remainder
– Boolean: • OR: If either input is true, output is true• AND: If both inputs are true, output is true
– CON (Conditional)
![Page 17: NR 322: Raster Analysis I Jim Graham Fall 2008 Chapter 7.](https://reader036.fdocuments.in/reader036/viewer/2022062412/5a4d1ae57f8b9ab059978a8e/html5/thumbnails/17.jpg)
Mathematical Functions• Abs (absolute): flips negatives to positive• Ceil (ceiling): float to integer next highest
integer value (i.e. 1.1 -> 2)• Floor: float to integer giving next lowest
integer value (i.e. 1.1 -> 1)• Int (integer): truncates float to integer
![Page 18: NR 322: Raster Analysis I Jim Graham Fall 2008 Chapter 7.](https://reader036.fdocuments.in/reader036/viewer/2022062412/5a4d1ae57f8b9ab059978a8e/html5/thumbnails/18.jpg)
Exponents• Exp()• Exp10()• Ln()• Log10()• Max()• Min()• Pow()• SetNull()• Sqrt()• Sum()
![Page 19: NR 322: Raster Analysis I Jim Graham Fall 2008 Chapter 7.](https://reader036.fdocuments.in/reader036/viewer/2022062412/5a4d1ae57f8b9ab059978a8e/html5/thumbnails/19.jpg)
Comparisons• <> (Not Equals)• == (Equals)• < (Less than)• <= (Less than or equal to)• > (Greater than)• >= (Greater than or equal to)
![Page 20: NR 322: Raster Analysis I Jim Graham Fall 2008 Chapter 7.](https://reader036.fdocuments.in/reader036/viewer/2022062412/5a4d1ae57f8b9ab059978a8e/html5/thumbnails/20.jpg)
Raster Math: Comparisons
1 22 3
2 2
3 2
0 0
0 1> =
> =1 2 0
![Page 21: NR 322: Raster Analysis I Jim Graham Fall 2008 Chapter 7.](https://reader036.fdocuments.in/reader036/viewer/2022062412/5a4d1ae57f8b9ab059978a8e/html5/thumbnails/21.jpg)
Raster Math: Boolean AND
0 01 1
0 1
0 1
0 0
0 1AND =
AND =0 1 0
“AND” works but the calculator will insert “&”
![Page 22: NR 322: Raster Analysis I Jim Graham Fall 2008 Chapter 7.](https://reader036.fdocuments.in/reader036/viewer/2022062412/5a4d1ae57f8b9ab059978a8e/html5/thumbnails/22.jpg)
Raster Math: Boolean OR
0 00 1
1 1
0 1
1 1
0 1OR =
OR =0 1 1
“OR” works but the calculator will insert “!”
![Page 23: NR 322: Raster Analysis I Jim Graham Fall 2008 Chapter 7.](https://reader036.fdocuments.in/reader036/viewer/2022062412/5a4d1ae57f8b9ab059978a8e/html5/thumbnails/23.jpg)
Conditional Operator• Con(<condition>,<true>,<false>)• Given a raster “condition”:
– Puts the true value where true and false value where false
• Example:– Find the elevations in Rocky over 3000
meters– HighElevations=con(RockyDEM>3000,1,0)