🚧 Under construction — VoTechWorks is being built. A free tech program — complimentary, as our commitment to get America working.
voTechWorksGrade 13 · a vocational technology learning center, by urbanicity
newSchoolWorks.com › VoTechWorks › Technology & Design › Data Science & Analytics › GIS and Spatial Data Analysis › Lesson 4
TEC-DATA85-09 · Lesson 4 · 10 clock hours · demo

Raster Data and Remote Sensing Basics

Objective. Students will load, visualize, and perform basic raster analysis (reclassification, zonal statistics) on a satellite or elevation raster in QGIS.

⚠ Pending professional review

This lesson, its worked examples and its practice questions has not yet been verified by an industry-certified professional or by a certification or approval body. It is a study draft and may contain errors. Do not use it as instructions for work on a job site or on live equipment. Always follow your instructor, your supervising professional, and current official references and regulations.

VoTechWorks program approval and accreditation are still in progress. Credentials are issued only by the certifying bodies named in each program, after their own exams.

What Is Raster Data?

A raster is a grid of equally spaced cells, sometimes called pixels, where every cell holds one or more numeric values. Think of a digital photograph: rows and columns of pixels, each storing a color value. Spatial rasters work the same way, but every cell also covers a specific patch of Earth's surface. Two rasters can describe the same area but look very different if one has 30-meter cells and another has 1-meter cells — that difference is called spatial resolution.

Rasters store values in bands. An elevation raster (Digital Elevation Model, or DEM) has a single band: each cell stores the ground height in meters or feet. A Landsat 8 satellite scene has multiple bands — separate grids for blue light, green light, red light, near-infrared, and several others. By combining bands you can calculate indices such as NDVI (Normalized Difference Vegetation Index) that reveal vegetation health across a landscape.

Every raster has an extent: the bounding rectangle (minimum and maximum X and Y coordinates) that defines the geographic area the dataset covers. Cells outside collected data carry a special placeholder called a NoData value — commonly −9999 or −32768 — that tells the software to ignore those locations during analysis. Always check the NoData setting before you begin analysis; treating NoData as real zeros will corrupt your statistics.

The USGS National Elevation Dataset (NED) DEM

The USGS National Elevation Dataset provides bare-earth elevation data across the United States at several resolutions. The 1/3 arc-second product (roughly 10-meter horizontal spacing at mid-latitudes) is freely downloadable from USGS EarthExplorer. When you load a NED tile in QGIS, the single raster band stores elevation in meters relative to mean sea level. Ridges appear as high values; valleys and floodplains appear as low values.

Landsat 8 Multispectral Data

Landsat 8, operated by USGS and NASA, collects imagery in multiple spectral bands at 30-meter resolution for most bands. Band 4 captures red light; Band 5 captures near-infrared. A color composite that maps any three bands to the red, green, and blue display channels lets you visualize surface features. A false-color composite using near-infrared, red, and green makes healthy vegetation appear bright red and is a standard tool for land-cover interpretation.

Reclassification

Reclassification assigns new, simplified values to ranges of original cell values. For an elevation raster you might group all cells below 200 m into class 1 (low), cells from 200–500 m into class 2 (medium), and cells above 500 m into class 3 (high). This turns a continuous dataset with thousands of unique elevation values into a categorical map with just three classes — much easier to display and communicate.

In QGIS, the Reclassify by table tool (found under Raster → Raster Analysis, or through the Processing Toolbox) lets you enter minimum, maximum, and new-value rows for each class. Set the output data type to integer when working with simple categorical classes to keep file sizes small.

Zonal Statistics

Zonal statistics summarize raster values within polygon boundaries. The polygons define zones (for example, census tracts or watershed boundaries). For each zone the tool calculates statistics such as mean, minimum, maximum, sum, and count of raster cells that fall inside that polygon. The result is written back to the polygon attribute table as new fields.

You might overlay watershed boundaries on an NDVI raster to find out which watershed has the highest average vegetation density, or overlay census tracts on a DEM to identify which neighborhood sits at the highest average elevation. Those mean values become the numbers you cite in your written interpretation.

In QGIS, the Zonal Statistics tool is in the Processing Toolbox under Raster Analysis. You select the raster layer, the zone polygon layer, choose a field-name prefix, and check the statistics you want. The tool adds columns such as `_mean`, `_min`, and `_max` to the polygon attribute table.

File Formats

The standard output format for raster analysis in this course is GeoTIFF (.tif). A GeoTIFF embeds coordinate reference system (CRS) information directly in the file header, so any GIS software can read its location without a separate world file. When you export your classified raster, confirm the CRS matches your project CRS and that the correct NoData value is written into the file.

Data Safety and System Safety

Raster files — especially full Landsat scenes — can be hundreds of megabytes to several gigabytes. Before processing, check that your workstation has enough free disk space (aim for at least three times the raw file size as working space) and save your QGIS project file frequently. Never store project data only on a USB drive that could be unplugged mid-process; use a local drive or a backed-up network location.

Always verify the coordinate reference system before overlaying raster and vector layers. Mismatched CRS settings are the most common source of incorrect zonal statistics — polygons that look aligned on screen may not actually be snapped to the correct cells if projections differ. Use QGIS's "Reproject" tools to put all layers in the same CRS before analysis.

Workflow Summary

1. Download and load the NED DEM or Landsat scene into QGIS; inspect metadata (CRS, resolution, NoData value).

2. Stretch the display symbology to confirm data loaded correctly.

3. Run Reclassify by table to create a three-class elevation raster; export as GeoTIFF.

4. Load your polygon zone layer; confirm it shares the same CRS as the raster.

5. Run Zonal Statistics; open the attribute table and record mean values per zone.

6. Write your interpretive paragraph citing at least two specific numeric values from your output.

Key terms10

RasterA spatial data model made up of a regular grid of cells (pixels), each storing one or more numeric values representing a geographic phenomenon such as elevation or reflectance.
Spatial ResolutionThe ground area covered by one raster cell, usually stated in meters. Smaller cell size means finer detail and larger file size.
BandA single grid layer within a raster dataset. A DEM has one band (elevation); a Landsat 8 scene has multiple bands, each recording a different wavelength of light.
NoData ValueA sentinel number (such as −9999) assigned to raster cells where no valid measurement exists. GIS software ignores these cells in calculations.
ReclassificationA raster operation that replaces original cell values with new categorical values based on defined value ranges, simplifying continuous data into discrete classes.
Zonal StatisticsA GIS operation that summarizes raster cell values (mean, min, max, etc.) within each polygon zone and writes the results to the polygon attribute table.
Digital Elevation Model (DEM)A raster dataset where each cell value represents the elevation of the Earth's surface at that location, typically in meters above mean sea level.
GeoTIFFA standard raster file format that embeds coordinate reference system metadata inside the TIFF file, allowing any GIS software to read both the image data and its geographic location.
NDVI (Normalized Difference Vegetation Index)A single-band index derived from near-infrared and red raster bands that indicates vegetation density and health; values range from −1 to +1, with higher positive values indicating denser vegetation.
ExtentThe bounding rectangle of a raster dataset defined by its minimum and maximum X (longitude) and Y (latitude) coordinates, describing the geographic area the dataset covers.

Worked examples4

1. A DEM raster has a cell size of 1/3 arc-second. At a latitude of approximately 40° N, one arc-second of latitude equals about 30.87 meters. What is the approximate ground size (in meters) of one cell in the north-south direction?
  1. Identify the cell size in arc-seconds: 1/3 arc-second = 0.3333 arc-seconds.
  2. Identify the ground distance per arc-second at ~40° N latitude in the north-south direction: approximately 30.87 meters per arc-second.
  3. Multiply: 0.3333 arc-seconds × 30.87 meters/arc-second = 10.29 meters.
Answer: Approximately 10.3 meters per cell in the north-south direction, which is why this product is commonly described as roughly 10-meter resolution.
2. You are reclassifying a DEM with elevation values ranging from 85 m to 620 m into three equal-interval classes. What are the value ranges for each class?
  1. Find the total range: 620 − 85 = 535 meters.
  2. Divide into three equal intervals: 535 ÷ 3 = 178.33 meters per class (round to one decimal).
  3. Class 1 (Low): 85.0 m to 263.3 m.
  4. Class 2 (Medium): 263.3 m to 441.7 m.
  5. Class 3 (High): 441.7 m to 620.0 m.
Answer: Low: 85.0–263.3 m (class value 1); Medium: 263.3–441.7 m (class value 2); High: 441.7–620.0 m (class value 3).
3. After running Zonal Statistics, Watershed A has a mean NDVI of 0.62 and Watershed B has a mean NDVI of 0.18. NDVI values near +1 indicate dense healthy vegetation. How much higher is Watershed A's mean NDVI than Watershed B's, expressed as a difference and as a percentage increase relative to Watershed B?
  1. Calculate the difference: 0.62 − 0.18 = 0.44 NDVI units.
  2. Calculate the percentage increase relative to Watershed B: (0.44 ÷ 0.18) × 100 = 244.4%.
  3. Round to one decimal place: 244.4%.
Answer: Watershed A's mean NDVI is 0.44 units higher than Watershed B's, representing approximately a 244% increase relative to Watershed B, suggesting substantially denser or healthier vegetation in Watershed A.
4. A raster tile covers an area 0.5 degrees wide and 0.5 degrees tall with a cell size of 1/3 arc-second. How many cells are in the raster (columns × rows)?
  1. Convert 0.5 degrees to arc-seconds: 0.5 × 3600 = 1800 arc-seconds in each direction.
  2. Divide by cell size: 1800 ÷ (1/3) = 1800 × 3 = 5400 cells per side.
  3. Total cells: 5400 columns × 5400 rows = 29,160,000 cells.
Answer: The raster contains 5,400 columns and 5,400 rows, for a total of 29,160,000 cells.

The math in this lesson1

Learners convert raster cell size in arc-seconds to meters on the ground.
N-Q.1
Brush up in the math halls at newSchoolWorks.com:
In class: Instructor-led demonstration explaining raster data model (cells, bands, resolution, NoData values) using a USGS Digital Elevation Model (DEM) and a Landsat band composite; students label a printed diagram identifying pixel size, extent, and band. · Guided demo-then-do: instructor performs raster reclassification (grouping elevation values into low/medium/high classes) live, then students replicate the workflow independently on the same dataset and compare their classified output to the instructor's reference map. · Zonal statistics exercise: students overlay a polygon layer (census tracts or watersheds) on a raster layer (elevation or NDVI), run the QGIS Zonal Statistics tool, and interpret the resulting mean values per polygon in a brief written paragraph, noting which zone has the highest and lowest mean value and a possible geographic explanation.
Materials: QGIS 3.x with SAGA and GDAL processing providers enabled, USGS National Elevation Dataset (NED) 1/3 arc-second DEM tile (publicly available from USGS EarthExplorer), Landsat 8 OLI sample scene (free from USGS EarthExplorer), QGIS Raster Analysis documentation (qgis.org)
Check: Students submit their classified raster as a GeoTIFF and their zonal statistics paragraph. Instructor verifies the reclassification has at least three classes with correct value ranges and that the paragraph references specific numeric outputs; pass mark: correct reclassification plus paragraph with at least two accurate numeric citations from their output.

Practice check8

Answer each question, then check it. Nothing is recorded; this is your own practice.

Data Analysis and Statistics
1. In a raster dataset, what does the term 'spatial resolution' refer to?
Data Acquisition and Management
2. A DEM cell contains the value −9999. What does this most likely indicate?
Data Analysis and Statistics
3. Which QGIS tool would you use to group continuous elevation values into three discrete classes — low, medium, and high?
Data Analysis and Statistics
4. You run Zonal Statistics on a DEM using watershed polygons as zones. Which attribute is added to the polygon table that would tell you the average elevation inside each watershed?
Data Analysis and Statistics
5. A Landsat 8 scene contains multiple spectral bands each stored as a separate grid. A researcher combines Band 5 (near-infrared) and Band 4 (red) to calculate NDVI. What kind of raster operation is this?
Data Acquisition and Management
6. Before overlaying a polygon layer on a raster layer for zonal statistics, what is the most critical check to perform?
Data Analysis and Statistics
7. A DEM covers elevations from 100 m to 700 m. You reclassify it into three equal-interval classes. What is the correct upper boundary of the first (lowest) class?
Data Acquisition and Management
8. A GeoTIFF differs from a plain TIFF image primarily because a GeoTIFF:
Record this lesson on my transcript. Sign in with your key and enrollment email to record lessons (enroll free if you have no key). This page stays open to read and practise.