With data in hand and its quality understood, this unit turns to answering questions with it. It starts with two ways of summarizing data over space: classing values for choropleth maps, and measuring density with neighborhoods and kernels. It then covers the core toolkit of GIS analysis, from selection, buffers, and overlay on vectors to map algebra on rasters. It ends by estimating values where nothing was measured, first with deterministic interpolation and then with kriging. By the end of the unit you can plan a chain of spatial operations, carry it out in QGIS and ArcGIS Pro, and judge how much to trust the result.
The same data can tell different stories depending on how they are grouped into classes. This chapter explains why choropleth maps should show rates and densities rather than counts, how to choose the number of classes, and how the main classification methods work: equal interval, quantile, natural breaks (Jenks), arithmetic and geometric intervals, and standard deviation. Using the population density of North Carolina’s 100 counties, it compares the methods with histograms and the goodness of variance fit.
Density is a count divided by an area, but points have no area of their own. This chapter introduces Tobler’s first law and spatial autocorrelation, and three ways of defining a neighborhood: by distance, by contiguity (rook’s and queen’s case), and by k nearest neighbors. It ends with kernel density estimation, the method behind hot-spot and heat maps, and the choices of kernel shape and bandwidth that change what the map shows.
Most GIS questions are answered by chaining a few operations together. Starting with a light problem, where Batman should build his cave in Austin, this chapter introduces cartographic modeling and spatial scope (local, neighborhood, and global), then covers selection, joins, reclassification, dissolve, buffers of every kind, and overlay: point-in-polygon, clip, intersect, and union. It explains why overlay produces slivers and how to prevent them, and closes with map algebra, raster overlay cell by cell.
A raster stores the world as a grid, and almost every raster tool repeats one operation cell by cell. This chapter covers cells, cell size, extent, and NoData; map algebra; and how to line up rasters with resampling, extent, and snap settings. It sorts raster functions by scope (local, neighborhood, zonal, and global) and works through mathematical, logical, reclassification, and conditional functions, moving windows, aggregation, zonal statistics, and distance.
Weather stations, soil samples, and wells measure the world only at points. This chapter covers the five steps of interpolation and the main deterministic methods: nearest neighbor (Thiessen polygons), average neighbor, inverse distance weighting, polynomial trend surfaces, and radial basis functions. It shows how search neighborhoods and sampling designs shape the result, and how cross validation and RMSE compare methods objectively.
Kriging measures how values in the data are related at different distances before deciding how to weight them. This chapter builds the semivariogram from semivariance, explains its nugget, sill, and range, and shows how kriging sets its weights, handles anisotropy and trends, and differs in its ordinary, simple, universal, and cokriging forms. It ends with the cross-validation statistics and prediction standard errors used to judge a kriged surface.
A map that shades each area, such as a county, by its value, usually in
a few classes from light to dark.
“A computer-based system to aid in the collection, maintenance, storage,
analysis, output, and distribution of spatial data and information”
(Bolstad). Its five components are data, hardware, software, people, and
procedures.
The region within a specified distance of a point, line, or polygon.
Stacking layers of data for the same area to find places that meet
several conditions at once, such as flat land near a road and outside a
floodplain.
Math on rasters, cell by cell, such as adding two grids or finding every
cell where slope is under 10 percent.
A data model that stores the world as a regular grid of equal-sized
cells, each holding one value. Best for continuous data and imagery.
Estimating the value of an attribute at unsampled locations from
observations at sampled ones.
A geostatistical interpolation method that weights observations using a
model of spatial autocorrelation (the semivariogram), and estimates the
uncertainty of each prediction.
A GIS function that takes one or more input layers and produces an
output layer, such as a buffer, dissolve, or overlay.
A free and open-source desktop GIS that runs on Windows, Mac, and Linux.
Esri’s commercial desktop GIS, for Windows.
A classification method that divides the range of the data into classes
of equal width.
A classification method (Jenks) that groups similar values by minimizing
the variance within classes. The default in ArcGIS Pro.
The number of people per unit of area, such as people per square mile.
A bar chart of how many values fall in each range, used to see the shape
of a distribution.
A measure from 0 to 1 of how well classes fit the data: 1 minus the
squared deviations from the class means divided by those from the
overall mean.
“Everything is related to everything else, but near things are more
related than distant things” (Tobler 1970).
The degree to which values at nearby locations are more alike (positive)
or more different (negative) than chance would predict.
Touching. Contiguous polygons share a border (rook’s case) or a border
or corner (queen’s case).
Contiguity in which polygons are neighbors if they share an edge or a
corner.
A neighborhood made of the k closest locations, whatever their distance.
A method that turns points into a continuous density surface by sliding
a weighted window (a kernel) across a grid.
The radius of a kernel. Small bandwidths show local hot spots; large
ones show regional patterns.
A question whose answer depends on location, such as where something
clusters, how places differ, what factors explain a pattern, how a place
has changed, or how accessible a service is.
Planning and running a chain of spatial operations to solve a problem,
where each operation’s output becomes the next one’s input. The term is
Dana Tomlin’s.
The input locations used to compute the value at an output location:
local (the same location), neighborhood (nearby locations), or global
(every location).
Grouping the values of a layer into fewer, more meaningful classes, such
as elevations into low, medium, and high.
A thin, tiny polygon created by overlay where two versions of the same
boundary don’t match exactly.
The real-world length of one side of a raster cell, such as 30 meters.
Smaller cells give finer resolution and larger files.
A code meaning a raster cell has no value. Any map algebra operation
that touches NoData outputs NoData, and statistics skip it.
Giving each cell of a transformed raster a value from the input cells:
nearest neighbor, bilinear, or cubic convolution.
The raster version of if-then-else (CON in ArcGIS Pro): where a
condition is true, take one value or raster; where false, another.
A window of cells, usually 3 × 3, that slides across a raster one cell
at a time while a neighborhood function runs.
A statistic, such as the mean or sum, computed for all the raster cells
within each zone of a zone layer.
The feature closest to a given feature.
Polygons that surround each point with all the area closer to it than to
any other point.
An interpolation method that estimates each location as the mean of the
observations within a search radius.
An interpolation method that estimates each location as a weighted
average of nearby observations, with weights of 1 / distance raised to a
power.
A smooth polynomial surface fit to all the observations, usually by
least squares. Its order sets how many bends it can have.
An exact interpolation method that fits a smooth, minimum-curvature
surface through every observation, like a flexible sheet pinned at each
point.
The area around an unknown location, set by a radius, sectors, and a
shape, from which observations are taken to estimate it.
The pattern of observation locations: systematic, random, clustered, or
adaptive.
Testing an interpolation by removing each observation in turn,
estimating it from the rest, and recording the error.
The square root of the average squared residual: one number that sums up
how well a model fits.
A plot of semivariance against the distance between pairs of
observations, described by its nugget, sill, and range.
Half the squared difference between two observed values. Averaged over
pairs in a distance bin, it measures dissimilarity at that distance.
Spatial dependence that changes with direction. Its opposite is
isotropy, the same dependence in every direction.
Kriging that also uses one or more correlated secondary variables, such
as elevation when predicting temperature.
Kriging’s estimate of how far off each prediction might be. It is
largest where observations are sparse.