🚧 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 5
TEC-DATA85-09 · Lesson 5 · 14 clock hours · lab

Spatial Operations: Buffers, Intersections, and Spatial Joins

Objective. Students will apply at least three spatial operations (buffer, intersect, spatial join) to answer a defined analytical question and document each processing step.

⚠ 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 Are Spatial Operations?

Spatial operations are geoprocessing tools that create new data by analyzing the geometric and attribute relationships between two or more layers. Unlike a simple map visualization, a spatial operation produces a new output layer or table that answers a specific question about geography. In data science, spatial operations are how you move from raw geographic data to analytical results you can count, summarize, and report.

This lesson covers three foundational operations: buffer, intersect, and spatial join. Together they let you answer questions like "How many residential parcels fall within 500 feet of a floodplain?" — the scenario you will work through in lab today.

Buffer

A buffer creates a new polygon layer by expanding (or shrinking) each feature by a specified distance. Every point, line, or polygon in the input layer grows outward by the distance you set, producing a surrounding zone.

Key settings to document:

Always verify the coordinate reference system (CRS) of your data before setting a distance. If your layer is in a geographic CRS using decimal degrees, a buffer distance in feet will not be interpreted correctly. Reproject to a projected CRS (such as a State Plane or UTM zone appropriate for your study area) before buffering.

Intersect

The intersect tool outputs only the area (or features) that are common to both input layers. Think of it as a logical AND: a feature must exist in Layer A and Layer B to appear in the output. Attributes from both layers are carried into the output, which is why intersect is so useful — you can query or summarize fields from either source on the combined result.

For the lab scenario, you will intersect the 500-foot floodplain buffer with the county parcel layer. Only parcels (or parcel fragments) that overlap the buffer zone will survive into the output. Parcels entirely outside the buffer are dropped.

Watch for geometry type mismatches. QGIS will warn you if you attempt to intersect incompatible geometry types. Both layers should be polygons for a standard area intersect.

Spatial Join

A spatial join transfers attributes from one layer to another based on spatial relationship rather than a shared key field. Common relationship options include:

In practice, you often use a spatial join after an intersect when you need to count or aggregate. For example, after intersecting parcels with the buffer, a spatial join (or a "Join attributes by location" with a summary) lets you count how many parcels fall inside each buffer zone.

The Full Workflow for Today's Scenario

1. Load data — FEMA NFHL floodplain polygons and the county parcel shapefile.

2. Check and align CRS — Reproject both layers to the same projected CRS if needed.

3. Buffer — Buffer the floodplain layer by 500 feet (dissolve recommended so you get one continuous zone).

4. Intersect — Intersect the 500-foot buffer with the parcel layer to get only parcels within the zone.

5. Attribute query — Filter the intersect output to keep only parcels where the land-use field indicates residential use.

6. Summarize — Count the remaining features (use the layer's feature count or a summary statistics tool).

Document each step with: input layer name, tool name, exact settings, output layer name, and a screenshot of the intermediate result. This documentation is what makes your analysis reproducible — someone else should be able to follow your steps and get the same output.

Data Sources and Data Integrity

The FEMA National Flood Hazard Layer (NFHL) is publicly available from the FEMA Map Service Center. County parcel data is typically available from your county assessor's open-data portal. Before using any dataset:

Safety and Responsible Use

GIS analysis of floodplain data can inform real property decisions, emergency planning, and insurance assessments. Present results accurately: note the source, date, and any limitations of the underlying data. Do not represent a student lab output as an official flood-risk determination. FEMA flood maps carry legal and insurance implications; always direct stakeholders to official FEMA resources for regulatory decisions.

When downloading public shapefiles, scan downloaded ZIP archives with antivirus software before extracting, and work in a dedicated project folder — never on removable media shared across machines without scanning.

Documenting for Reproducibility

A workflow diagram labels each step with: (1) input(s), (2) tool and settings, and (3) output name. Reproducibility is a core data science value — it allows peers, supervisors, and auditors to verify your work. In the peer-review activity, your partner must be able to run your documented workflow and get the same result. If they cannot, the documentation — not just the analysis — needs revision.

Key terms9

BufferA geoprocessing operation that generates a new polygon layer by expanding each input feature outward by a specified distance, creating a surrounding zone.
IntersectA spatial operation that outputs only the area or features common to both input layers, carrying attributes from each into the combined result.
Spatial JoinAn operation that transfers attribute fields from one layer to another based on a specified spatial relationship (such as intersects, contains, or nearest) rather than a shared key field.
Coordinate Reference System (CRS)A framework that defines how geographic coordinates are mapped to locations on Earth; must be consistent across layers and appropriate for distance-based operations.
GeoprocessingThe general category of GIS operations — including buffer, clip, intersect, and union — that manipulate spatial data to produce new analytical layers.
DissolveA setting or standalone tool that merges overlapping or adjacent features into a single geometry, often used after buffering to create one continuous zone from many individual buffers.
Attribute QueryA filter applied to a layer's attribute table using logical expressions (e.g., land_use = 'Residential') to select only features meeting specified criteria.
ReproducibilityThe ability of another analyst to follow documented steps — inputs, tools, settings, and outputs — and arrive at the same result independently.
NFHL (National Flood Hazard Layer)The FEMA-maintained spatial dataset depicting flood zones, floodplains, and related features across the United States, publicly available from the FEMA Map Service Center.
In class: Instructor demonstration of the QGIS geoprocessing toolbox: buffer, clip, intersect, union, and spatial join; students take notes in a workflow diagram template, labeling inputs, tool, and output for each operation shown. · Analytical lab: given a scenario ('Identify all parcels within 500 feet of a floodplain and count how many are residential'), students independently build a workflow using buffer → intersect → attribute query → summarize, documenting each step with tool settings and a screenshot of intermediate outputs. · Peer review: students exchange their documented workflows and attempt to replicate the partner's analysis using only the documented steps; they flag any step that was unclear or produced a different result, then discuss discrepancies as a class.
Materials: QGIS 3.x, FEMA National Flood Hazard Layer (NFHL) shapefile (publicly available from FEMA Map Service Center), county parcel shapefile from open-data portal, QGIS Geoprocessing Algorithms documentation, workflow diagram template (instructor-prepared)
Check: Students submit the workflow documentation and the final output shapefile. Instructor checks that the buffer distance matches the scenario, that the intersect output contains only features meeting both conditions, and that documentation is detailed enough for a peer to replicate; pass mark: correct output layer plus documentation rated 3/4 on a reproducibility rubric.

Practice check8

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

Data Acquisition and Processing
1. A student buffers a floodplain layer by 500 feet but notices the output buffer looks far too large on screen. The most likely cause is:
Data Analysis and Statistics
2. Which spatial operation retains only features that overlap in both input layers and combines their attribute fields into a single output?
Data Analysis and Statistics
3. After intersecting the 500-foot floodplain buffer with the parcel layer, a student wants to count only residential parcels. The correct next step is:
Data Analysis and Statistics
4. A student uses a spatial join to transfer floodplain zone attributes to each parcel. Which relationship setting would include a parcel that shares only a boundary line with the buffer — not interior area?
Data Governance, Quality, and Ethics
5. For a workflow to be considered reproducible, the documentation must include:
Data Acquisition and Processing
6. The FEMA National Flood Hazard Layer (NFHL) is best described as:
Data Governance, Quality, and Ethics
7. During peer review, a student cannot replicate a partner's intersect result and gets more features in the output. The most likely documentation gap is:
Data Governance, Quality, and Ethics
8. A colleague wants to use your lab's floodplain analysis to advise a property owner on flood insurance requirements. The most responsible response is:
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.