Raster and Terrain Analysis

Learn how GIS software analyzes raster data, grids of cells that give every location a value. Start with cell size, extent and converting vector layers to rasters, then combine and summarize rasters with map algebra and estimate continuous surfaces from point samples by interpolation. Use digital elevation models to calculate slope, aspect, hillshade and contours, trace water flow to extract streams and delineate watersheds, and finish by building a suitability model that ranks locations for a real siting decision. Examples use QGIS, with the ArcGIS Pro equivalents named.

BeginnerLesson 7 of 7 in Introduction to GIS Course

What you will learn

  1. Explain how a grid of cells stores values, how cell size and extent control detail and data volume, and how vector layers become rasters for analysis.
    • Explain how a raster grid stores values
      Describe cells, rows, columns, bands, data types and NoData, and tell discrete rasters from continuous ones.
    • Choose a suitable cell size and extent
      Relate cell size to detail, file size and detectable features, and resample and align rasters with a method that fits the data.
    • Convert vector layers to rasters and back
      Rasterize points, lines and polygons with a value field and a cell assignment rule, and turn raster regions into polygons.
  2. Combine and transform rasters with local, focal, zonal and global operations, written as raster calculator expressions or run as tools.
    • Combine rasters cell by cell with local operations
      Write raster calculator expressions with arithmetic, comparisons and conditions, and predict how NoData and data types affect the result.
    • Summarize neighborhoods, zones and whole rasters
      Use focal statistics, zonal statistics and global distance operations, and choose the operation that matches the question.
  3. Estimate values between measured points with deterministic and geostatistical methods, and judge how reliable the resulting surface is.
    • Estimate values with inverse distance weighting
      Explain why interpolation works, compute an IDW estimate by hand, and predict how the power and neighborhood settings change the surface.
    • Compare interpolation methods and test their accuracy
      Choose among nearest neighbor, TIN, natural neighbor, spline and kriging, and evaluate a surface with cross-validation.
  4. Judge the quality of a DEM and calculate and interpret slope, aspect, hillshade and contours.
    • Describe digital elevation models and their sources
      Tell DEMs, DTMs and DSMs apart, know common sources and resolutions, and check units, datum and errors before analysis.
    • Calculate slope from a DEM
      Explain slope as rise over run, convert between degrees and percent, and follow how software computes slope from a 3×3 window.
    • Map aspect and interpret the direction a slope faces
      Read aspect as the compass direction a slope faces, handle flat cells and the circular scale, and group aspect into direction classes.
    • Visualize terrain with hillshade and contours
      Create a hillshade from a chosen light position, use it to read and check terrain, and derive contour lines from a DEM.
  5. Follow the standard workflow of filling sinks, tracing flow direction and accumulation, extracting streams and delineating the area that drains to an outlet.
    • Prepare a DEM and compute flow direction
      Find and fill sinks, and give each cell its D8 flow direction toward the steepest downhill neighbor.
    • Calculate flow accumulation and extract streams
      Interpret flow accumulation as upstream contributing area and choose a threshold that turns it into a stream network.
    • Delineate watersheds from pour points
      Place and snap pour points onto the stream network, delineate the area draining to each and check the result.
  6. Turn a siting question into criteria and constraints, put the criteria on a common scale, and combine them with Boolean or weighted overlay to rank locations.
    • Define criteria and constraints and prepare the layers
      Translate a siting question into factors and exclusion constraints, derive each criterion raster and put all layers on one grid.
    • Standardize criteria by reclassification
      Reclassify each criterion to a common suitability scale, set the direction of preference, and handle class boundaries and excluded values.
    • Combine criteria and evaluate the result
      Combine standardized layers with Boolean or weighted overlay, apply the constraints, and test how stable the ranking is.

Raster and Terrain Analysis study guide

6 chapters

1

Read and prepare raster grids

A raster map puts geographic information into cells, but its colors reveal only part of the story. Read what each stored value means, choose a cell size that fits the features being studied, and align layers before combining them. Converting between vectors and rasters brings roads, soils and protected areas into the same workflow. Each choice affects the detail, area and precision of the result.

1.1 Read the values behind a raster map

A raster divides geographic space into a rectangular grid of equal-sized cells, also called pixels. Each cell stores one value in each band. To interpret a colored map, first find out what those values mean: a measurement, a class code or a missing observation.

Locate a cell and interpret its value

Cells are arranged in rows and columns. The grid's origin, cell size and coordinate reference system place those rows and columns on the ground. A row and column identify a location because the whole grid has a fixed position. In a GeoTIFF, the georeferencing is stored with the values.

A cell value may summarize its area or represent a sample at its center; the production method tells you which. An elevation of 412.7 means about 412.7 m above the stated vertical datum. A land cover value of 4 could mean deciduous forest. The legend or attribute table supplies that meaning; the number alone does not.

Kind of rasterWhat the value meansMeaningful operations
Discrete or categoricalA class such as forest or waterCount cells, select classes, compare categories
ContinuousA quantity such as elevation or temperatureAverage, subtract, compare and interpolate values

Adding forest code 4 to water code 2 produces 6, but it does not produce a useful land cover category. Codes are labels. Before combining categories in a suitability calculation, assign them meaningful scores.

Bands and data types

A band is one layer of values on the same grid. A multispectral image has bands for different wavelength ranges; a DEM usually has one elevation band. QGIS expressions name the layer and band, as in "dem@1". Selecting the wrong band can give a valid-looking calculation of the wrong quantity.

The data type controls the values a cell can store. An unsigned 8-bit integer holds 0–255; a signed 16-bit integer holds −32768–32767. A 32-bit floating-point type stores decimals. Use integer values for class codes and floating point for results such as slope or NDVI. Saving 18.59° as an integer loses its decimal part through rounding or truncation. A continuous raster can also use integer storage when its measurements are whole numbers; the meaning and storage type are separate choices.

Keep missing values separate from zero

NoData means no valid value is available. It can mark a sensor gap, a void or the area outside a study boundary. Zero is a valid measurement: 0 m can represent sea level, and 0 can mean a condition failed.

A file may reserve −9999 for NoData. That number must also be declared as NoData in the metadata. Otherwise, the software includes it as a real elevation, pulling averages downward and creating false pits. Check a layer's NoData setting before using its statistics.

In QGIS, open Layer Properties > Information to inspect dimensions, cell size, extent, data type and NoData. ArcGIS Pro lists these under Properties > Source. Use rasters for surfaces and cell-by-cell analysis, and vectors for features such as parcels or road centerlines whose boundaries and attributes matter.

Key Takeaways

  • Each cell stores one value per band on a georeferenced grid.
  • Class codes identify categories; continuous values represent measurable quantities.
  • Choose floating-point storage when decimal results matter.
  • NoData marks missing information; zero can be a valid value.

1.2 Set the grid size and line up the cells

Cell size controls how much ground one cell represents. Extent controls the rectangle covered by the grid. Together, they determine how many cells must be stored and how much detail an analysis can show.

Calculate dimensions and storage

A 30 m grid with 4000 columns and 3000 rows covers 120 km by 90 km. It contains 12 million cells. At 4 bytes per cell for 32-bit floating point, its values need 48 million bytes, about 48 MB before compression. File headers, extra bands and compression affect the actual file size.

Halving the cell side to 15 m doubles both the columns and rows. The result has 48 million cells and about 192 MB of uncompressed values. In general, halving cell size quadruples cell count for the same extent.

Cell area is the square of the cell side. A 30 m cell covers 900 m²; a class with 200 such cells covers 180000 m², or 18 ha. Keep lengths and areas distinct when converting units: one square kilometer contains one million square meters.

Match resolution to the question

A 5 m stream cannot appear as a separate, accurate strip in 30 m land cover. It may disappear or share mixed cells with neighboring land. A useful starting rule is a cell size no larger than about half the narrowest feature you need to detect. Source quality still limits what can be detected.

Resampling a 30 m DEM to 5 m creates a denser grid, but supplies no new measurements. The smoother appearance can hide the original limits. Choose a resolution that fits both the decision and the information in the inputs.

A geographic grid uses degrees. One arc-second of latitude is about 30.9 m, but one arc-second of longitude is about 21.8 m at 45° latitude and 15.4 m at 60°. A degree-based cell is therefore not a square of fixed ground dimensions. For the planar distance, area and slope work here, use a suitable projected coordinate system in meters.

Choose a resampling method

Changing cell size, projection or grid alignment requires new values at new cell locations.

MethodHow it assigns valuesSuitable data
Nearest neighborCopies the closest input cellClass codes
BilinearWeights the four nearest cellsContinuous surfaces
Cubic convolutionUses 16 nearby cellsContinuous surfaces needing smoother display

Bilinear interpolation between forest code 4 and water code 2 can produce 3, falsely labeling cropland. When making a coarser raster, aggregation can summarize all contributing cells: mean or maximum for elevation, majority for land cover.

Use one reference grid

Cell-by-cell overlay requires matching CRS, cell size and alignment. Equal cell sizes alone do not ensure that edges coincide. Set an output extent and mask too. In QGIS, use Warp (Reproject) or Align Rasters, then set the Raster Calculator output grid. In ArcGIS Pro, set Cell Size, Snap Raster, Extent and Mask. A reference grid based on the coarsest important input often avoids suggesting detail unsupported by that input.

Key Takeaways

  • Halving cell size quadruples cell count over the same extent.
  • Class area equals cell count multiplied by cell area.
  • Finer output cells do not create finer source information.
  • Use nearest neighbor for codes and continuous interpolation for measured surfaces.
  • Match CRS, cell size and alignment before combining rasters.

1.3 Convert features without losing their meaning

Vector and raster layers can take part in the same analysis after conversion. Rasterization assigns feature values to cells. Polygonizing groups equal-valued cells into vector regions. Each conversion changes how boundaries are represented.

Choose the value and the assignment rule

To rasterize protected areas, assign a fixed value of 1 to included cells and use a background of 0. To rasterize soils, use an attribute such as soil_code. Confirm the output field and its meaning before running the tool: a feature's record number is not necessarily its class code.

The assignment rule decides whether a cell belongs to a feature. A center rule gives a cell the polygon value when the cell's center falls inside it. GDAL Rasterize uses this rule for polygons by default, as does ArcGIS Pro Polygon to Raster. ArcGIS also offers maximum area and maximum combined area choices.

An all touched rule includes every cell the feature touches. This keeps more narrow features visible but expands their raster footprint. Points occupy their containing cells; line rasterization marks cells along the line. The exact rule matters most near boundaries and for small features.

Recognize the change in area and shape

A cell stores one value for its entire footprint. A 6 m road represented by a 30 m strip of cells looks wider than the road. Polygon boundaries become stair-steps, and narrow parts can vanish or split. If precise setbacks or distances are needed, calculate them from the vector features or choose a finer grid supported by the source.

Suppose a 2.0 ha polygon becomes 22 cells on a 30 m grid. Each cell covers 900 m², so its raster area is 19800 m², or 1.98 ha. The difference comes from assigning whole cells at the boundary. A change to all touched can change both the count and the area without any change to the source polygon.

Group cells into polygons

Polygonizing creates polygons from connected equal-valued cells. Use QGIS Polygonize or ArcGIS Pro Raster to Polygon when reporting candidate sites or watershed regions. The initial boundary follows cell edges; simplification changes its shape.

Reclassify a continuous surface before polygonizing it. A floating-point elevation raster can contain many slightly different values, leading to a mass of tiny regions. A small set of classes, such as low, medium and high, produces regions that answer a reporting question.

Connectivity determines whether touching cells belong to one region:

  • 4-connectivity: cells must share an edge.
  • 8-connectivity: sharing a corner is enough.

Two suitable cells that meet only diagonally form two regions under 4-connectivity and one under 8-connectivity. Select the rule that fits what connected land means for the decision. Record it when grouping cells with Polygonize, GRASS r.clump or ArcGIS Pro Region Group, because it changes the region counts used in minimum-site-area checks.

Key Takeaways

  • Rasterization needs a value and a rule for assigning cells.
  • Center and all-touched rules give different boundary cells.
  • Whole-cell boundaries change feature areas and narrow shapes.
  • Reclassify continuous values before polygonizing regions.
  • 4-connectivity joins edges; 8-connectivity also joins corners.
2

Analyze the values across a grid

Raster analysis starts with deciding which input cells should contribute to each answer. Some questions compare values at one location; others summarize a moving neighborhood, a fixed region or distances across a whole grid. Expressions turn these choices into calculations and masks. Follow the values through a few cells to see how comparison signs, missing data and output storage change what the resulting map can tell you.

2.1 Build expressions that work cell by cell

Map algebra treats raster layers as variables. A local operation reads values at the same location and writes one output value there. This makes it useful for differences, unit conversions, vegetation indices and yes-or-no tests.

Work with meaningful values

Subtracting an older DEM from a newer DEM maps elevation change, provided their grids, vertical datums and units agree. A positive value means the newer surface is higher. Reversing the subtraction reverses the sign and therefore the interpretation.

QGIS names bands inside double quotes. For example, "new_dem@1" - "old_dem@1" reads band 1 from both layers. Layer names in ArcGIS Pro expressions use forms such as "new_dem" - "old_dem". The expression acts independently at every matching cell.

NDVI uses the near-infrared and red reflectance bands:

NDVI=NIR−RedNIR+Red

With reflectances 0.45 and 0.09, the numerator is 0.36 and the denominator is 0.54. Their quotient is about 0.67. In QGIS, write ("nir@1" - "red@1") / ("nir@1" + "red@1"). The parentheses keep the whole numerator and denominator together. Check how a zero denominator is handled when preparing a real output.

Turn conditions into masks

A comparison such as "slope@1" <= 5 gives 1 for true and 0 for false. It selects slopes at or below 5°, including exactly 5°. Multiplying two 0/1 tests performs AND: a cell gets 1 only if both tests pass. Adding tests counts how many pass; it does not enforce all of them.

For grassland code 3, the QGIS expression ("slope@1" <= 5) * ("landcover@1" = 3) selects flat grassland. At a cell with slope 3.2° and code 3, both tests give 1, and the product is 1. A 7° grassland cell gives 0. A gentle forest cell also gives 0 because the cover test fails. OR accepts a cell when at least one test passes, so it answers a different question.

A conditional chooses values explicitly. QGIS uses if("slope@1" <= 5, 1, 0); ArcGIS Pro uses Con("slope" <= 5, 1, 0). Set Null in ArcGIS Pro can turn selected cells into NoData for masking.

Preserve decimals and missing values

In most local arithmetic, NoData in an input produces NoData in the result. Adding 5 to a missing elevation cannot establish the new elevation. Gaps in any input can therefore cut holes in an overlay. Inspect the gaps and decide whether to mask, replace or fill them using a justified method.

Choose floating-point output for decimal results. Integer storage can reduce an NDVI of 0.67 to 0 or 1. ArcGIS Pro's Float can force floating-point arithmetic; in QGIS, check the calculated raster's output type. Arithmetic on class codes remains meaningless even when saved as floating point: reclassify categories into scores before adding them.

Key Takeaways

  • Local operations combine values at the same grid location.
  • Comparison outputs are 1 for true and 0 for false.
  • Multiply binary tests for AND; add them to count passing conditions.
  • NoData usually propagates through local arithmetic.
  • Use floating-point output to retain decimal results.

2.2 Choose the cells that feed each statistic

Raster operations differ in the set of input cells used for an output. The key choice is whether the question concerns one location, a moving neighborhood, a named zone or a distance across the grid.

Move a focal window

A focal operation moves a window across the raster and calculates one statistic at each center. A 3×3 window contains the center cell and eight neighbors. Larger rectangles, circles and rings support other neighborhood questions.

Consider elevations arranged by rows as 50, 48, 46 / 52, 50, 47 / 55, 53, 49 m. The total is 450 m across nine values, so the center's focal mean is 50.0 m. The maximum is 55 m, the minimum 46 m and the range 9 m. Range measures local relief; mean smooths small variations. Focal majority can replace isolated class speckles with the most common neighboring class.

A larger mean window smooths more strongly and can erase small ridges or channels. Choose its ground size as well as its cell count: three 10 m cells span 30 m, while three 30 m cells span 90 m. Slope and aspect also derive from a neighborhood, though they calculate change and direction instead of a simple summary.

At an edge or next to a void, the window is incomplete. Some tools ignore missing cells; others return NoData. Process a margin beyond the final study area and clip afterward so the working boundary does not remove useful neighborhoods.

Summarize fixed zones

A zonal operation groups cells by a zone ID or a polygon. It can report mean elevation per watershed, maximum slope per parcel or forest area per district. A zone can have several separate patches with the same ID.

If a zone has elevations 10, 12 and 14 m, its mean is 12 m. A zonal table has one row for that zone; a zonal raster repeats 12 in the zone's cells. The statistic summarizes the whole zone, not a moving area around each cell.

QuestionOperationWhat defines the group
Mean slope in each parcelZonalFixed parcel boundaries
Mean slope within 100 m of each cellFocalA moving neighborhood
Difference between two DEMsLocalThe same cell location
Measure distance across the grid

A global operation can depend on cells throughout the raster. Euclidean distance assigns each cell the straight-line distance to the nearest source-cell center. A remote road cell can still determine the answer where no road occurs in the local window.

On a 30 m grid, three horizontal cell steps equal 90 m; one diagonal step is about 42.4 m. These are distances between cell centers, so rasterizing roads first limits positional precision. Use projected map units in meters.

In QGIS, use GRASS r.neighbors for focal statistics, Zonal statistics for polygon summaries and GDAL Proximity (Raster Distance) for distance. ArcGIS Pro provides Focal Statistics, Zonal Statistics as Table and distance tools. Check the output form and NoData settings along with the chosen statistic.

Key Takeaways

  • Focal statistics summarize a window that moves with each output cell.
  • Zonal statistics summarize fixed regions, including separate patches with one ID.
  • Window size and NoData rules change focal results.
  • Euclidean distance measures straight lines to source-cell centers.
3

Build and evaluate continuous surfaces

Rain gauges, wells and survey points measure scattered locations, while many decisions need a value between them. Interpolation builds that continuous surface using relationships among the samples. Work through distance weighting, compare the shapes other methods can produce, and test predictions against withheld measurements. The sample pattern and the test errors help distinguish a useful surface from one that merely looks smooth.

3.1 Estimate between samples with IDW

A point layer gives measurements only where observations were made. Spatial interpolation estimates the continuous quantity between those points. Rain gauges can support a rainfall surface, and survey points can support an elevation surface.

Use distance to set influence

Interpolation relies on spatial autocorrelation: nearby observations tend to be more alike than distant ones. IDW, short for inverse distance weighting, turns this idea into a weighted mean. Nearby points receive more weight; the power controls how fast that weight falls.

z^=∑iwizi∑iwi,wi=1dip

Here, each sample has value zi and distance di from the estimated location; p is the power. The denominator divides by the total weight. Leaving it out gives a weighted sum in the wrong scale.

Calculate one estimate

Three gauges record 20, 30 and 50 mm at distances of 100, 200 and 400 m. With power 2, the weights are inversely proportional to the squares of those distances. Multiplying all weights by the same constant does not change the weighted mean, so use the simple ratio 16:4:1.

z^=16(20)+4(30)+1(50)16+4+1=49021≈23.3 mm

The nearest measurement pulls the estimate toward 20 mm. An unweighted mean would give every gauge equal influence and ignore their different distances.

With power 1, the ratios become 4:2:1 and the estimate is about 27.1 mm. With power 3, they become 64:8:1 and the estimate is about 21.5 mm. Increasing power gives the nearest points more control and can make local peaks and bull's-eye patterns stronger. Power 2 is a common software default, including QGIS and ArcGIS Pro; test it against alternatives.

Set the search neighborhood

A fixed number of nearest samples gives a search radius that expands where points are sparse. A fixed radius includes all samples inside a chosen distance and can require a minimum count. Too few points can make a patchy surface; many distant points can smooth local differences.

IDW is exact at a sample location: it returns that measurement. Elsewhere, positive weights keep the estimate within the range of the samples used. If the highest measured ground is 300 m, IDW cannot invent a 350 m summit. An isolated extreme sample often creates circular rings around itself.

Match the method to the data

Use projected coordinates for distance-based weights. Select an output cell size that fits the sampling spacing; a 1 m grid between gauges hundreds of meters apart adds a smooth-looking display, not new observations. Estimates beyond the outermost samples are extrapolations and usually become less reliable farther from the data.

Interpolate continuous point measurements. Soil class codes and district population totals do not form continuous point measurements. A value halfway between class codes has no category meaning, and an area total cannot be treated as if it were measured at one point.

Key Takeaways

  • IDW uses distance-weighted averages of continuous point measurements.
  • Higher power gives the nearest samples more influence.
  • Divide the weighted total by the sum of the weights.
  • Positive weights keep estimates inside the range of the samples used.
  • Neighborhood and sample spacing limit the information in the output.
  • Use projected coordinates and check extrapolated areas carefully.

3.2 Compare surfaces with independent predictions

Interpolation methods build different surfaces from the same points. Choose one that fits how the quantity varies, then test its predictions at locations where measured values are available.

Compare the construction methods
MethodHow the surface is builtMain consideration
Nearest neighborCopies the closest sampleAbrupt zones; can preserve categories
Linear TINFits a plane inside each sample triangleFaceted terrain; supports breaklines
Natural neighborWeights neighbors through Voronoi areasSmooth, bounded estimates inside the samples
SplineBends a smooth surface through samplesCan overshoot the sample range
KrigingFits a statistical model of spatial dependenceProduces predictions and standard errors

A TIN, or triangulated irregular network, connects sample points into triangles. Linear interpolation within each triangle honors its three corner heights. Supplied breaklines force triangle edges to follow features such as ridges or streams. Without them, triangles can cut across a ridge. QGIS also offers a smoother Clough-Tocher version.

Natural neighbor weights depend on how much of existing Voronoi regions a new point would take. It stays within the sample range and does not predict beyond the outermost samples. A spline can rise above the highest sample or below the lowest, especially where nearby measurements differ sharply. A smooth map is therefore not enough evidence of a realistic surface.

Understand what kriging adds

Deterministic methods use a fixed geometric or smoothing rule. Kriging first examines pairs of samples. A semivariogram summarizes how differences between their values change with separation distance. A fitted model sets prediction weights and supports a standard error surface.

The error surface identifies less certain predictions under the fitted model. It depends on the model and the sample pattern; it is not a direct measurement of the actual error at an unsampled point. Kriging needs enough well-spread points to estimate spatial dependence sensibly.

Test predictions without giving away the answer

In leave-one-out cross-validation, remove one sample, predict its location from the others, and subtract the measured value from the prediction. Repeat for every sample. Testing an exact interpolator at points it used would merely recover the input values.

Errors of 2, −1, 3, −2 and 0 mm have a mean of 0.4 mm. The root mean square error is:

RMSE=22+(−1)2+32+(−2)2+025≈1.9 mm

Mean error indicates bias; positive and negative errors can cancel. Squaring errors before averaging prevents that cancellation, so RMSE shows their typical size. A separate withheld test set can also compare predictions with observations.

Compare settings on the same test samples and units. Prefer lower error alongside physically plausible shapes. Dense clusters can leave large unsampled gaps; missing high-ground samples leave peaks poorly constrained. Record the method, settings and validation results, and display the sample locations with the surface.

Key Takeaways

  • Choose interpolation by the surface behavior and available samples.
  • Breaklines let TIN triangles preserve sharp terrain changes.
  • Spline can overshoot; IDW and natural neighbor remain bounded by their samples.
  • Kriging models spatial dependence and estimates prediction uncertainty.
  • Withhold each test observation before predicting it.
  • Mean error measures bias; RMSE measures error size without sign cancellation.
4

Derive and read terrain

An elevation grid becomes useful terrain information only after its surface type, height reference, units and errors are understood. From a checked DEM, calculate steepness and downhill direction, then use light and contour lines to see the landforms. These views answer different questions about the same ground. Their values also respond to cell size, noise and tool settings, so interpretation begins with the underlying elevation data.

4.1 Check what an elevation model measures

An elevation raster stores the height of a surface above a vertical datum, the reference used for heights. Before deriving terrain, check which surface was measured, how it was made and whether its units and accuracy fit the question.

Distinguish ground from objects

A digital terrain model (DTM) represents bare ground. A digital surface model (DSM) includes trees, roofs and other objects. Digital elevation model (DEM) is a general term, though many agencies use it specifically for bare ground. Read the metadata to establish the file's meaning.

If a DSM cell is 135.0 m and the matching DTM cell is 112.5 m, subtracting them gives an object height of 22.5 m. The grids, units and datums must agree for that difference to represent object height. A roof mistaken for terrain can create a false steep edge or divert modeled drainage.

Know the main sources

Airborne lidar records laser returns as a point cloud. Ground classification can separate ground returns from vegetation, supporting terrain grids of 1 m or finer. Photogrammetry estimates surfaces from overlapping images. Radar interferometry measures surface height from radar observations.

SRTM used radar observations collected in 2000 and provides 1 arc-second data, roughly 30 m, between 60° N and 56° S. The global Copernicus 30 m DEM is a surface model. National lidar programs, including USGS 3DEP, provide other elevation products. Older grids may have been interpolated from contour lines, leaving terrace-like steps.

A smaller cell is not an accuracy guarantee. Check the source date, surface type, resolution and reported vertical error. A recent fine DSM and an older coarse DTM differ in more than cell size.

Put heights and horizontal distances in compatible units

A geoid-based height and an ellipsoidal height can differ by tens of meters at the same place. Align vertical datums before combining elevation layers. Reprojection of the horizontal grid alone does not establish that their height references agree.

For planar terrain calculations, horizontal and vertical distances must use compatible units. If elevations are in feet and cell size is in meters, a z-factor of 0.3048 converts the heights to meters. This conversion is different from vertical exaggeration, which changes the displayed or calculated relief deliberately.

For a grid in degrees, reproject to a suitable projected CRS in meters or select a terrain method that correctly handles geographic coordinates. Degree-sized horizontal steps and meter heights cannot be compared as if they shared a unit. Some tools infer unit scaling from metadata, so inspect their settings and metadata instead of assuming a conversion happened.

Inspect before processing

Use the identify tool to check heights and compare minimum and maximum values with known terrain. View a hillshade for stripes, tile seams, pits, spikes and terraces. Draw a profile across a valley to see unexpected jumps. Vertical accuracy is often reported as an RMSE in meters, and errors pass into slope and flow paths.

Choose resolution for the terrain feature being studied. Coarse cells usually smooth steep slopes and miss small channels. Keep a margin beyond the study area for neighborhood calculations and the full upstream extent for drainage work.

Key Takeaways

  • Check whether the raster represents bare ground or the tops of objects.
  • DSM minus a compatible DTM estimates object height.
  • Match vertical datums as well as horizontal grids.
  • Use compatible horizontal and vertical units for planar terrain calculations.
  • Inspect metadata, profiles and hillshade for errors before analysis.

4.2 Calculate steepness in degrees and percent

Slope is the greatest rate of elevation change at a location. It can be expressed as an angle in degrees or as percent rise. These describe the same steepness on different scales, so every slope map needs a unit in its legend.

Convert rise and horizontal run

Percent rise uses horizontal distance, not the distance along the sloping surface:

percent rise=100risehorizontal run

A rise of 12 m across 80 m horizontally gives 15%. Convert between percent and angle with:

percent rise=100tan⁡(θ),θ=arctan⁡(percent rise/100)

For 15%, the angle is about 8.5°. A 45° slope is 100%, while 60° is about 173%. Percent slope can exceed 100%; it does not stop at vertical in the way a 0–100 percentage share does. A 10% slope is about 5.7°, not 10°.

Read the 3×3 elevation window

A terrain tool estimates local east–west and north–south changes. Horn's method labels a window as follows, with the center at e:

abc
def
ghi

For cell side length s, calculate:

p=(c+2f+i)−(a+2d+g)8s q=(g+2h+i)−(a+2b+c)8s

Then combine the two rates:

r=p2+q2,θ=arctan⁡(r)

The four side neighbors receive double weight; the center elevation does not appear. The rates describe change along two axes, while their combined magnitude gives the steepest change.

Work through one window

For 10 m cells, use rows 50, 48, 46 / 52, 50, 47 / 55, 53, 49 m. The right weighted column totals 189; the left totals 209. Their difference divided by 80 gives an east–west rate of −0.25. The bottom weighted row totals 210 and the top 192, giving a north–south rate of 0.225.

Squaring and adding gives 0.113125. Its square root is about 0.336. The angle is about 18.6°, and percent rise is about 33.6%. Signs show the direction of change, but both squared terms contribute positively to steepness.

Choose settings and interpret the result

In QGIS, use GDAL Slope or the native terrain Slope tool; ArcGIS Pro provides Slope and Surface Parameters. Choose degrees or percent explicitly. Use compatible elevation and horizontal units, converting input feet with a z-factor of 0.3048 when the grid is in meters. A geographic grid needs reprojection or a correctly configured geographic method.

Slope is a continuous surface. Classify it into useful ranges for access, construction or erosion questions. A pit or spike creates steep neighboring cells; a coarse DEM usually smooths the same hill. Compare slope results using DEMs of similar resolution, and inspect isolated rings of high values before treating them as real terrain.

Key Takeaways

  • Percent rise uses rise divided by horizontal run, multiplied by 100.
  • Degrees and percent are linked by tangent, not a fixed multiplier.
  • A 45° slope is 100%; steeper slopes exceed 100%.
  • Horn slope combines two weighted rates from a 3×3 window.
  • Match units and label the output slope unit.
  • Resolution and DEM errors affect the calculated steepness.

4.3 Read aspect as a compass direction

Aspect tells you which direction a slope faces: the direction of steepest descent. It does not tell you how steep the ground is. A steep and a gentle slope can both have an aspect of 180°.

Follow the downhill compass bearing

Aspect is measured clockwise from north: 0° or 360° is north, 90° east, 180° south and 270° west. An aspect of 180° means the ground falls southward. Reading it as the uphill direction reverses the terrain interpretation.

The same local elevation rates used for slope also determine aspect. In the 10 m window with rows 50, 48, 46 / 52, 50, 47 / 55, 53, 49 m, the east–west rate is −0.25. Heights fall eastward. The rate toward the bottom of the grid is 0.225, so heights rise southward and fall northward. Together these give a northeast-facing slope, about 48° in compass degrees.

Use the rate signs or neighboring heights as a quick check on software output. An answer pointing southwest would conflict with the lower ground to the northeast. Keep track of the software's axis directions when converting an angle to a compass bearing.

Handle flat and nearly flat cells

A perfectly flat cell has no downhill direction. ArcGIS Pro represents flat aspect as −1. GDAL Aspect returns NoData, normally −9999, unless its zero-for-flat option is selected. Zero can also represent north, so a separate flat class prevents confusion.

On nearly level ground, a tiny height error can change the calculated direction sharply. Aspect maps can therefore look speckled even when the slope map is almost flat. A small slope cutoff, such as 2°, can separate ground where aspect is useful from ground where its direction is unstable.

Respect the wrap at north

Aspect is circular. Bearings of 359° and 1° differ by 2°, because north lies between them. Their ordinary arithmetic mean is 180°, which points the opposite way. For directional summaries, convert to northness and eastness, using cosine and sine of the aspect, or use direction classes.

Eight common classes are 45° wide: north, northeast, east, southeast, south, southwest, west and northwest. North crosses the end of the numeric scale, covering 337.5° through 360° and 0° through 22.5°. A numeric reclassification therefore needs two north ranges. Assign boundary values to exactly one class so they are not duplicated.

Connect aspect to sunlight

Equator-facing slopes generally receive more sun: south-facing in the Northern Hemisphere and north-facing in the Southern Hemisphere. Aspect affects snowmelt, soil moisture, vegetation and solar siting. Its influence is weak on nearly flat ground and stronger as a slope becomes more pronounced.

Do not score raw bearings as if a larger number always meant a better direction. For a solar model, score compass classes or use a circular transformation toward the preferred bearing. Handle flat cells independently, since they have no aspect to score.

Key Takeaways

  • Aspect is the downhill direction, clockwise from north.
  • Slope measures steepness; aspect measures direction.
  • Keep flat cells separate from north-facing ground.
  • North wraps around 0°/360°, so ordinary means can be misleading.
  • Sun-facing preferences reverse between hemispheres.

4.4 Show relief with light and contour lines

A DEM is easier to read when its elevations become shaded relief or contour lines. Hillshade shows how terrain faces a chosen light. Contours connect equal heights. Both help reveal landforms and errors that can be hard to see in a color ramp alone.

Set a light position

Light azimuth is the compass direction it comes from; altitude is its angle above the horizon. GDAL Hillshade in QGIS and ArcGIS Pro commonly use azimuth 315° and altitude 45°. This northwest light matches the upper-left illumination many viewers expect. QGIS's native terrain tools can use different defaults, so read the actual settings.

Light from the southeast can make ridges look like valleys, an effect called relief inversion. Compare the DEM values or contours if a shaded valley appears to stand above its surroundings. Darkness alone cannot tell you whether a cell is low or steep: it depends on its orientation to the light.

Understand the brightness calculation

For zenith angle Z, slope S, light azimuth A and aspect Asp, the basic calculation is:

H=255[cos⁡Zcos⁡S+sin⁡Zsin⁡Scos⁡(A−Asp)]

The zenith angle is 90° minus the light altitude. Negative results are set to zero. Use consistent angular units when calculating. Flat terrain under a 45° light has brightness about 180, since the aspect-dependent term vanishes.

For an 18.6° slope under the default northwest light, a northwest-facing cell has brightness about 228. The northeast-facing example at about 48° has brightness about 168, and a southeast-facing cell about 113. The surface height can remain unchanged while the illumination settings change its displayed brightness.

The grayscale commonly spans 0–255. A black cell in a basic hillshade represents no illumination from that light direction; it need not be a cast shadow from a distant mountain. A shadow option adds obstruction by other terrain. Multidirectional hillshade combines lights to retain detail on slopes facing away from a single source.

Use hillshade for display and inspection

Place hillshade beneath a partly transparent elevation or land cover layer, for example at 50% transparency. Tile seams, stripes, pits and terrace patterns become easier to spot. A z-factor greater than 1 exaggerates relief, which can help in flat terrain but changes how steep it appears.

Hillshade brightness serves display. It does not measure total sunlight received over a day or season; solar radiation tools address that different question.

Choose a contour interval

A contour joins equal elevations. An interval of 10 m from a base of 0 m produces lines at 0, 10, 20 m and onward. Close spacing shows steep ground; wide spacing shows gentle ground. Across a valley, contour V shapes point upstream toward higher ground.

Too small an interval clutters rough terrain. Noise produces jagged lines, and a focal mean can smooth the DEM before contouring, while also removing some detail. Use QGIS GDAL Contour or ArcGIS Pro Contour, set the interval and base, and label the elevation unit.

Key Takeaways

  • Hillshade depends on slope, aspect and the selected light position.
  • Northwest light commonly uses azimuth 315° and altitude 45°.
  • Basic hillshade darkness and cast terrain shadows are different effects.
  • Contours join equal heights; close lines indicate steep ground.
  • Choose contour intervals that show useful relief without clutter.
5

Trace drainage from terrain to outlet

Water follows connected downhill routes, linking individual terrain cells into channels and drainage areas. Prepare the DEM, choose each flow direction, count upstream contributions and extract a stream network. An outlet placed on that network anchors the watershed you want to delineate. Checking the route, the cell-count convention and the full upstream coverage makes the resulting boundary useful for environmental analysis.

5.1 Prepare drainage and choose each downhill step

A watershed is the land draining to an outlet, bounded by ridges called drainage divides. Raster drainage starts by preparing the DEM, then tracing where each cell sends flow. Those directions feed accumulation, streams and watershed boundaries.

Inspect and fill sinks

A sink is a cell or group of cells with no downhill exit. Some are DEM artifacts caused by rounding, interpolation or barriers such as road embankments. Others are real closed depressions, including quarries, karst sinkholes and lake basins.

Filling raises a depression to its spill elevation. A 98 m pit with a lowest outlet at 101 m rises to 101 m. Larger depressions may need a path to a more distant spill point; their fill depth cannot be found from one neighboring cell alone. Compare the filled and original DEM by subtraction to locate changed areas and their depths.

Use a fill limit when appropriate to retain deep, real depressions. If a road blocks a culvert omitted from the DEM, verified drainage paths can be burned into the surface by lowering the cells along them. These changes should reflect the drainage being modeled.

In QGIS, providers offer tools such as SAGA Fill sinks (Wang & Liu) and GRASS r.fill.dir; ArcGIS Pro provides Fill. Filling can create flat areas at spill level. Direction tools need a rule that routes those flats toward their outlets.

Compare downhill rates, not just heights

D8 sends a cell's entire flow to one of its eight neighbors. Choose the greatest elevation drop divided by center-to-center distance. Direct neighbors are one cell side away; diagonal neighbors are a cell side multiplied by the square root of two away.

For a 100 m center on a 10 m grid, consider east at 96 m, southeast at 93 m and south at 95 m. The other neighbors are higher.

NeighborDrop in heightDistanceDrop per distance
East4 m10 m0.40
Southeast7 mAbout 14.14 mAbout 0.495
South5 m10 m0.50

Flow goes south. The southeast neighbor is lower, but reaching it requires a longer horizontal step. Comparing height drops alone would choose the wrong route.

Interpret the direction raster

ArcGIS Pro's D8 codes run clockwise from east: E 1, SE 2, S 4, SW 8, W 16, NW 32, N 64 and NE 128. The example therefore receives 4. These are direction labels, not amounts of water. Other tools use different codes; TauDEM uses 1–8 counterclockwise from east.

D8 concentrates flow into single paths. Multiple flow direction methods spread it among downhill neighbors, which can represent open hillslopes better. GRASS r.watershed defaults to multiple flow directions; switch on -s for the single-flow workflow. Keep its outputs with compatible GRASS tools, since its drainage codes differ from ArcGIS codes. Inspect unresolved sinks or looping directions before using them for accumulation.

Key Takeaways

  • Fill raises sinks to their spill elevations; inspect which depressions are real.
  • D8 selects the greatest height drop divided by horizontal distance.
  • Diagonal neighbors are farther away than edge neighbors.
  • Direction codes vary among tools and do not measure water quantity.
  • GRASS r.watershed needs the -s option for single flow direction.
  • Flow directions underpin accumulation, stream extraction and watershed tracing.

5.2 Turn accumulated flow paths into streams

Flow accumulation follows the direction raster and counts how many upstream cells contribute to each location. Small values lie near divides; high values form branching paths along valleys and toward the main outlets.

Check what is counted

In unweighted ArcGIS Pro accumulation, a cell does not count itself. A ridge cell with no upstream contributors has 0. GRASS r.watershed with -s includes the current cell, so the smallest count is 1. Its default multiple-flow method can split contributions and produce fractional values. Negative accumulation values flag locations that may receive flow from outside the region.

Keep the convention attached to any count-to-area calculation. For 30 m cells, each cell covers 900 m². An ArcGIS accumulation of 25000 represents 22.5 km² of upstream cells. Adding the current cell gives a full contributing footprint of 25001 cells. With self-inclusive accumulation, do not add it a second time.

A weight raster changes the quantity being summed. For example, weights can represent a rainfall contribution at each cell. Without weights, accumulation is a count standing for area. It does not give water volume or discharge; those require additional quantities and hydrological modeling.

Choose an area threshold

To extract a modeled stream network, keep cells whose accumulation exceeds a threshold. Set the desired contributing area first, then divide by cell area. For a 1 km² threshold at 30 m, the equivalent count is about 1111 cells; at 10 m, it is 10000 cells.

An ArcGIS expression such as Con("flowacc" > 1111, 1) writes stream cells and leaves other cells NoData. QGIS can use if("flowacc@1" > 1111, 1, 0) to make a 1/0 stream mask. Choose a boundary comparison deliberately: > excludes equality, while >= includes it. Account for whether the accumulation includes the current cell when a precise area boundary matters.

A low threshold includes small tributaries and produces a dense network. Raising it removes headwater branches. Compare the modeled network with mapped channels, imagery and field evidence; climate, soil and geology influence where real channels begin. Culverts and storm drains can carry water along routes absent from a surface DEM.

Display and rank the network

Accumulation values span a wide range. A logarithmic or strongly stretched color display reveals smaller branches that a linear ramp can hide. The display changes visibility, not the underlying counts used in calculations.

Strahler order starts headwater segments at 1. Equal orders joining increase the order by one; unequal orders joining keep the larger order. A first-order tributary joining a third-order channel leaves order 3. Shreve magnitude adds the incoming magnitudes at each junction.

ArcGIS Pro provides Stream Order and Stream to Feature. QGIS providers include stream ordering tools and GRASS r.to.vect for converting a stream raster to lines. Record the flow method and threshold with the exported network so another analyst can reproduce its density and contributing areas.

Key Takeaways

  • Accumulation counts upstream contributions along the direction paths.
  • ArcGIS excludes the current cell; GRASS single-flow accumulation includes it.
  • Convert a stream-area threshold to cells using cell area.
  • A higher threshold produces a sparser stream network.
  • Strahler increases only where equal orders join; Shreve adds incoming magnitudes.

5.3 Trace the land draining to an outlet

A pour point identifies the outlet whose drainage area you need. It might be a gauge, intake, dam or sampling location. Its position determines which upstream land is included.

Place the outlet on the channel

A map or GPS point can fall beside the modeled stream. If the point lands on a hillslope cell, tracing upstream may return a tiny area instead of the intended basin. Snapping moves it to a high-accumulation cell within a search distance.

For a 30 m grid, a 60 m search distance spans two cell widths. Inspect the resulting point against the intended channel. Too small a search may miss it; too large a search can jump across a divide or onto a larger neighboring stream. The highest accumulation in a wide search is not necessarily the outlet you meant to select.

ArcGIS Pro provides Snap Pour Point. In a QGIS workflow, prepare the outlet on the checked accumulation and drainage layers before using GRASS r.water.outlet for a single outlet coordinate. Use matching flow-direction conventions throughout.

Delineate with directions

The watershed calculation uses direction paths, not distance from the stream. A nearby cell across a ridge can drain elsewhere, while a distant hill cell can belong to the same watershed. A buffer around a stream therefore cannot replace a drainage boundary.

Give multiple outlets distinct IDs. In a single watershed labeling from nested pour points, a cell receives the ID of the first selected outlet reached downstream. The lower outlet's region then represents the extra area between it and the upper outlet. To obtain each complete overlapping upstream catchment, delineate the outlets separately. A basin tool instead finds drainage areas to edges or sinks without selected pour points.

Check the area and boundary

Watershed area is its included cell count multiplied by cell area. An isolated ArcGIS pour point with accumulation 25000 has 25000 upstream cells plus its own cell. On a 30 m grid, the total is 22500900 m², about 22.50 km². For nested incremental regions, the lower point's full accumulation also includes the upstream region, so it will exceed that lower region's own cell count.

Polygonize the watershed and inspect its edge over hillshade and contours. Drainage divides should follow ridges, and the channel should leave at the outlet. An incremental region also has a channel entry from the upstream outlet.

Check that the DEM contains the full upstream terrain. A boundary that follows the dataset edge can signal truncation; inspect what lies beyond it and extend the DEM when contributing land is missing. Internal NoData gaps also interrupt flow paths and can leave unexpected holes.

Use the watershed as an analysis zone

The boundary can define the area for mean slope, forest-cover share or land use above an intake. Zonal statistics summarize those layers within it. Keep the original DEM, processing settings, outlet location and area checks with the result. Watershed delineation establishes drainage boundaries and areas; rainfall, soil and channel data are needed to estimate runoff or flood levels.

Key Takeaways

  • Snap the outlet to the intended modeled channel and inspect the move.
  • A watershed follows drainage directions and ridge divides.
  • Nested outlet labels can represent incremental drainage areas.
  • Count the outlet cell when converting self-exclusive accumulation to total area.
  • Check boundaries, upstream coverage and internal NoData gaps.
6

Build a defensible suitability model

A siting decision combines hard limits with preferences about terrain, access and land cover. Translate that decision into aligned raster layers, put the factor preferences on a common scale, and combine them into scores. Constraints decide where a site is allowed; weights decide how allowed locations trade off against one another. Connected area checks and sensitivity runs show which candidate sites remain useful when model choices change.

6.1 Turn a siting question into raster criteria

A suitability model evaluates where a proposed use fits best. It turns a siting question into mapped conditions, then combines those conditions across a common grid. Start by making the decision clear enough that every layer has a purpose.

Separate hard limits from preferences

A constraint excludes a location completely. A factor expresses how strongly it is preferred. A protected area can be an exclusion, while proximity to a power line can increase preference by reducing connection distance.

For a solar-farm example, exclude water, protected areas, cells within 200 m of homes and slopes over 10°. Among allowed cells, favor gentler slopes, shorter power-line distances and suitable land cover. Equator-facing aspect can also be a factor: south in the Northern Hemisphere and north in the Southern Hemisphere. These example limits define one model; real project limits come from its decision sources.

Do not let a strong factor compensate for a hard exclusion. A legally unavailable parcel remains excluded even if it has ideal slope and access. This distinction affects how the final rasters must be combined.

Build a layer for each question
Decision questionInput or derived raster
How steep is the ground?Slope from a DEM
Which direction does it face?Aspect, with flat cells separate
How far is the nearest power line?Distance from line features or source cells
Is the land protected?Rasterized protection polygons
Which cover is present?A classified land cover raster

A binary constraint mask uses 1 for allowed and 0 for excluded. Ensure the background actually means allowed land: an unknown protection status is not the same as confirmed absence of protection.

Prepare one analysis grid

Use the same suitable projected CRS, cell size, extent and alignment for every input. A 10 m or 30 m grid can fit a site of several hectares, depending on source quality and the decision. Choose a reference grid deliberately and resample measured surfaces and categorical layers with suitable methods.

Inspect NoData in every criterion. An unknown cell should remain distinguishable from an excluded cell. Mask to the study boundary after ensuring that any distance or terrain calculation has the surrounding data it needs. A road just outside the reporting boundary can still be the nearest road inside it.

Make the model traceable

For each criterion, record its meaning, unit, direction of preference, threshold or score rule, and source. Use relevant regulations, technical guidance, expert knowledge or stakeholder requirements. Record layer dates and accuracy as well; detailed output cannot repair outdated inputs.

Check whether factors measure the same underlying influence. Distance to roads and distance to towns may be closely related where roads connect towns. Giving both large weights can count accessibility twice. Reconsider their roles or reduce their combined influence.

Build the sequence in QGIS Model Designer or ArcGIS Pro ModelBuilder. A saved workflow lets you rerun the analysis when a layer, threshold or weight changes and identify which decision caused a result to change.

Key Takeaways

  • Constraints exclude cells; factors express degrees of preference.
  • Translate each decision criterion into a relevant raster.
  • Use one aligned grid and preserve the difference between unknown and excluded.
  • Document each criterion, source, layer date and scoring choice.
  • Check correlated factors to avoid counting one influence twice.

6.2 Put different criteria on the same score scale

Slope, distance and land cover have different units and meanings. Before adding their preferences, standardize them onto one suitability scale. A common choice is 1–9, with 9 best; 1–5 and 0–1 scales are also used.

Reclassify ranges and categories

Reclassification assigns a new value to each input class or numeric range. For slope, a model can use 0–2° → 9, 2–4° → 7, 4–6° → 5, 6–8° → 3 and 8–10° → 1, excluding slopes above 10°. Define each boundary explicitly. With lower bounds excluded and upper bounds included, exactly 4° belongs to the 2–4° class and scores 7; include zero deliberately in the first class.

A 4.7° cell scores 5. The class records a preference, not a new slope measurement. For land cover, score each category directly: grassland 9, cropland 7, shrubland 5 and forest 2, with water, wetlands and built-up cells excluded. The original numeric code has no order of suitability.

In QGIS use Reclassify by table; in ArcGIS Pro use Reclassify. Check the range-boundary option. QGIS's default is minimum excluded and maximum included. It can retain unmatched input values unless configured to output NoData, so a gap in the table can pass a raw value into a supposed 1–9 score raster.

Set the direction of preference

For distance to a power line, shorter distance is preferred in this model. Assign high scores nearby: 0–500 m → 9, 500–1000 m → 7, 1000–2000 m → 5, 2000–5000 m → 3 and over 5000 m → 1. Define nonoverlapping endpoints, including zero, as for slope.

A larger raw value need not mean better suitability. For another decision, such as distance from a disturbance source, longer distance could be preferred. State the desired direction before writing the score table and test cells at both ends of the range.

Rescale continuously when steps are unhelpful

A linear distance score avoids sudden class jumps:

score=5000−d5000×8+1

For distances from 0 to 5000 m, this gives 9 at zero and 1 at 5000 m. At 1250 m, the remaining fraction is 0.75, giving a score of 7. Handle values outside that range deliberately so they do not create unintended scores below 1. QGIS Raster Calculator can apply the formula; ArcGIS Pro offers Rescale by Function.

Score aspect on a circle

Raw aspect degrees cannot be ranked linearly, because 359° and 1° both face almost north. Use direction classes, or a circular score toward the preferred direction. For south-facing preference:

score=5+4cos⁡(Asp−180∘)

This gives south 9, east and west 5, and north 1. Use degree-aware calculations or convert the angle if a calculator expects radians. In the Southern Hemisphere, use north as the preferred direction. Give flat cells a separate score because they have no aspect.

Key Takeaways

  • Standardize factor preferences before combining different units.
  • Specify whether high or low raw values deserve the higher score.
  • Give every range boundary exactly one home and handle unmatched values.
  • Continuous rescaling avoids jumps at class boundaries.
  • Aspect needs circular scoring or direction classes, with flats separate.

6.3 Rank allowed sites and test the ranking

Overlay combines prepared criteria into a decision map. Boolean overlay answers whether all requirements pass. Weighted overlay ranks cells by preferences. After either method, check that candidate sites have enough connected area and that the result survives reasonable changes to the model.

Combine binary tests

A Boolean overlay uses 1 for a passing condition and 0 for a failing one. Multiplying the layers performs AND: only cells passing every test receive 1. This is transparent, but it treats every passing cell alike and makes a sharp distinction at a threshold. With a 10° maximum, a cell at 10.1° fails even if it meets all other tests.

Calculate a weighted score

A weighted linear combination multiplies each standardized factor by its weight, then adds the products. Use weights totaling 1, or 100%, when interpreting the result on the original score scale.

With slope, power-line distance and land cover weights of 0.5, 0.3 and 0.2, cell A scores 7, 9 and 3:

SA=0.5(7)+0.3(9)+0.2(3)=6.8

Cell B scores 9, 3 and 9, giving 7.2. Cell B wins because its slope and cover gains outweigh its weaker distance score. This compensation is useful for preferences but unsuitable for hard limits. Apply a constraint mask after scoring, keeping excluded cells identifiable as 0 on a positive score scale.

QGIS Raster Calculator applies the weighted formula directly. ArcGIS Pro Weighted Overlay uses integer inputs, influences totaling 100% and integer output; rounding both examples to 7 hides their difference. Weighted Sum supports decimal values and weights without enforcing a total. A Restricted class is one below the scale minimum; NoData remains unknown and propagates from missing inputs.

Choose and interpret weights

Weights express priorities from stakeholders, experts or policy. AHP, the analytic hierarchy process, derives weights from pairwise importance judgments and checks their consistency. Weight choice changes which trade-offs are favored.

Scores rank cells within the chosen model. A score of 8 is higher than 4, but it is not a probability or evidence of being twice as suitable. Present score classes or candidate regions with the model's assumptions and input quality.

Require connected land

Threshold the score into a binary candidate mask, group connected candidate cells, then count each region. At 30 m, a 5 ha minimum needs at least 56 cells: 55 cells cover only 49500 m², while 56 cover 50400 m². Choose 4- or 8-connectivity to match the site requirement, then polygonize the retained regions.

Use GRASS r.clump or ArcGIS Pro Region Group for region IDs. Sieve changes small regions to neighboring values; it can fill unsuitable holes and alter the eligible area, so it cannot replace a simple region-area filter.

Test sensitivity and check on the ground

Change weights or thresholds and compare which sites remain near the top. A site that wins only under one narrow weighting is less stable than one that ranks highly across reasonable runs. Check candidate boundaries and conditions with imagery, field visits or known sites before using the ranking for a decision.

Key Takeaways

  • Boolean AND selects cells that pass every condition.
  • Weighted scores permit trade-offs among standardized factors.
  • Apply hard constraints separately so a high factor score cannot offset exclusion.
  • Score meaning depends on the model; it is not a probability.
  • Filter connected candidate regions by minimum area.
  • Change weights and thresholds to test ranking stability.
  • Check promising sites against imagery, field evidence and input quality.

Raster and Terrain Analysis examples

6 Walkthroughs

1

Prepare a grid for a wetland survey

12 steps
Read raster metadata, size an analysis grid and convert protected features into usable cells.
  1. 1
    IntroductionStart with the survey area

    A wetland survey combines elevation, land cover and protection boundaries. Every cell must refer to the same ground location before these layers can be compared. Start by checking what the stored values mean, including which cells are NoData, then choose the analysis grid, matching cell size and alignment, and convert the vector boundary onto it, which is called to rasterize it. Skipped checks quietly distort the results. The final map will inherit these preparation choices.

  2. 2
    ExplanationRead a value before reading a color

    The elevation layer stores measured heights, while the cover layer stores category codes. In the cover legend, code 6 means wetland. That number is a label; doubling it does not mean twice as much wetland. Check the band and data type as well as the legend so the quantity used in an expression is the one you intend.

  3. 3
    ExampleFind the missing cells

    The DEM contains heights near 150 m and a small group of cells stored as −9999. Metadata identifies −9999 as NoData, so the group is a void. A separate cell at 0 m remains a valid height. If the NoData declaration were lost, the void would become a false deep pit and distort statistics.

  4. 4
    ChallengeChoose a useful cover calculation

    The survey asks how much wetland is present. Should you average the land cover codes or count cells labeled 6? Explain your choice.

    ---reveal---

    Count cells labeled 6, then multiply by cell area. The codes identify classes and cannot be averaged to measure wetland quantity. The count becomes an area only after the grid’s ground cell area is known.

  5. 5
    ExampleSize the output grid

    The survey rectangle is 60 km wide and 40 km high. A proposed 20 m grid has 3000 columns and 2000 rows. Multiply those dimensions to obtain 6 million cells. With one 32-bit floating-point band at 4 bytes per cell, the values need about 24 MB before compression. Extra bands would add their own stored values.

  6. 6
    Key InsightSee the cost of finer cells

    Changing from 20 m to 10 m doubles both dimensions of the same rectangle. The count rises from 6 million to 24 million cells, and one floating-point band needs about 96 MB before compression. This larger output carries more cells, but resampling alone cannot reveal wetland boundaries absent from the original observations.

  7. 7
    TipAlign with a reference

    Use a suitable projected CRS in meters and a chosen reference grid. Match cell size and alignment, then set the output extent and mask. Use nearest neighbor for the cover codes and bilinear for a continuous elevation surface. Equal cell size is insufficient if one grid starts half a cell away from the other.

  8. 8
    ChallengeChoose the honest preparation

    The available land cover was measured at 20 m. Someone resamples it to 2 m and claims narrow channels are now mapped more accurately. What is wrong with that claim?

    ---reveal---

    The new grid estimates more cells from the same source. It does not add channel observations or recover boundaries the 20 m data missed. Finer source measurements are needed to support that claimed detail.

  9. 9
    ExplanationPut protection on the grid

    Rasterize the protection polygons with a fixed value of 1 and a background of 0. A center assignment includes a cell when its center lies inside the polygon; all touched includes every cell touched by it. Choose the rule deliberately, since the boundary cells change the represented protected area.

  10. 10
    ExampleKeep region connections explicit

    After analysis, the survey may report connected wetland regions as polygons. Two wetland cells meeting only at a corner remain separate with 4-connectivity and join with 8-connectivity. Select the rule that matches the reporting purpose, group the cells and polygonize their class values. The initial vector edges follow the raster cells.

  11. 11
    ChallengeExplain a changed reported area

    The same protection polygon covers 31 cells under a center rule and 39 under all touched on the 20 m reference grid. Why do the reported areas differ?

    ---reveal---

    Each cell is 400 m², so the areas are 12400 m² and 15600 m². All touched includes additional boundary cells; the source polygon has not changed. This is an effect of whole-cell assignment, not evidence of a changed protected boundary.

  12. 12
    RecapCheck the prepared inputs

    Before calculation, identify the quantity in each band, confirm NoData and storage type, and verify the grid position. Cell size sets both detail and cell area. Conversion rules then decide which features occupy those cells. These checks explain why a usable overlay begins with metadata and grid settings, even when the input maps look aligned.

2

Choose a calculation for a habitat question

10 steps
Use binary tests, moving windows and fixed-zone summaries to answer different parts of a habitat survey.

Save this lesson to follow every Walkthrough step by step.

  1. 1
    IntroductionDecide what each answer needs
  2. 2
    ExampleMake the first binary test
  3. 3
    ExampleRequire the second condition
  4. 4
    TipKeep unknown cells visible
  5. 5
    ChallengeRead the sum and the product
  6. 6
    ExplanationMove a neighborhood across terrain
  7. 7
    ExampleChange from neighborhoods to zones
  8. 8
    ConnectionFind distance beyond a window
  9. 9
    ChallengePlan the two habitat summaries
  10. 10
    RecapMatch the question to the input group
3

Build an estimate and test it fairly

11 steps
Calculate an IDW prediction, compare alternative surface behavior and evaluate withheld-point errors.

Save this lesson to follow every Walkthrough step by step.

  1. 1
    IntroductionTurn observations into predictions
  2. 2
    ExplanationGive nearer points more influence
  3. 3
    ExampleSimplify the weight ratios
  4. 4
    ExampleNormalize the weighted total
  5. 5
    ChallengePredict a power change
  6. 6
    ExplanationChoose the surface behavior
  7. 7
    Key InsightAsk what an uncertainty surface means
  8. 8
    ExampleWithhold before predicting
  9. 9
    ExampleSeparate bias from error size
  10. 10
    ChallengeJudge a polished map
  11. 11
    RecapKeep estimates tied to evidence
4

Read a small hill from its elevation grid

16 steps
Check an elevation source, calculate Horn slope and aspect, and interpret a hillshade and contours.

Save this lesson to follow every Walkthrough step by step.

  1. 1
    IntroductionBuild several views of one surface
  2. 2
    ExplanationChoose ground or object tops
  3. 3
    ExampleCheck a height difference
  4. 4
    ChallengeDiagnose a false change
  5. 5
    ExplanationDistinguish degrees from percent
  6. 6
    ExampleRead the weighted neighbors
  7. 7
    ExampleCombine the two rates
  8. 8
    ChallengeCheck a threshold unit
  9. 9
    ExampleInfer the downhill quadrant
  10. 10
    Key InsightCross north without crossing the landscape
  11. 11
    ChallengeRead north and flats separately
  12. 12
    ExplanationIlluminate without changing the hill
  13. 13
    ExampleRead lines of equal height
  14. 14
    TipUse shade to inspect data quality
  15. 15
    ChallengeResolve an apparent ridge
  16. 16
    RecapUse terrain products for their own questions
5

Delineate the drainage above a sampling station

14 steps
Prepare the DEM, compare D8 paths, extract channels and check a watershed above a snapped outlet.

Save this lesson to follow every Walkthrough step by step.

  1. 1
    IntroductionFollow the water path upstream
  2. 2
    ExplanationInspect a depression before changing it
  3. 3
    ExampleCompare two possible exits
  4. 4
    ExampleAssign the steepest route
  5. 5
    ChallengeChoose compatible routing settings
  6. 6
    ExplanationCount contributions, then area
  7. 7
    ExampleSet a channel-area threshold
  8. 8
    ChallengeExplain a changed stream network
  9. 9
    ConnectionDescribe branches without estimating discharge
  10. 10
    ExamplePut the station on the intended stream
  11. 11
    ExampleCheck the returned area
  12. 12
    TipLook beyond the polygon edge
  13. 13
    ChallengeDiagnose a tiny catchment
  14. 14
    RecapTrace each result to its inputs
6

Compare sites with a transparent scoring model

13 steps
Prepare criteria, standardize preferences, calculate scores and test the connected candidate sites.

Save this lesson to follow every Walkthrough step by step.

  1. 1
    IntroductionTurn a decision into mapped rules
  2. 2
    ExplanationSeparate allowed land from preferred land
  3. 3
    TipPrepare and document the layers
  4. 4
    ChallengeChoose a factor’s role
  5. 5
    ExplanationSet one meaning for high scores
  6. 6
    ExamplePlace a boundary value once
  7. 7
    ChallengeDetect a reversed preference
  8. 8
    ExampleCalculate the first candidate score
  9. 9
    ExampleCompare the second candidate
  10. 10
    Key InsightKeep enough connected land
  11. 11
    ExampleVary a priority and compare again
  12. 12
    ChallengeInterpret a high score responsibly
  13. 13
    RecapReport candidates with their model choices

Raster and Terrain Analysis practice questions

50 Practice Questions in 5 sets

Set 1: Apply terrain and scoring conventions10 Practice Questions

Question 1 of 10

A raster’s missing elevation code −32768 is not declared as NoData. What is the likely effect on its calculated mean elevation?
  1. The software necessarily omits all negative elevations.
  2. The stored code can pull the mean sharply downward.
  3. The stored code automatically becomes a valid sea-level zero.
  4. The mean necessarily remains unchanged if colors look normal.
Show answerHide answer
Answer: B
Without the NoData declaration, the negative code can enter the mean as a real elevation and lower it sharply. Software cannot infer that every negative elevation is missing, because genuine terrain can lie below the height datum. A normal-looking color display does not repair the metadata.

Question 2 of 10

Two rasters share a projected CRS and 25 m cell size, but one is offset 12.5 m east. What preparation is needed for a cell-by-cell overlay?
  1. Give both legends the same colors.
  2. Double the cell values of one raster.
  3. Save both rasters in one file format.
  4. Resample onto a shared aligned grid.
Show answerHide answer
Answer: D
The offset places cell centers and edges at different locations, so matching size and CRS are not enough. Resample to a chosen reference alignment with a method suited to each data type. Matching colors or file formats changes neither the grid origin nor the ground cells being compared.

Question 3 of 10

A local calculation adds a valid value of 12 to NoData. What is the usual output at that location?
  1. NoData
  2. 12
  3. 0
  4. −9987
Show answerHide answer
Answer: A
NoData usually propagates because the missing input prevents a valid sum from being established. Treating it as zero would assert a value that was never measured. A stored sentinel such as −9999 is metadata for missingness, not a number to include in the arithmetic.

Question 4 of 10

Withheld-point prediction errors are −4, 0 and 4 m. What do mean error and RMSE show?
  1. Zero bias in the mean and zero RMSE.
  2. Mean error 2.67 m and RMSE about 3.27 m.
  3. Zero bias in the mean, but RMSE about 3.27 m.
  4. Mean error 4 m and RMSE exactly 4 m.
Show answerHide answer
Answer: C
The signed errors sum to zero, so mean error is zero. Their squared values total 32; dividing by three and taking the square root gives RMSE about 3.27 m. Zero mean error reflects sign cancellation here, not perfect predictions at all three test points.

Question 5 of 10

Which elevation surface is designed to represent bare ground beneath trees and buildings?
  1. A digital surface model.
  2. A digital terrain model.
  3. A hillshade display raster.
  4. A normalized object-height model.
Show answerHide answer
Answer: B
A digital terrain model represents bare-ground height, while a digital surface model includes upper surfaces such as roofs and vegetation. A normalized object-height model is a difference above ground, not the ground’s own elevation. Check metadata because the general name DEM can be used differently.

Question 6 of 10

What does a smaller horizontal gap between contours of the same fixed elevation interval indicate?
  1. Lower elevation
  2. A finer interval
  3. Steeper ground
  4. A new sun angle
Show answerHide answer
Answer: C
Equal height changes occur over less horizontal distance where contours are closer, so the ground is steeper. Close lines do not establish whether the place is high or low overall; their elevation labels do that. The interval is fixed in this question, so changing it cannot explain the spacing.

Question 7 of 10

A stream model currently selects accumulation greater than 3200 upstream cells on a 25 m grid. It is rerun at 10 m with the same upstream-area criterion. What should the new count cutoff be?
  1. Greater than 8000 cells
  2. Greater than 1280 cells
  3. Greater than 3200 cells
  4. Greater than 20000 cells
Show answerHide answer
Answer: D
The original cutoff represents 3200×625 = 2000000 m². Each new cell covers 100 m², so the equivalent cutoff is 20000 upstream cells, retaining the strict greater-than comparison. Scaling by the side-length ratio alone gives 8000 and misses that cell area changes in two dimensions.

Question 8 of 10

A snapped outlet unexpectedly jumps from a small tributary onto a nearby main river. What change should be investigated first?
  1. Reduce and inspect the snap search distance.
  2. Raise the stream threshold to hide the tributary.
  3. Average both channels’ elevations first.
  4. Edit the watershed legend, not the outlet.
Show answerHide answer
Answer: A
A wide snapping search can select the main river because it has the larger accumulation. Reassess the distance and inspect the intended tributary location. Raising the extraction threshold may remove the tributary from display, but it does not correct an outlet placed on the wrong modeled flow path.

Question 9 of 10

A reclassification table uses min < value ≤ max. Slope ranges 0–3° and 3–7° score 9 and 5. What score does exactly 3° receive?
  1. 5
  2. 7
  3. 9
  4. NoData
Show answerHide answer
Answer: C
Exactly 3° is included in the upper boundary of the 0–3° range, so it receives 9. It is excluded from the lower boundary of the next range. Choosing 5 treats both lower and upper bounds as inclusive and ignores the stated comparison rule.

Question 10 of 10

A model weights slope 0.6 and access 0.4 on a 1–9 scale. Allowed cell P scores 5 and 9; allowed Q scores 8 and 3; excluded R scores 9 and 9. Which cell ranks highest among eligible cells?
  1. Q, with a score of 6.0
  2. P, with a score of 6.6
  3. R, with a score of 9.0
  4. P and Q, tied at 7.0
Show answerHide answer
Answer: B
P totals 0.6×5 + 0.4×9 = 6.6, while Q totals 6.0. R’s score would be 9, but the constraint makes it ineligible. Selecting R lets a strong preference total override a hard exclusion; compare weighted scores only after keeping that eligibility rule intact.
Set 2: Read grids and choose useful operations10 Practice Questions

Save this lesson to see every answer and practice every set.

Question 1 of 10

A land cover legend assigns forest code 8 and grassland code 4. Why is their arithmetic mean not a useful cover class?
  1. The mean must be rounded to a whole code.
  2. The codes need equal cell counts to average.
  3. The numbers label classes, not quantities.
  4. Resampling turns the codes into quantities.
Show answerHide answer

Save this lesson to see this answer.

Question 2 of 10

A single-band elevation raster covers 18 km by 12 km with 6 m square cells. Each value needs 4 bytes. How much storage do its values require before compression?
  1. 24 MB
  2. 12 MB
  3. 6 MB
  4. 96 MB
Show answerHide answer

Save this lesson to see this answer.

Question 3 of 10

How does changing polygon rasterization from a center rule to all touched affect boundary cells?
  1. It includes cells only when most of their area lies inside.
  2. It includes only cells whose centers lie inside the polygon.
  3. It includes only cells fully contained within the polygon.
  4. It includes cells touched even when their centers lie outside.
Show answerHide answer

Save this lesson to see this answer.

Question 4 of 10

A cell has valid binary test results 1, 0 and 1. What does their product indicate?
  1. The cell passes AND with two passing tests.
  2. The cell fails the combined AND condition.
  3. The cell has NoData in the second criterion.
  4. The cell passes AND if any single test passes.
Show answerHide answer

Save this lesson to see this answer.

Question 5 of 10

A project needs maximum elevation separately for each named parcel. What type of operation fits this question?
  1. Focal statistics using a moving window.
  2. Zonal statistics using parcel boundaries.
  3. Local arithmetic on parcel-center cells.
  4. Global distance to the nearest parcel edge.
Show answerHide answer

Save this lesson to see this answer.

Question 6 of 10

Two observations are 60 and 180 m from an IDW estimate. With power 2, what is the nearer observation’s weight relative to the farther one?
  1. 3 times as large
  2. 6 times as large
  3. 1/9 as large
  4. 9 times as large
Show answerHide answer

Save this lesson to see this answer.

Question 7 of 10

Ground rises 7 m across a horizontal run of 35 m. What is its slope in percent rise?
  1. 20%
  2. 11.3%
  3. 5%
  4. 700%
Show answerHide answer

Save this lesson to see this answer.

Question 8 of 10

A sloping cell has aspect 225°. Which direction does the ground fall?
  1. Northeast
  2. Southeast
  3. Southwest
  4. Northwest
Show answerHide answer

Save this lesson to see this answer.

Question 9 of 10

An isolated one-cell DEM depression is 91 m high, and its lowest spill elevation is 96 m. How much does filling raise it?
  1. 0 m
  2. 96 m
  3. 91 m
  4. 5 m
Show answerHide answer

Save this lesson to see this answer.

Question 10 of 10

A siting model must exclude protected land completely but prefers gentle slopes. What roles should those criteria have?
  1. Protection is a constraint; slope is a factor.
  2. Protection is a factor; slope is a constraint.
  3. Both are factors with different preference weights.
  4. Both are constraints with identical passing scores.
Show answerHide answer

Save this lesson to see this answer.

Set 3: Connect methods and diagnose results10 Practice Questions

Save this lesson to see every answer and practice every set.

Question 1 of 10

Three suitable cells occupy positions (row 1, column 1), (row 2, column 2) and (row 2, column 3). How many regions form under 4-connectivity and 8-connectivity?
  1. One with 4-connectivity; one with 8-connectivity.
  2. Three with 4-connectivity; two with 8-connectivity.
  3. Two with 4-connectivity; two with 8-connectivity.
  4. Two with 4-connectivity; one with 8-connectivity.
Show answerHide answer

Save this lesson to see this answer.

Question 2 of 10

What type of operation measures elevation variation in a 5×5 moving window around each cell?
  1. Zonal range
  2. Focal range
  3. Local difference
  4. Global distance
Show answerHide answer

Save this lesson to see this answer.

Question 3 of 10

Two gauges measure 18 and 42 mm at distances 80 and 160 m from a location. What does IDW with power 2 estimate there?
  1. 30.0 mm
  2. 26.0 mm
  3. 22.8 mm
  4. 37.2 mm
Show answerHide answer

Save this lesson to see this answer.

Question 4 of 10

Spline has lower RMSE than IDW, but the methods were tested on different withheld stations. Spline also predicts negative rainfall between positive observations. What is needed before selecting a surface?
  1. Compare on the same test stations and inspect physical plausibility.
  2. Select spline because its smaller reported RMSE settles the comparison.
  3. Select spline because exact fitting prevents between-point errors.
  4. Select IDW because positive samples guarantee lower validation RMSE.
Show answerHide answer

Save this lesson to see this answer.

Question 5 of 10

A site limit is 30% slope. A valid cell has slope 20°. Does it meet the limit?
  1. Yes; 20 is smaller than 30.
  2. Yes; 20° is exactly 20%.
  3. No; 30% is exactly 30°.
  4. No; 20° is about 36.4%.
Show answerHide answer

Save this lesson to see this answer.

Question 6 of 10

What is the smaller angular separation between aspects 352° and 8°?
  1. 344°
  2. 180°
  3. 16°
  4. 8°
Show answerHide answer

Save this lesson to see this answer.

Question 7 of 10

A 120 m center on a 12 m grid has east 116 m, southeast 114 m and south 115 m; the remaining neighbors are higher. What ArcGIS D8 code should it receive?
  1. 1
  2. 4
  3. 2
  4. 8
Show answerHide answer

Save this lesson to see this answer.

Question 8 of 10

Two selected outlets lie along the same river, one upstream of the other. In one simultaneous watershed labeling, what does the lower outlet’s region represent?
  1. The additional area between the selected outlets.
  2. The complete upstream catchment including the upper region.
  3. A distance buffer around the lower part of the river.
  4. The upstream region with the upper outlet cell removed.
Show answerHide answer

Save this lesson to see this answer.

Question 9 of 10

A suitable region has 47 cells on a 25 m grid. The project requires 3 ha of connected land. Does it qualify?
  1. Yes; its area rounds up to 3 ha.
  2. No; its area is 2.9375 ha.
  3. Yes; its area is 29.375 ha.
  4. No; its area is only 0.1175 ha.
Show answerHide answer

Save this lesson to see this answer.

Question 10 of 10

Two allowed sites score (9, 3) and (5, 8) on slope and access. Slope weight changes from 0.4 to 0.7, with the rest on access. How does the ranking change?
  1. Slope-favored site leads under both weightings.
  2. Access-favored site leads under both weightings.
  3. The sites tie under both normalized weightings.
  4. Access-favored site leads first; slope-favored site leads after.
Show answerHide answer

Save this lesson to see this answer.

Set 4: Audit a complete raster workflow10 Practice Questions

Save this lesson to see every answer and practice every set.

Question 1 of 10

A 2.4 km square class raster uses 30 m cells. An analyst resamples it to 10 m with bilinear interpolation and claims more measured class detail. What output count and preparation judgment are correct?
  1. 57600 cells; use nearest neighbor; no new observations.
  2. 57600 cells; keep bilinear; the finer detail is measured.
  3. 19200 cells; use nearest neighbor; new boundaries are measured.
  4. 6400 cells; keep bilinear; the source accuracy is unchanged.
Show answerHide answer

Save this lesson to see this answer.

Question 2 of 10

A 15 m rasterized parcel contains 132 cells. What area should be reported from those cells?
  1. 1.98 ha
  2. 29.7 ha
  3. 2.97 ha
  4. 0.198 ha
Show answerHide answer

Save this lesson to see this answer.

Question 3 of 10

A change map is calculated as newer elevation minus older elevation, with compatible inputs. What does a value of −1.8 m mean?
  1. The newer surface is 1.8 m higher.
  2. The newer surface is 1.8 m lower.
  3. The older surface is 1.8 m above datum.
  4. The newer surface must be NoData.
Show answerHide answer

Save this lesson to see this answer.

Question 4 of 10

A single ArcGIS outlet has unweighted D8 accumulation 14999 on a 20 m grid. Its watershed mask contains 15000 cells, but one boundary follows the DEM edge across an upstream valley. What does this establish?
  1. The matching count guarantees the complete real-world catchment.
  2. The extra cell proves that the mask incorrectly includes the outlet.
  3. The edge boundary proves that every included cell drains elsewhere.
  4. The internal count agrees, but upstream completeness still needs checking.
Show answerHide answer

Save this lesson to see this answer.

Question 5 of 10

A survey maps a sharp ridge and provides points along it. Which interpolation setup explicitly keeps the triangulation on the ridge?
  1. A TIN built only from points off the ridge.
  2. An unconstrained spline for smoothness.
  3. A TIN constrained by the ridge breakline.
  4. An IDW surface with more output cells.
Show answerHide answer

Save this lesson to see this answer.

Question 6 of 10

Compatible DSM and DTM cells contain 184.6 m and 162.1 m. What does their difference represent?
  1. An object height of 22.5 m above ground.
  2. A ground elevation of 22.5 m above the datum.
  3. An object elevation of 346.7 m above ground.
  4. A terrain drop of 22.5 m between neighboring cells.
Show answerHide answer

Save this lesson to see this answer.

Question 7 of 10

A planner changes hillshade azimuth and finds that some formerly bright slopes become dark. Elevations, contours and slope remain unchanged. What can be inferred about a claim that these slopes became steeper?
  1. The darkness establishes a greater slope under every light.
  2. The contours must change before azimuth can change brightness.
  3. The new hillshade directly measures a decrease in ground elevation.
  4. The claim confuses changed illumination with unchanged terrain.
Show answerHide answer

Save this lesson to see this answer.

Question 8 of 10

A second-order Strahler stream joins a fourth-order stream. What is the downstream order?
  1. 6
  2. 4
  3. 5
  4. 2
Show answerHide answer

Save this lesson to see this answer.

Question 9 of 10

Road and town proximity are strongly related access factors weighted 0.35 each; slope has weight 0.30. The analyst removes town proximity to avoid repetition, keeping the road-to-slope importance ratio. What normalized weights remain?
  1. Road 7/13; slope 6/13.
  2. Road 0.35; slope 0.30.
  3. Road 0.70; slope 0.30.
  4. Road 0.50; slope 0.50.
Show answerHide answer

Save this lesson to see this answer.

Question 10 of 10

A 20 m candidate mask has one connected region of 72 suitable cells around a 5-cell unsuitable hole. The minimum is 3 ha. Sieve fills the hole and the analyst reports a qualifying site. Why is that conclusion invalid?
  1. The original region qualified because rounded area is 3 ha.
  2. Sieve only changes IDs, so its cell count cannot increase.
  3. The original has 2.88 ha; filling excluded cells changes eligibility.
  4. The original has 28.8 ha; the area conversion is too small.
Show answerHide answer

Save this lesson to see this answer.

Set 5: Transfer the methods to new decisions10 Practice Questions

Save this lesson to see every answer and practice every set.

Question 1 of 10

A calculated index is 0.38 but is saved in an integer raster. Why might the stored output become 0?
  1. The output must have become NoData during georeferencing.
  2. Integer storage cannot preserve the decimal fraction.
  3. The index must have been calculated from categorical codes.
  4. The number proves that the source observations were all zero.
Show answerHide answer

Save this lesson to see this answer.

Question 2 of 10

A 3×3 elevation window contains eight valid values totaling 816 m and one NoData corner. A focal mean tool ignores NoData. What should the center output be, and why?
  1. 102 m, using the eight available observations.
  2. 90.7 m, dividing by every position in the window.
  3. NoData, because every focal statistic must reject gaps.
  4. 816 m, because ignoring a cell preserves the total.
Show answerHide answer

Save this lesson to see this answer.

Question 3 of 10

An IDW estimate uses values 14, 26 and 38 m at distances 40, 80 and 80 m. What prediction results from power 2, and can increasing that power make it exceed 38 m?
  1. 26 m; yes, higher power can create an overshoot.
  2. 22 m; no, because the range is fixed by the cell size.
  3. 20 m; yes, once the nearest point dominates completely.
  4. 20 m; no, it remains within the contributing range.
Show answerHide answer

Save this lesson to see this answer.

Question 4 of 10

A drainage study has a fine DSM with roofs and trees and a coarser DTM. Why might selecting the fine DSM solely by cell size be a poor choice?
  1. Its smaller cells necessarily contain less vertical information.
  2. Its tree heights become bare ground automatically after reprojection.
  3. Its surface objects can create false ground barriers and slopes.
  4. Its roofs cannot affect any calculation that reads neighboring cells.
Show answerHide answer

Save this lesson to see this answer.

Question 5 of 10

Horn’s window has rows 90, 94, 98 / 91, 95, 99 / 92, 96, 100 m on a 10 m grid. What slope results?
  1. About 22.4°
  2. About 21.8°
  3. About 5.7°
  4. About 41.2°
Show answerHide answer

Save this lesson to see this answer.

Question 6 of 10

A solar model in the Southern Hemisphere uses scores that rise steadily from aspect 0° to 360°, then assigns flat cells the top score as if they faced north. What correction addresses both problems?
  1. Keep a linear scale but reverse its direction from 360° to 0°.
  2. Use circular preference toward north and score flats separately.
  3. Treat 180° as the preferred direction and merge flats with north.
  4. Average raw aspect with slope so flat cells receive valid bearings.
Show answerHide answer

Save this lesson to see this answer.

Question 7 of 10

A DEM produces crowded jagged contours when a very small interval is chosen. What adjustment addresses the display and noise while acknowledging its cost?
  1. Change hillshade light alone and keep all contour values fixed.
  2. Resample to tiny cells and treat new bends as measured detail.
  3. Choose a useful larger interval and consider smoothing the DEM.
  4. Polygonize every decimal elevation before drawing the contours.
Show answerHide answer

Save this lesson to see this answer.

Question 8 of 10

On a 20 m grid, a 236 m cell has east 229 m, southeast 225 m and south 230 m; every other neighbor is higher. An analyst picks east after comparing only direct neighbors. What ArcGIS D8 code should the cell receive?
  1. 1
  2. 4
  3. 8
  4. 2
Show answerHide answer

Save this lesson to see this answer.

Question 9 of 10

On a 10 m grid, a GRASS single-flow accumulation cell has value 7201 including itself. What area does it represent, and what ArcGIS-style upstream count is equivalent for the same contributors?
  1. 0.7200 km² and 7201 upstream cells.
  2. 0.7201 km² and 7200 upstream cells.
  3. 0.07201 km² and 7200 upstream cells.
  4. 0.7202 km² and 7202 upstream cells.
Show answerHide answer

Save this lesson to see this answer.

Question 10 of 10

A distance factor rescales 0–4000 m to scores 9–1, favoring shorter connections with a linear rule. What score does 1500 m receive?
  1. 6
  2. 4
  3. 5
  4. 3
Show answerHide answer

Save this lesson to see this answer.

Stuck on your own question? Homework Help

Key Terms

83 Key Terms, each with its definition

A

AHP
AHP, the analytic hierarchy process, derives criterion weights from pairwise importance judgments and checks their consistency.
Experts compare slope with access and land cover before using AHP to establish relative weights.
Aspect
Aspect is the direction of steepest descent, expressed as compass degrees clockwise from north for a sloping surface.
An aspect of 90° means the ground falls toward the east, regardless of how steep it is.
Azimuth
An azimuth is a compass bearing measured clockwise from north; in hillshade it specifies the direction the light comes from.
Changing light azimuth from northwest to southeast can make the relief appear inverted.

B

Band
A band is one layer of values within a raster, sharing the same cell locations as the raster’s other bands.
A vegetation calculation reads the red and near-infrared bands from the same satellite image.
Bilinear interpolation
Bilinear interpolation estimates a new value from a distance-weighted combination of the four nearest raster cells.
Bilinear resampling smooths elevation changes while producing decimals between original heights.
Binary mask
A binary mask stores two values, often 1 and 0, to distinguish included cells from excluded cells in an analysis.
Multiplying a positive suitability score by an allowed-land mask gives excluded locations zero.
Boolean overlay
Boolean overlay combines true/false criterion rasters with logical operations, such as AND to require every condition.
Multiplying three binary tests retains only cells that pass all three modeled requirements.
Breakline
A breakline constrains a triangulated surface to follow a sharp terrain feature, such as a ridge or stream channel.
Surveyed ridge lines keep triangle edges on the ridge instead of cutting across its change in slope.

C

Cell assignment rule
A cell assignment rule determines which raster cells receive a feature’s value, for example by cell center or contact.
An all-touched rule marks more boundary cells than a center rule when rasterizing a narrow parcel.
Cell size
Cell size is the ground length represented by a cell side, controlling spatial resolution and the number of cells in an extent.
Changing a fixed study area from 40 m to 20 m cells quadruples its number of raster cells.
Circular data
Circular data describe positions on a repeating angular scale, where values near opposite numeric ends can be close together.
The 358° and 2° aspects differ by 4°, so their numeric separation cannot be treated linearly.
Conditional expression
A conditional expression chooses an output value according to whether a test is true or false at each valid location.
A raster calculator assigns 1 below the slope limit and 0 where the valid slope exceeds it.
Connectivity
Connectivity defines which neighboring cells belong to one region: shared edges under 4-connectivity, also corners under 8.
Two diagonal habitat cells form one region with 8-connectivity but two with 4-connectivity.
Constraint
A constraint is a hard rule that excludes a location from consideration, regardless of its scores on preferred factors.
A protected-area mask removes cells even when their slope and connection distance are favorable.
Continuous raster
A continuous raster stores a measured or estimated quantity that can vary across space, such as height or temperature.
An elevation raster can be averaged within a catchment because the values represent heights.
Continuous rescaling
Continuous rescaling transforms input values smoothly onto a score scale, avoiding abrupt jumps at class boundaries.
A linear distance rule gives slightly different scores to cells on either side of a former class limit.
Contour
A contour is a line connecting places of equal elevation, commonly drawn at a fixed vertical interval across a DEM.
Closely spaced 10 m contours show steep ground where height changes rapidly across the map.
Contributing area
The contributing area is the land area draining to a location, derived from contributing cell counts and cell area.
A self-exclusive upstream count needs the outlet cell added when calculating the full drainage footprint.
Criterion
A criterion is a mapped condition used to evaluate a decision, expressed as an exclusion constraint or preference factor.
The planning team records a source and a reason for each criterion before creating its raster layer.
Cross-validation
Cross-validation tests prediction by withholding observations from model fitting, predicting them and comparing with measurements.
Leave-one-out validation removes each gauge before estimating its rainfall from the remaining gauges.

D

D8
D8 is a single-flow routing method that sends each cell’s flow to its steepest downhill neighbor among eight directions.
The D8 choice compares drop per distance, so the lowest diagonal neighbor need not receive the flow.
Data type
A data type defines the range and form of values that storage can hold, including whole numbers or decimal values.
A slope result saved as floating point retains decimal angles that an integer output would lose.
DEM
A DEM, or digital elevation model, stores surface heights relative to a vertical datum; its exact surface meaning needs metadata.
The metadata identifies whether a downloaded DEM represents ground or includes trees and roofs.
Direction of preference
The direction of preference specifies whether larger, smaller or particular directional values deserve higher suitability.
Shorter power-line distance scores higher, while a different criterion may favor greater separation.
Discrete raster
A discrete raster stores separate categories as class codes whose numeric size does not measure a quantity.
A soil raster uses code 6 for clay, but that does not mean twice as much soil as code 3.
Drainage divide
A drainage divide is a boundary along high ground that separates land draining toward different outlets or basins.
The delineated polygon is checked against ridges on hillshade to see whether its divide is plausible.
DSM
A DSM, or digital surface model, represents upper surface elevations, including vegetation and built structures.
Subtracting a matching DTM from a DSM estimates the height of objects above the ground.
DTM
A DTM, or digital terrain model, represents bare-ground elevations with buildings, vegetation and other surface objects removed.
A drainage workflow uses a DTM so building tops do not appear as hills within the terrain.

E

Elevation rate
An elevation rate describes height change per horizontal distance along a specified direction across the ground.
Two perpendicular elevation rates combine to give the magnitude of the steepest local slope.
Euclidean distance
Euclidean distance is straight-line distance; a raster distance surface commonly measures between cell centers and source centers.
A cell one diagonal step from a source on a 20 m grid is about 28.3 m from its center.
Extent
The extent is the rectangular area covered by a raster, described by its minimum and maximum x and y coordinates.
Clipping the elevation grid reduces its extent while leaving the retained cell size unchanged.
Extrapolation
Extrapolation estimates values beyond the area enclosed by the samples, where support from surrounding observations is absent.
Predictions far outside the outer wells need more scrutiny than predictions among the wells.

F

Factor
A factor expresses degrees of preference among locations, allowing trade-offs when standardized scores are combined.
Gentler slope receives a higher preference score in a model favoring lower construction difficulty.
Flat aspect class
A flat aspect class separates cells without a downhill direction from valid compass bearings such as north at zero degrees.
The map legend keeps flat ground apart from north-facing slopes even if a tool uses zero for flats.
Flow accumulation
Flow accumulation sums upstream contributions along modeled direction paths, counting cells when no weight raster is supplied.
Large accumulation values trace valleys, while cells near drainage divides have small values.
Flow direction raster
A flow direction raster encodes where each cell sends flow, using direction codes that depend on the generating tool.
An ArcGIS direction value of 4 means south, while another tool may use a different code for south.
Focal operation
A focal operation calculates each output from a neighborhood that moves with the cell, such as a 3×3 elevation window.
A focal mean reduces isolated DEM noise before contour lines are extracted from the surface.
Focal range
The focal range is the maximum minus the minimum value within a moving window, describing local variation or relief.
A 12 m focal elevation range identifies stronger local relief than a neighboring 2 m range.

G

Global operation
A global operation can depend on cells throughout the raster when calculating a value, as in distance to a source.
A distant road can determine the distance assigned to a cell with no roads in its local window.
Grid alignment
Grid alignment describes whether cell edges and centers occupy matching positions in rasters intended for cell-by-cell analysis.
Two 10 m layers offset by 5 m need alignment even though their projections and cell sizes agree.

H

Hillshade
A hillshade is a grayscale display of terrain illumination under a selected light position, derived from slope and aspect.
An analyst overlays transparent elevation colors on hillshade to reveal valleys and tile seams.
Horn’s method
Horn’s method estimates slope from weighted east–west and north–south height changes across a 3×3 raster window.
Horn’s calculation double-weights the side neighbors while leaving out the center elevation.

I

Inverse distance weighting
Inverse distance weighting estimates a location as a weighted average of sample values, with influence decreasing with distance.
An IDW rainfall surface gives a nearby gauge more influence than an otherwise similar distant one.

K

Kriging
Kriging predicts values with weights from a fitted spatial-dependence model and provides model-based prediction uncertainty.
A kriging study maps both estimated groundwater height and the standard error of those estimates.

L

Lidar
Lidar measures distances with laser pulses, producing point returns that can be classified to build detailed ground models.
Ground-classified airborne lidar points are used to create a fine-resolution terrain grid.
Light altitude
Light altitude is the angle of an illumination source above the horizon, controlling how directly terrain is lit.
A 45° light altitude places the simulated light halfway between the horizon and directly overhead.
Local operation
A local operation computes an output cell from input values at that same location, without reading a neighborhood.
A cover test and a slope test are multiplied at each location to select cells meeting both.

M

Map algebra
Map algebra expresses raster transformations and combinations as operations on spatially aligned layers of cell values.
An analyst subtracts last year’s ground elevations from this year’s to map surface change.

N

Natural neighbor interpolation
Natural neighbor interpolation weights surrounding samples through Voronoi areas and stays inside the sampled value range.
A natural neighbor surface estimates among survey points but leaves locations outside their outer boundary.
Nearest neighbor resampling
Nearest neighbor resampling copies the closest input cell’s value to an output cell, preserving existing category codes.
The land cover layer is aligned with nearest neighbor so interpolation cannot invent a class code.
NoData
NoData is a raster designation for a cell without a valid value, kept distinct from valid measurements such as zero.
A sensor gap remains NoData while a measured sea-level cell can legitimately contain 0 m.
Northness
Northness is the cosine component of aspect, used to express north–south orientation without the 0°/360° break.
A directional summary can average northness with eastness instead of averaging raw bearings.

P

Percent rise
Percent rise is vertical rise divided by horizontal run and multiplied by 100, so it can exceed 100 on steep terrain.
A rise of 3 m across 20 m horizontally gives 15% slope, which is much less than 15°.
Polygonizing
Polygonizing converts connected groups of equal-valued raster cells into vector polygons, initially following cell edges.
A classified candidate mask is polygonized so each suitable region can be reported with an area.
Pour point
A pour point is a selected outlet location used to identify the upstream cells whose drainage paths reach that point.
A water intake serves as the pour point for a study of land cover upstream of the supply.

R

Raster
A raster is a georeferenced rectangular grid whose equal-sized cells each store one value per band for a location.
A rainfall raster assigns a depth in millimeters to every valid cell across the mapped region.
Rasterization
Rasterization converts vector features into a grid by assigning fixed or attribute values to cells using an assignment rule.
Protected-area polygons become a binary exclusion layer on the same grid as a slope raster used in the same analysis.
Reclassification
Reclassification assigns new classes or scores to existing categories or numeric ranges according to an explicit table.
A slope reclassification table gives 4.7° a score of 5 and separately handles values beyond a set maximum allowed slope.
Resampling
Resampling assigns values to new raster cell locations when a grid’s cell size, alignment or coordinate system changes.
Reprojecting a DEM requires resampling because output centers differ from the original centers.
RMSE
RMSE, or root mean square error, is the square root of the mean squared prediction errors, expressed in the measured units.
Two models with opposite signed errors can share the same RMSE because squaring removes the signs.

S

Search neighborhood
A search neighborhood defines which samples contribute to an estimate, using a distance limit or a nearest-point count.
A fixed-radius search can leave too few observations where gauges are widely separated.
Semivariogram
A semivariogram summarizes how differences between sample values vary with separation distance for spatial modeling.
Pairs of wells at several distance ranges are compared before a kriging dependence model is fitted.
Sensitivity analysis
Sensitivity analysis changes model choices such as weights or thresholds to examine how stable the resulting rankings are.
A candidate that stays near the top across several reasonable weighting runs is a stable choice.
Shreve magnitude
Shreve magnitude assigns headwaters a value of one and adds incoming magnitudes at each downstream junction.
Branches of magnitude 2 and 3 join to form magnitude 5 even though their incoming values differ.
Sink
A sink is a cell or connected depression without a downhill exit, which can be a DEM artifact or a real closed basin.
A missing culvert can make a road embankment create an artificial sink in a terrain model.
Sink filling
Sink filling raises a depression to its spill elevation so a drainage route can leave it across the resulting surface.
Subtracting the original DEM from the filled DEM maps both the location and depth of alterations.
Slope
Slope is the greatest local rate of elevation change, commonly expressed as an angle or as rise per horizontal run.
The slope map separates gentle ground from steep ground when estimating construction difficulty.
Snapping
Snapping moves an outlet to a high-accumulation cell within a chosen distance so it matches a modeled drainage path.
A point beside the channel is snapped, then checked to ensure it stayed on the intended stream.
Spatial autocorrelation
Spatial autocorrelation is the tendency for values at nearby locations to be related, supporting many interpolation methods.
Nearby temperature stations often have more similar readings than stations far apart in the region.
Spatial interpolation
Spatial interpolation estimates a continuous quantity at unsampled locations using measurements from nearby sample points.
Measured groundwater heights at wells support an estimated water-table surface between wells.
Spline interpolation
Spline interpolation fits a smoothly bending surface through samples and can predict beyond their observed minimum or maximum.
A spline may produce an implausible low pocket between nearby wells with sharply different readings.
Standardization
Standardization converts criteria with different units and ranges onto a common preference scale before combination.
Slope degrees and line distances become 1–9 scores so their weighted contributions can be compared.
Strahler order
Strahler order ranks stream branches, increasing by one when equal orders join and retaining the larger unequal order.
A first-order branch joining a third-order channel leaves a third-order downstream segment.
Stream burning
Stream burning lowers a DEM along verified drainage lines to represent channels or routes missing from the measured surface.
A known culvert route under a road embankment is incorporated before directions are calculated across that embankment.
Stream threshold
A stream threshold is the minimum contributing count or area used to select a channel network from accumulation values.
Raising the threshold removes small headwater branches and leaves only larger drainage paths.
Suitability model
A suitability model evaluates locations against mapped criteria to identify allowed places or rank their relative preference.
A solar-siting model combines terrain, connection distance and land cover to compare candidate land.

T

TIN
A TIN, or triangulated irregular network, represents a surface with triangles connecting sample points of known elevation.
A linear TIN estimates a height from the plane through the three corners of its containing triangle.

V

Vertical datum
A vertical datum is the reference surface from which elevations are measured, such as a geoid-based height reference.
An apparent offset between two DEMs may come from different datums instead of changed terrain.

W

Watershed
A watershed is the land area whose flow drains to a common outlet, also called a drainage basin or catchment.
Zonal statistics summarize forest cover inside the watershed above a stream sampling location.
Weight
A weight expresses a factor’s relative importance in a combined score; normalized decimal weights sum to one.
Increasing the access weight changes how much a short connection can improve a candidate’s ranking.
Weighted overlay
Weighted overlay combines standardized factors by multiplying scores by relative importance weights and summing the products.
A strong slope score can offset a weaker distance score, so hard exclusions need a separate mask.

Z

Z-factor
A z-factor multiplies elevation values during terrain processing to convert units or apply a chosen vertical exaggeration.
A z-factor of 0.3048 converts input foot elevations to meters when horizontal coordinates are in meters.
Zonal operation
A zonal operation summarizes values within fixed regions defined by zone IDs or polygons, returning one statistic per zone.
A zonal table reports the mean slope separately for every parcel in a development study.

About this lesson

By StudeliReport a mistake

Make your own Study Materials

Turn your notes, slides and documents into Study Guides, Practice Questions, Flashcards and 6 more tools.

Get Started