introduction to raster spatial analysis ------using gis-- introduction to gis raster query map...
TRANSCRIPT
![Page 1: Introduction to Raster Spatial Analysis ------Using GIS-- Introduction to GIS Raster Query Map Calculation Zonal statistics Terrain functions Viewshed](https://reader033.vdocuments.site/reader033/viewer/2022061411/56649ec05503460f94bcc491/html5/thumbnails/1.jpg)
Introduction to Raster Spatial Analysis
------Using GIS--Introduction to GIS
• Raster Query
• Map Calculation
• Zonal statistics
• Terrain functions
• Viewshed (Visibility) analysis
![Page 2: Introduction to Raster Spatial Analysis ------Using GIS-- Introduction to GIS Raster Query Map Calculation Zonal statistics Terrain functions Viewshed](https://reader033.vdocuments.site/reader033/viewer/2022061411/56649ec05503460f94bcc491/html5/thumbnails/2.jpg)
Raster data-A RefresherGrid Elements
Extent
# rows
# columns
Coordinates
Origin
Resolution
Grid cell
------Using GIS--Introduction to GIS
![Page 3: Introduction to Raster Spatial Analysis ------Using GIS-- Introduction to GIS Raster Query Map Calculation Zonal statistics Terrain functions Viewshed](https://reader033.vdocuments.site/reader033/viewer/2022061411/56649ec05503460f94bcc491/html5/thumbnails/3.jpg)
Raster Overlay Queries•The raster data model performs overlay operations more efficiently than the vector model. Raster cells have a one-to-one relationship between layers
•Raster overlay queries involve the combining of two or more separate thematic layers to identify relationships between them such as:
–Areas that meet criteria from each layerQuery example:
[elevation > 2500] AND [Slope>20]
------Using GIS--Introduction to GIS
![Page 4: Introduction to Raster Spatial Analysis ------Using GIS-- Introduction to GIS Raster Query Map Calculation Zonal statistics Terrain functions Viewshed](https://reader033.vdocuments.site/reader033/viewer/2022061411/56649ec05503460f94bcc491/html5/thumbnails/4.jpg)
Overlay Calculations
•Map algebra can be performed to identify relationships between layers, or to derive indices that describe phenomena
•Map calculations create a new layer
Calculation example:
(Soil_depth_1990) – (Soil_depth_2000)=loss in soil between 1990 and 2000
------Using GIS--Introduction to GIS
![Page 5: Introduction to Raster Spatial Analysis ------Using GIS-- Introduction to GIS Raster Query Map Calculation Zonal statistics Terrain functions Viewshed](https://reader033.vdocuments.site/reader033/viewer/2022061411/56649ec05503460f94bcc491/html5/thumbnails/5.jpg)
Map Query ExamplesSingle layer numeric example: elevation > 2000 ft
------Using GIS--Introduction to GIS
![Page 6: Introduction to Raster Spatial Analysis ------Using GIS-- Introduction to GIS Raster Query Map Calculation Zonal statistics Terrain functions Viewshed](https://reader033.vdocuments.site/reader033/viewer/2022061411/56649ec05503460f94bcc491/html5/thumbnails/6.jpg)
Map Query Examples
Results in a binary True/False layer
![Page 7: Introduction to Raster Spatial Analysis ------Using GIS-- Introduction to GIS Raster Query Map Calculation Zonal statistics Terrain functions Viewshed](https://reader033.vdocuments.site/reader033/viewer/2022061411/56649ec05503460f94bcc491/html5/thumbnails/7.jpg)
Map Query ExamplesMulti-criteria, single layer, categorical map query: looking for all developed land use types, using attribute codes (11, 12, 13, 14, 17) and ‘OR’
------Using GIS--Introduction to GIS
Vertical lines mean OR
11
12
13
14
17
![Page 8: Introduction to Raster Spatial Analysis ------Using GIS-- Introduction to GIS Raster Query Map Calculation Zonal statistics Terrain functions Viewshed](https://reader033.vdocuments.site/reader033/viewer/2022061411/56649ec05503460f94bcc491/html5/thumbnails/8.jpg)
Map Query ExamplesResults in a 1/0 binary layer, showing urbanized areas
------Using GIS--Introduction to GIS
![Page 9: Introduction to Raster Spatial Analysis ------Using GIS-- Introduction to GIS Raster Query Map Calculation Zonal statistics Terrain functions Viewshed](https://reader033.vdocuments.site/reader033/viewer/2022061411/56649ec05503460f94bcc491/html5/thumbnails/9.jpg)
Map Query ExamplesOne can then convert this to a vector shapefile or feature class
------Using GIS--Introduction to GIS
![Page 10: Introduction to Raster Spatial Analysis ------Using GIS-- Introduction to GIS Raster Query Map Calculation Zonal statistics Terrain functions Viewshed](https://reader033.vdocuments.site/reader033/viewer/2022061411/56649ec05503460f94bcc491/html5/thumbnails/10.jpg)
Map Query: 3-layer ExamplesMulti-layer queries uses criteria across two or more layers; in this case we’ll query land use (categorical), elevation (number) and slope (number)
------Using GIS--
Let’s say we want to identify potential habitat for a rare plant that grows at higher elevation, on steeper slopes and in coniferous forest
![Page 11: Introduction to Raster Spatial Analysis ------Using GIS-- Introduction to GIS Raster Query Map Calculation Zonal statistics Terrain functions Viewshed](https://reader033.vdocuments.site/reader033/viewer/2022061411/56649ec05503460f94bcc491/html5/thumbnails/11.jpg)
Map Query ExamplesFirst we would generate a slope map from out Digital Elevation Model by going to Surface>>Derive Slope
------Using GIS--
![Page 12: Introduction to Raster Spatial Analysis ------Using GIS-- Introduction to GIS Raster Query Map Calculation Zonal statistics Terrain functions Viewshed](https://reader033.vdocuments.site/reader033/viewer/2022061411/56649ec05503460f94bcc491/html5/thumbnails/12.jpg)
Map Query ExamplesLet’s say our criteria are elevation >800, slope >20% and land use category= coniferous forest (42)
------Using GIS--Introduction to GIS
![Page 13: Introduction to Raster Spatial Analysis ------Using GIS-- Introduction to GIS Raster Query Map Calculation Zonal statistics Terrain functions Viewshed](https://reader033.vdocuments.site/reader033/viewer/2022061411/56649ec05503460f94bcc491/html5/thumbnails/13.jpg)
Map Query ExamplesAgain we end up with a 1/0 binomial query layer
------Using GIS--Introduction to GIS
![Page 14: Introduction to Raster Spatial Analysis ------Using GIS-- Introduction to GIS Raster Query Map Calculation Zonal statistics Terrain functions Viewshed](https://reader033.vdocuments.site/reader033/viewer/2022061411/56649ec05503460f94bcc491/html5/thumbnails/14.jpg)
Map CalculationWe can also run calculations between layers: here we’ll multiply the k factor (soil erodability factor) by slope; let’s just imagine this will yield a more accurate and spatially explicit index of erodability that factors in slope at each pixel
------Using GIS--
![Page 15: Introduction to Raster Spatial Analysis ------Using GIS-- Introduction to GIS Raster Query Map Calculation Zonal statistics Terrain functions Viewshed](https://reader033.vdocuments.site/reader033/viewer/2022061411/56649ec05503460f94bcc491/html5/thumbnails/15.jpg)
Map CalculationNow we simply type in the equation and a new grid is created that solves that equation
------Using GIS--Introduction to GIS
![Page 16: Introduction to Raster Spatial Analysis ------Using GIS-- Introduction to GIS Raster Query Map Calculation Zonal statistics Terrain functions Viewshed](https://reader033.vdocuments.site/reader033/viewer/2022061411/56649ec05503460f94bcc491/html5/thumbnails/16.jpg)
Map CalculationThe darker areas are those with both steep slope and erodable soils. This has the advantage over map query in that we now have a continuous index of values, rather than just a “true” “false” dichotomy
------Using GIS--
![Page 17: Introduction to Raster Spatial Analysis ------Using GIS-- Introduction to GIS Raster Query Map Calculation Zonal statistics Terrain functions Viewshed](https://reader033.vdocuments.site/reader033/viewer/2022061411/56649ec05503460f94bcc491/html5/thumbnails/17.jpg)
Map Calculation and QueryWe could then, for instance, run a map query to find areas that have high erodability factors and urban land use.
------Using GIS--
![Page 18: Introduction to Raster Spatial Analysis ------Using GIS-- Introduction to GIS Raster Query Map Calculation Zonal statistics Terrain functions Viewshed](https://reader033.vdocuments.site/reader033/viewer/2022061411/56649ec05503460f94bcc491/html5/thumbnails/18.jpg)
Zonal StatisticsNow, say we had a proposed subdivision map (this one is made up). We could overlay it on our new index layer and figure out which proposed subdivisions are problematic
------Using GIS--Introduction to GIS
![Page 19: Introduction to Raster Spatial Analysis ------Using GIS-- Introduction to GIS Raster Query Map Calculation Zonal statistics Terrain functions Viewshed](https://reader033.vdocuments.site/reader033/viewer/2022061411/56649ec05503460f94bcc491/html5/thumbnails/19.jpg)
Zonal StatisticsUsing Zonal Statistics we could summarize the mean, max or sum of the soil index for each of those units, even though one is grid and one is polygon. Here we summarize the erodability index by subdivision zones.
------Using GIS--Introduction to GIS
![Page 20: Introduction to Raster Spatial Analysis ------Using GIS-- Introduction to GIS Raster Query Map Calculation Zonal statistics Terrain functions Viewshed](https://reader033.vdocuments.site/reader033/viewer/2022061411/56649ec05503460f94bcc491/html5/thumbnails/20.jpg)
Summary by ZoneThis will create a DBF table that summarizes the pixel values by mean, median, max, min, etc., of all the pixels falling within a given polygon. Each row represent a polygon and each column represents a different summary statistic
------Using GIS--
Polygon layer with zones
Unique ID for polygons
This joins the DBF table to the polygon layer
Statistic by which your data will be charted
![Page 21: Introduction to Raster Spatial Analysis ------Using GIS-- Introduction to GIS Raster Query Map Calculation Zonal statistics Terrain functions Viewshed](https://reader033.vdocuments.site/reader033/viewer/2022061411/56649ec05503460f94bcc491/html5/thumbnails/21.jpg)
Summary by ZoneIt gives us a DBF table with values of mean, max, min, stdv, etc. in the table, plus a chart summarizing the means;
------Using GIS--
![Page 22: Introduction to Raster Spatial Analysis ------Using GIS-- Introduction to GIS Raster Query Map Calculation Zonal statistics Terrain functions Viewshed](https://reader033.vdocuments.site/reader033/viewer/2022061411/56649ec05503460f94bcc491/html5/thumbnails/22.jpg)
Summary by ZoneNow we can plot out the subdivision boundaries (zones) by a soil erosion statistic. In this case, clearly the most meaningful one is the mean of the soil erosion statistic. This represent the mean value, by polygon, of all the soil erosion pixels underlaying that polygon
------Using GIS--
![Page 23: Introduction to Raster Spatial Analysis ------Using GIS-- Introduction to GIS Raster Query Map Calculation Zonal statistics Terrain functions Viewshed](https://reader033.vdocuments.site/reader033/viewer/2022061411/56649ec05503460f94bcc491/html5/thumbnails/23.jpg)
Raster terrain functions in ArcGIS
ArcGIS allows you to take a digital elevation model (DEM) and derive:
•Hillshade
•Aspect
•Slope
•Contours
------Using GIS--
![Page 24: Introduction to Raster Spatial Analysis ------Using GIS-- Introduction to GIS Raster Query Map Calculation Zonal statistics Terrain functions Viewshed](https://reader033.vdocuments.site/reader033/viewer/2022061411/56649ec05503460f94bcc491/html5/thumbnails/24.jpg)
Raster terrain functionsDEM + Hillshade = Hillshaded
------Using GIS--
+ =
![Page 25: Introduction to Raster Spatial Analysis ------Using GIS-- Introduction to GIS Raster Query Map Calculation Zonal statistics Terrain functions Viewshed](https://reader033.vdocuments.site/reader033/viewer/2022061411/56649ec05503460f94bcc491/html5/thumbnails/25.jpg)
Raster terrain functions in AVThis is done by making a hillshade using Spatial analyst, putting the hillshade “under” the DEM in the TOC and making the DEM transparent
------Using GIS--
![Page 26: Introduction to Raster Spatial Analysis ------Using GIS-- Introduction to GIS Raster Query Map Calculation Zonal statistics Terrain functions Viewshed](https://reader033.vdocuments.site/reader033/viewer/2022061411/56649ec05503460f94bcc491/html5/thumbnails/26.jpg)
Raster terrain functions in Arc GIS
Slope: Contours: Aspect:
------Using GIS--
![Page 27: Introduction to Raster Spatial Analysis ------Using GIS-- Introduction to GIS Raster Query Map Calculation Zonal statistics Terrain functions Viewshed](https://reader033.vdocuments.site/reader033/viewer/2022061411/56649ec05503460f94bcc491/html5/thumbnails/27.jpg)
Viewshed analysis (Visibility analysis)
This is a multi-layer function that analyzes visibility based on terrain.
It requires a grid terrain layer and a point layer and produces a visibility grid layer that tells you where the feature can be seen from, or alternately, what areas someone standing at that feature could see (remember, line of sight is two way).
If there are more than one point feature, then each grid cell tells you how many of the point features can be seen from a given point.
![Page 28: Introduction to Raster Spatial Analysis ------Using GIS-- Introduction to GIS Raster Query Map Calculation Zonal statistics Terrain functions Viewshed](https://reader033.vdocuments.site/reader033/viewer/2022061411/56649ec05503460f94bcc491/html5/thumbnails/28.jpg)
Viewshed analysisLet’s say we’re local planners who are considering
putting in a new waste treatment facility in valley where the vacation homes of five rich and powerful Hollywood executives are located.
We want it in a place that won’t ruin anyone’s views, since they comprise 95% of the local tax base.
So we geocode the house locations, overlay them on a high-resolution digital elevation model and run a viewshed analysis
This generates a grid with three values, representing how many houses can see a given pixel
Introduction to GIS
![Page 29: Introduction to Raster Spatial Analysis ------Using GIS-- Introduction to GIS Raster Query Map Calculation Zonal statistics Terrain functions Viewshed](https://reader033.vdocuments.site/reader033/viewer/2022061411/56649ec05503460f94bcc491/html5/thumbnails/29.jpg)
Viewshed analysisThis is done in ArcGIS, but can also be done in ArcView.
Red represents areas that can be seen by 1 house, blue by 2 or more
![Page 30: Introduction to Raster Spatial Analysis ------Using GIS-- Introduction to GIS Raster Query Map Calculation Zonal statistics Terrain functions Viewshed](https://reader033.vdocuments.site/reader033/viewer/2022061411/56649ec05503460f94bcc491/html5/thumbnails/30.jpg)
Viewshed analysisIn order to compare the visability of several facilities, separate
viewshed analyses need to be done for each feature.In the next example we will look at three candidate sites for a
communications tower.Each will produce a visability grid.This grid can then be superimposed on a layer showing
residential areas.Since each grid will belong to a different tower, we can tell
which tower will be most viewable from the residential areas through simple overlay analysis.
![Page 31: Introduction to Raster Spatial Analysis ------Using GIS-- Introduction to GIS Raster Query Map Calculation Zonal statistics Terrain functions Viewshed](https://reader033.vdocuments.site/reader033/viewer/2022061411/56649ec05503460f94bcc491/html5/thumbnails/31.jpg)
Viewshed analysisIn this case, red is for tower 1, blue for 2 and green for 3
Introduction to GIS