Download presentation
Presentation is loading. Please wait.
Published byPatricia Taylor Modified over 9 years ago
1
Advanced GIS Using ESRI ArcGIS 9.3 Spatial Analyst 2
2
Spatial Analyst Cell Statistics A raster will be created depicting the spatial distribution of various statistic parameters calculated for 2 or more input rasters
3
Spatial Analyst Cell Statistics MAJORITY — Calculates the majority (value that occurs most often) of the inputs. MAXIMUM — Calculates the maximum (largest value) of the inputs. MEAN — Calculates the mean (average) of the inputs. MEDIAN — Calculates the median of the inputs. MINIMUM — Calculates the minimum (smallest value) of the inputs. MINORITY — Calculates the minority (value that occurs least often) of the inputs. RANGE — Calculates the range (difference between largest and smallest value) of the inputs. STD — Calculates the standard deviation of the inputs. SUM — Calculates the sum (total of all values) of the inputs. VARIETY — Calculates the variety (number of unique values) of the inputs.
4
Spatial Analyst Cell Statistics Example of result
5
Spatial Analyst Neighborhood Statistics Statistical parameters (the same as for the previous command) can be calculated for a specified neighborhood in a map (point or raster), creating a new raster
6
Spatial Analyst Neighborhood Statistics The neighborhood can be defined as a rectangle (rarely used), giving its size
7
Spatial Analyst Neighborhood Statistics The neighborhood can be defined as a rectangle (most used), giving its radius
8
Spatial Analyst Neighborhood Statistics The neighborhood can be defined as an annulus (similar to a circle with low- pass filter), giving its radiuses
9
Spatial Analyst Neighborhood Statistics The neighborhood can be defined as a wedge (useful in case of spatial trends and/or to highlight them), giving its radius and its starting and ending directions
10
Spatial Analyst Zonal Statistics Calculates a table of statistics (Mean, Majority, Maximum, Median, Minimum, Minority, Range, Standard Deviation, Sum or Variety) on values of a raster within the zones of another dataset. An histogram can be created too for one of the statistic parameters.
11
Spatial Analyst Zonal Statistics Result
12
Spatial Analyst Zonal Histogram Draws a chart of the frequency of valus in a raster map divided by zones defined by a shapefile (generally polygons)
13
Spatial Analyst Zonal Histogram Result
14
Spatial Analyst Reclassify Reclassifies a raster Classes are defined by thresholds, either manually typed or created with the classify option (identical to that used for symbology)
15
Spatial Analyst Reclassify Result
16
Spatial Analyst Convert Feature to Raster Creates a raster whose cell will contain a value/label derived from a field of a shapefile. It will cause loss of accuracy (frequently also errors)
17
Spatial Analyst Convert Feature to Raster Points
18
Spatial Analyst Convert Feature to Raster Points Result
19
Spatial Analyst Convert Feature to Raster Points Problems All the values are shifted to the center of their cell Value shifted
20
Spatial Analyst Convert Feature to Raster Points Problems Since each cell can contain only one vaue, when two source points are located in the same cell one of them will be lost Value lost
21
Spatial Analyst Convert Feature to Raster Lines
22
Spatial Analyst Convert Feature to Raster Lines Result
23
Spatial Analyst Convert Feature to Raster LInes Problems Reshaping/ simplification of lines “Widening” of lines
24
Spatial Analyst Convert Feature to Raster Points Problems Since each cell can contain only one vaue, when two or more source lines cross the same cell only the attribute of one of them will be preserved Value lost
25
Spatial Analyst Convert Feature to Raster Polygons
26
Spatial Analyst Convert Feature to Raster Polygons Result
27
Spatial Analyst Convert Feature to Raster Polygons Problems Reshaping/ simplification of polygons Very small polygons can be lost
28
Spatial Analyst Convert Raster to features Also the conversion of rasters to features will generate errors
29
Spatial Analyst Convert Raster to features to points A shapefile of points will be created containing one point for each (non empty) cell of the source raster
30
Spatial Analyst Convert Raster to features to points Result
31
Spatial Analyst Convert Raster to features to points
32
Spatial Analyst Convert Raster to features to points Result
33
Spatial Analyst Convert Raster to features to points
34
Spatial Analyst Convert Raster to features to points Result
35
Spatial Analyst Convert Raster to features to points Problems
36
Spatial Analyst Convert Raster to features to Lines A shapefile of Polylines will be created containing lines following the boundaries between cells containing different values
37
Spatial Analyst Convert Raster to features to points Result Completely unuseful
38
Spatial Analyst Convert Raster to features to Lines
39
Spatial Analyst Convert Raster to features to Lines Result
40
Spatial Analyst Convert Raster to features to Lines Result Problems
41
Spatial Analyst Convert Raster to features to lines A raster created from points generally is not accepted to generate polylines or polygons
42
Spatial Analyst Convert Raster to features to Polygons A shapefile of Polygons will be created following the boundaries between cells containing different values
43
Spatial Analyst Convert Raster to features to Polygons Result
44
Spatial Analyst Convert Raster to features to Polygons Result Problems
45
Spatial Analyst Convert Raster to features to Lines
46
Spatial Analyst Convert Raster to features to Lines Result Practically unuseful
47
Spatial Analyst Raster Calculator The Raster Calculator can perform mathematical calculations using operators and functions, set up selection queries, or type in Map Algebra syntax. Inputs can be raster datasets (or raster layers, coverages, shapefiles, tables, constants, and numbers).
48
Spatial Analyst Raster Calculator The most common functions are represented by icons on the right; further function are available cliching on the “expand” button (bottom right)
49
Spatial Analyst Raster Calculator Expressions can be simply typed or created using the selection fields and the function icons. Clicking the “Evaluate” button a new raster will be created containing the result For example, the spatial distribution of the average number of components of families can be avaluated simply dividing the raster containing the interpolated value of inhabitants per municipality by that created interpolating the number of families per municipality
50
Spatial Analyst Raster Calculator Result The resulting map is always a remporary raster called “Calculation” (if needed adding a number) that can be saved into the HD
51
Spatial Analyst Raster Calculator Result Extent and cell size of the resulting map are to be set in the “Options” sector of the Spatial Analyst Menu
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.