550 likes | 1.53k Views
Neighborhood Analysis. Meredith Faust Advanced GIS March 27, 2003. Neighborhood Analysis. analyzes the relationship between an object and similar surrounding objects. is based on local or neighborhood characteristics of the data.
E N D
Neighborhood Analysis Meredith Faust Advanced GIS March 27, 2003
Neighborhood Analysis • analyzes the relationship between an object and similar surrounding objects. • is based on local or neighborhood characteristics of the data.
In GIS, a neighborhood is defined as the field of a cell and its similar surrounding cells.
Neighborhood Analysis relies on the use of the Neighborhood Statistics function • Neighborhood statistics is a spatial analyst function • This function computes an output grid where the value at each location is a function of the input cells within a specified neighborhood of the location.
Each cell in the following output raster has been calculated by summing the cells in a 3 x 3 neighborhood for each cell • The cells highlighted in yellow identify the neighborhood of the input processing cell with a value of 5 and output cell value of 24.
This process is performed on every input processing cell to calculate an output value for each cell.
The neighborhood statistic function has several different possible operations: • Majority: Determines the value that occurs most often in the neighborhood • Maximum: Determines the maximum value in the neighborhood • Mean: Computes the mean of the values in the neighborhood
Types of Neighborhood Statistics Continued: • Median: Computes the median of the values in the neighborhood • Minimum: Determines the minimum value in the neighborhood • Minority: Determines the value that occurs least often in the neighborhood
Types of Neighborhood Statistics Continued: • Range: Determines the range of values in the neighborhood • Standard Deviation: Computes the standard deviation of the values in the neighborhood
Types of Neighborhood Statistics Continued: • Sum: Computes the sum of the values in the neighborhood • Variety: Determines the number of unique values within the neighborhood
Neighborhood Analysis in ArcMAP • Have the layer that you wish to analyze active in ArcMAP • Under the tools menu, click on extensions • Highlight Spatial Analyst
Neighborhood Analysis in ArcMAP Click the view menu Under toolbars, highlight the spatial analyst toolbar
Neighborhood Analysis in ArcMAP • Under the spatial analyst toolbar, click the down arrow and highlight neighborhood statistics • Now you are at the neighborhood statistics menu
Neighborhood Analysis in ArcMAP • Select the layer you wish to analyze in the “input data” box • Choose what type of analysis (mean, sum, variety, etc…) in the statistic box • Designate the field size and output raster size in their appropriate boxes
Neighborhood Analysis in ArcMAP • Wait for the output!
What can neighborhood analysis be used for? • To smooth out data from remote sensing errors (minority) • Analysis of land use in a certain area by looking at the surrounding areas and their uses • Counting the number of potential customers for a store in a particular area by looking at surrounding areas
ArcMAP Example: • Great Places to go sledding in Charlottesville during the winter!
ArcMAP Example: • Start with the cvileedem file • Activate the spatial analyst extension and toolbar
ArcMAP Example: • Under the spatial analyst toolbar, click the down arrow and highlight neighborhood statistics • Fill in the appropriate boxes with the values that correspond to your objective
ArcMAP Example: • Areas within the red circles are the maximum elevations within this dem • Therefore, for an intense sledding experience, those areas would be the best!
The End! • Sources: • ArcGIS Desktop Help • Erdas Field Guide • www.iwr.msu.edu/edmodule/gis/nieghbr.html