53
Applied Cartography and Introduction to GIS GEOG 2017 EL Lecture-6 Chapters 11 and 12

Applied Cartography and Introduction to GIS GEOG 2017 EL Lecture-6 Chapters 11 and 12

Embed Size (px)

Citation preview

Page 1: Applied Cartography and Introduction to GIS GEOG 2017 EL Lecture-6 Chapters 11 and 12

Applied Cartography and Introduction to GIS

GEOG 2017 ELLecture-6

Chapters 11 and 12

Page 2: Applied Cartography and Introduction to GIS GEOG 2017 EL Lecture-6 Chapters 11 and 12

Vector Data Analysis

• Vector data analysis uses the geometric objects of point, line, and polygon.

• The accuracy of analysis results depends on the accuracy of these objects in terms of location and shape.

• Topology can also be a factor for some vector data analyses such as buffering and overlay.

Page 3: Applied Cartography and Introduction to GIS GEOG 2017 EL Lecture-6 Chapters 11 and 12

Buffering• Based on the concept of proximity, buffering creates

two areas: one area that is within a specified distance of select features and the other area that is beyond.

• The area that is within the specified distance is called the buffer zone.

• There are several variations in buffering. The buffer distance can vary according to the values of a given field. Buffering around line features can be on either the left side or the right side of the line feature. Boundaries of buffer zones may remain intact so that each buffer zone is a separate polygon.

Page 4: Applied Cartography and Introduction to GIS GEOG 2017 EL Lecture-6 Chapters 11 and 12

Buffering

Page 5: Applied Cartography and Introduction to GIS GEOG 2017 EL Lecture-6 Chapters 11 and 12

Buffer Distances

Page 6: Applied Cartography and Introduction to GIS GEOG 2017 EL Lecture-6 Chapters 11 and 12

Buffering with Rings

Page 7: Applied Cartography and Introduction to GIS GEOG 2017 EL Lecture-6 Chapters 11 and 12

Buffer Zones

Page 8: Applied Cartography and Introduction to GIS GEOG 2017 EL Lecture-6 Chapters 11 and 12

Overlay

• An overlay operation combines the geometries and attributes of two feature layers to create the output.

• The geometry of the output represents the geometric intersection of features from the input layers.

• Each feature on the output contains a combination of attributes from the input layers, and this combination differs from its neighbors.

Page 9: Applied Cartography and Introduction to GIS GEOG 2017 EL Lecture-6 Chapters 11 and 12

Overlay

Page 10: Applied Cartography and Introduction to GIS GEOG 2017 EL Lecture-6 Chapters 11 and 12

Feature Type and Overlay

Overlay operations can be classified by feature type into point-in-polygon, line-in-polygon, and polygon-on-polygon.

Page 11: Applied Cartography and Introduction to GIS GEOG 2017 EL Lecture-6 Chapters 11 and 12

Point-in-Polygon Overlay

Page 12: Applied Cartography and Introduction to GIS GEOG 2017 EL Lecture-6 Chapters 11 and 12

Line-in-Polygon Overlay

Page 13: Applied Cartography and Introduction to GIS GEOG 2017 EL Lecture-6 Chapters 11 and 12

Polygon-on-Polygon Overlay

Page 14: Applied Cartography and Introduction to GIS GEOG 2017 EL Lecture-6 Chapters 11 and 12

Overlay Methods

• All overlay methods are based on the Boolean connectors of AND, OR, and XOR.

• An overlay operation is called Intersect if it uses the AND connector.

• An overlay operation is called Union if it uses the OR connector.

• An overlay operation that uses the XOR connector is called Symmetrical Difference or Difference.

Page 15: Applied Cartography and Introduction to GIS GEOG 2017 EL Lecture-6 Chapters 11 and 12

Union Method

Page 16: Applied Cartography and Introduction to GIS GEOG 2017 EL Lecture-6 Chapters 11 and 12

Intersect Method

Page 17: Applied Cartography and Introduction to GIS GEOG 2017 EL Lecture-6 Chapters 11 and 12

Symmetric Difference Method

Page 18: Applied Cartography and Introduction to GIS GEOG 2017 EL Lecture-6 Chapters 11 and 12

Slivers

• A common error from overlaying polygon layers is slivers, very small polygons along correlated or shared boundary lines of the input layers.

• To remove slivers, ArcGIS uses the cluster tolerance, which forces points and lines to be snapped together if they fall within the specified distance.

Page 19: Applied Cartography and Introduction to GIS GEOG 2017 EL Lecture-6 Chapters 11 and 12

Slivers

Page 20: Applied Cartography and Introduction to GIS GEOG 2017 EL Lecture-6 Chapters 11 and 12

Cluster Tolerance

Page 21: Applied Cartography and Introduction to GIS GEOG 2017 EL Lecture-6 Chapters 11 and 12

Pattern Analysis

• Pattern analysis refers to the use of quantitative methods for describing and analyzing the distribution pattern of spatial features.

• At the general level, a pattern analysis can reveal if a distribution pattern is random, dispersed, or clustered.

• At the local level, a pattern analysis can detect if a distribution pattern contains local clusters of high or low values.

Page 22: Applied Cartography and Introduction to GIS GEOG 2017 EL Lecture-6 Chapters 11 and 12

Point Pattern Analysis

Nearest neighbor analysis uses the distance between each point and its closest neighboring point in a layer to determine if the point pattern is random, regular, or clustered.

Page 23: Applied Cartography and Introduction to GIS GEOG 2017 EL Lecture-6 Chapters 11 and 12

Point Pattern

Page 24: Applied Cartography and Introduction to GIS GEOG 2017 EL Lecture-6 Chapters 11 and 12

Point Pattern

Page 25: Applied Cartography and Introduction to GIS GEOG 2017 EL Lecture-6 Chapters 11 and 12

Feature Manipulation

• Tools are available in a GIS package for manipulating and managing maps in a database.

• These tools include Dissolve, Clip, Append, Select, Eliminate, Update, Erase, and Split.

Page 26: Applied Cartography and Introduction to GIS GEOG 2017 EL Lecture-6 Chapters 11 and 12

Dissolve

Dissolve removes boundaries of polygons that have the same attribute value in (a) and creates a simplified layer (b).

Page 27: Applied Cartography and Introduction to GIS GEOG 2017 EL Lecture-6 Chapters 11 and 12

Clip

Clip creates an output that contains only those features of the input layer that fall within the area extent of the clip layer. (The dashed lines are for illustration only; they are not part of the clip layer.)

Page 28: Applied Cartography and Introduction to GIS GEOG 2017 EL Lecture-6 Chapters 11 and 12

Append

Append pieces together two adjacent layers into a single layer but does not remove the shared boundary between the layers.

Page 29: Applied Cartography and Introduction to GIS GEOG 2017 EL Lecture-6 Chapters 11 and 12

Select

Select creates a new layer (b) with selected features from the input layer (a).

Page 30: Applied Cartography and Introduction to GIS GEOG 2017 EL Lecture-6 Chapters 11 and 12

Eliminate

Eliminate removes some small slivers along the top boundary (A).

Page 31: Applied Cartography and Introduction to GIS GEOG 2017 EL Lecture-6 Chapters 11 and 12

Update

Update replaces the input layer with the update layer and its features. (The dashed lines are for illustration only; they are not part of the update layer.)

Page 32: Applied Cartography and Introduction to GIS GEOG 2017 EL Lecture-6 Chapters 11 and 12

Erase

Erase removes features from the input layer that fall within the area extent of the erase layer. (The dashed lines are for illustration only; they are not part of the erase layer.)

Page 33: Applied Cartography and Introduction to GIS GEOG 2017 EL Lecture-6 Chapters 11 and 12

Split

Split uses the geometry of the split layer to divide the input layer into four separate layers.

Page 34: Applied Cartography and Introduction to GIS GEOG 2017 EL Lecture-6 Chapters 11 and 12

Raster Data Analysis

• Raster data analysis is based on cells and rasters.

• Raster data analysis can be performed at the level of individual cells, or groups of cells, or cells within an entire raster.

• Some raster data operations use a single raster; others use two or more rasters.

• Raster data analysis also depends on the type of cell value (numeric or categorical values).

Page 35: Applied Cartography and Introduction to GIS GEOG 2017 EL Lecture-6 Chapters 11 and 12

Raster Analysis Environment

The analysis environment refers to the area for analysis and the output cell size.

Page 36: Applied Cartography and Introduction to GIS GEOG 2017 EL Lecture-6 Chapters 11 and 12

Local Operations: Single Raster

Given a single raster as the input, a local operation computes each cell value in the output raster as a mathematical function of the cell value in the input raster.

Page 37: Applied Cartography and Introduction to GIS GEOG 2017 EL Lecture-6 Chapters 11 and 12

Local Operations

Page 38: Applied Cartography and Introduction to GIS GEOG 2017 EL Lecture-6 Chapters 11 and 12

Local Operation

A local operation can convert a slope raster from percent (a) to degrees (b).

Page 39: Applied Cartography and Introduction to GIS GEOG 2017 EL Lecture-6 Chapters 11 and 12

Local Operations: Multiple Rasters

• A common term for local operations with multiple input rasters is map algebra, a term that refers to algebraic operations with raster map layers.

• Besides mathematical functions that can be used on individual rasters, other measures that are based on the cell values or their frequencies in the input rasters can also be derived and stored on the output raster of a local operation with multiple rasters.

Page 40: Applied Cartography and Introduction to GIS GEOG 2017 EL Lecture-6 Chapters 11 and 12

Local Operations

The cell value in (d) is the mean calculated from three input rasters (a, b, and c) in a local operation. The shaded cells have no data.

Page 41: Applied Cartography and Introduction to GIS GEOG 2017 EL Lecture-6 Chapters 11 and 12

Neighborhood Operations

• A neighborhood operation involves a focal cell and a set of its surrounding cells. The surrounding cells are chosen for their distance and/or directional relationship to the focal cell.

• Common neighborhoods include rectangles, circles, annuluses, and wedges.

Page 42: Applied Cartography and Introduction to GIS GEOG 2017 EL Lecture-6 Chapters 11 and 12

Neighborhood Types

Four common neighborhood types: rectangle (a), circle (b), annulus (c), and wedge (d). The cell marked with an x is the focal cell.

Page 43: Applied Cartography and Introduction to GIS GEOG 2017 EL Lecture-6 Chapters 11 and 12

Neighborhood Means

The cell values in (b) are the neighborhood means of the shaded cells in (a) using a 3 x 3 neighborhood. For example, 1.56 in the output raster is calculated from (1 +2 +2 +1 +2 +2 +1 +2 +1) / 9.

Page 44: Applied Cartography and Introduction to GIS GEOG 2017 EL Lecture-6 Chapters 11 and 12

Zonal Operations

• A zonal operation works with groups of cells of same values or like features. These groups are called zones. Zones may be contiguous or noncontiguous.

• A zonal operation may work with a single raster or two rasters.

• Given a single input raster, zonal operations measure the geometry of each zone in the raster, such as area, perimeter, thickness, and centroid.

• Given two rasters in a zonal operation, one input raster and one zonal raster, a zonal operation produces an output raster, which summarizes the cell values in the input raster for each zone in the zonal raster.

Page 45: Applied Cartography and Introduction to GIS GEOG 2017 EL Lecture-6 Chapters 11 and 12

Zonal Operations

Thickness and centroid for two large watersheds (zones). Area is measured in square kilometers, and perimeter and thickness are measured in kilometers. The centroid of each zone is marked with an x.

Page 46: Applied Cartography and Introduction to GIS GEOG 2017 EL Lecture-6 Chapters 11 and 12

Physical Distance Measure Operations

• The physical distance measures the straight-line or euclidean distance.

• Physical distance measure operations calculate straight-line distances away from cells designated as the source cells.

Page 47: Applied Cartography and Introduction to GIS GEOG 2017 EL Lecture-6 Chapters 11 and 12

Straight Line

Page 48: Applied Cartography and Introduction to GIS GEOG 2017 EL Lecture-6 Chapters 11 and 12

Allocation and Direction

• Allocation produces a raster in which the cell value corresponds to the closest source cell for the cell.

• Direction produces a raster in which the cell value corresponds to the direction in degrees that the cell is from the closest source cell.

Page 49: Applied Cartography and Introduction to GIS GEOG 2017 EL Lecture-6 Chapters 11 and 12

Based on the source cells denoted as 1 and 2, (a) shows the physical distance measures in cell units from each cell to the closest source cell; (b) shows the allocation of each cell to the closest source cell; and (c) shows the direction in degrees from each cell to the closest source cell. The cell in a dark shade (row 3, column 3) has the same distance to both source cells. Therefore, the cell can be allocated to either source cell. The direction of 2430 is to the source cell 1.

Page 50: Applied Cartography and Introduction to GIS GEOG 2017 EL Lecture-6 Chapters 11 and 12

Other Raster Data Operations

1.Operations for raster data management include Clip and Mosaic.

2.Operations for raster data extraction include use of a data set, a graphic object, or a query expression to create a new raster by extracting data from an existing raster.

3.Operations for raster data generalization include Aggregate and RegionGroup.

Page 51: Applied Cartography and Introduction to GIS GEOG 2017 EL Lecture-6 Chapters 11 and 12

Clip Operation

An analysis mask (b) is used to clip an input raster (a). The output raster is (c), which has the same area extent as the analysis mask.

Page 52: Applied Cartography and Introduction to GIS GEOG 2017 EL Lecture-6 Chapters 11 and 12

A circle, shown in white, is used to extract cell values from the input raster (a). The output (b) has the same area extent as the input raster but has no data outside the circular area.

Extraction Operation

Page 53: Applied Cartography and Introduction to GIS GEOG 2017 EL Lecture-6 Chapters 11 and 12

Aggregate Operation

An Aggregate operation creates a lower-resolution raster (b) from the input (a). The operation uses the mean statistic and a factor of 2 (i.e., a cell in b covers 2 x2 cells in a). For example, the cell value of 4 in (b) is the mean of {2, 2, 5, 7} in (a).