Spatial Analysis
Spatial Analysis
ANALYSIS
Area (Polygons)
by dividing the polygon into
triangles whose areas can easily
be calculated
4 4
3
2 2
Clip creates an output that contains only those features of the input map that fall within the
area extent of the clip map.
The dashed lines are for illustration only; they are not part of the clip map.
Merge =
3
2 2 2 2
Eliminate can remove polygons that are smaller than a specified size.
Slivers along the top boundary (A) are therefore eliminated.
This illustration uses an option to preserve the edge at (B) even though
polygons making up the edge are smaller than the specified size.
Update replaces the input map with the update map and its map features.
Erase removes features from the input map that fall within the area extent of the erase map.
The dashed lines are for illustration only; they are not part of the erase map.
Split uses the geometry of the split map to divide the input map into
four separate maps.
• Line
– Line Buffer
• Polygon
– Interior
– Exterior
A buffer zone may be treated as a neutral zone and as a tool for conflict resolution.
In controlling the protesting mass, police may require protesters to be at least 300 feet from a
building.
Perhaps the best-known neutral zone is the demilitarized zone separating North Korea from
South Korea along the 38°N parallel.
For example, the siting criteria for an industrial park may stipulate that a potential site must be
within 1 mile of a heavy-duty road. In this case, the 1-mile buffer zones of all heavy-duty
roads become the inclusion zones.
• An overlay operation takes two or more data layers as input and results in an
output data layer
• Three types of overlay:
Point in polygon
Line in polygon
Polygon (polygon on polygon)
1 2
A A
C + = C
B B
C A C
A
+ = D
B B
1 2
A
A
B B
ID Owner Cover
Area of
intersection A Brown commercial
New node B Smith industrial
Pemrograman Data Spasial Hepi H. Handayani, Ph.D 27
Union
Polygon Overlay
Agriculture Land Cover <Intermediate>
A
A
B B
A
D E
ID Owner Cover
A commercial
Area of B. Brown commercial
union C. Brown
D. Smith
New node industrial
E. Smith
A
A
B B
A B
C D
ID Owner Cover
Area of A. Brown commercial
identity B. Brown
New node C. Smith
D. Smith industrial
A map overlay operation computes the geometric intersections of two feature maps and creates
an output with combined features and attributes from the two input maps.
This output map can then be used for query and modeling purposes.
A more specific application of map overlay is to help solve the areal interpolation problem, which
involves transferring known data from one set of polygons (source polygons) to another (target
polygons).
Site Analysis
1
B
In this illustration, census tracts are shown in thick lines and school districts in thin lines.
Census tract A has a known population of 4000 and B, 2000.
Queried from the result of map overlay, the areal proportion of census tract A in school
district 1 is found to be 1/8 and the areal proportion of census tract B, 1/2.
Therefore, the population in school district 1 can be estimated to be 1500 (4000 x 1/8 + 2000
x 1/2).
Two
possible
values:
A AND B A NOT B
0 or 1
false/true
A OR B A XOR B
41
Raster Function
Mathematical combinations of raster layers several types of functions:
• Local functions
• Focal functions
• Zonal functions
• Global functions
•Multiply by a grid
2 0 1 1 2 0 2 2 4 0 2 2
2 3 0 4 3 3 3 3 6 9 0 12
X
2 2 2
= 2 2 4
1 1 2
3 2 1 1 3 2
2 0 1 1 (3x3)
2 3 0 4 12 13
=
2 1 1 2 17 19
2 3 3 2
2 2 1 1 1 2 3 4 5 5 8 8
2 3 3 1 5 6 7 8 5 7 7 8
=
3 2 1 2 3 4 7 5
1 1 2 2 5 6 2 5 8 8 5 5
Useful when we have different regions “classified” and wish to treat all grid
cells of each type as a single “zone” (ie. Forests, urban, water, etc.)
1 1 2 1 0 0
1 1.4 1 1 0
=
2 1 0 1 1
1.4 1 1.4 2
Or – some function which must consider all cells before determining the value
of any cell –
(“cost” associated with a path across the surface)