Tuesday concept lecture. Up to now students have only *added* data that somebody else made. Today they learn where vector data comes from and how it gets onto a disk. Thursday in the Thursday hands-on session they do it themselves in QGIS, digitizing their own home.
Today is the concepts: why each step exists and what goes wrong without it. Thursday, in the hands-on session, students do all of it in QGIS. Lab 4 is where they do it alone, on their own home. Reading is Chapter 4, Maps, Data Entry, and Editing, in Bolstad & Manson.
Ask the class where the Utah County roads layer came from. Somebody digitized it, from aerial photography, at some scale, some years ago, with some accuracy. Every dataset has that history, and most of the time it is not written down. That is why metadata matters.
"Polyline" is the same thing as a line in almost every GIS; ArcGIS and shapefile documentation say polyline, QGIS says LineString or Line. The two callouts reveal one at a time (arrow key). Let students answer before revealing the next. Good answers for a point: something with no size at all, like the center point of a parking lot, a survey monument, or Four Corners, where four states meet at one point. Good answers for a line: something with no width, like the Utah–Idaho state line or a property line. A well, a hydrant, or a road is NOT perfect: each has a real size, and the point or line is a scale decision. That is the limitation of each type: most real things have area, so a point or line is a simplification that only works at some scales. A building is a polygon on a site plan and a point on a statewide map. The object did not change; the question did. This comes back in the campus quiz at the end of Part 1.
Emphasize decision 2. If the layer CRS and the project CRS disagree, everything still draws, because QGIS reprojects on the fly, but area and length calculations will surprise them later. Pro tip from Lab 4: always make sure your project CRS matches your map.
Six minutes in pairs, then a few minutes of whole-class discussion: take one dataset of each type from different pairs and put it on the board. Push on the why: nobody has digitized the thing you care about, at the accuracy you need, with the attributes you need, recently enough. Push on projection: in Utah the default answer is NAD83 / UTM zone 12N (EPSG:26912), and for a small site a state plane zone also works; "I don't know" is a fine answer today and is Week 8's topic. Push on attributes: the fields decide what questions the data can answer later. Not on the slide: each pair photographs their written results and uploads the photo to Learning Suite as this class's in-class activity item.
Show the menu. Note the sibling entries: New Shapefile Layer, New Temporary Scratch Layer. A scratch layer lives only in memory and disappears when the project closes, which is fine for a quick sketch and a disaster if you forget. We use GeoPackage. Do not demo this live: it is Lab 4's first step and Thursday's hands-on session practices it.
Same data inside either one: geometry plus an attribute table. The difference is packaging. A shapefile is a bundle of sibling files with the same name, and every one of them has to travel together; the .prj is the one people lose, and with it the coordinate system. A GeoPackage is a single file that can hold many layers, plus their styles. That is why today's instructions say New GeoPackage Layer even though half the data they have downloaded so far arrived as shapefiles. The details, if asked: a GeoPackage is an open SQLite database, holds many layers and their styles, allows long field names, handles large data, and stores true curves. A shapefile limits field names to 10 characters, holds one geometry type per file, has a historic 2 GB limit, and cannot store true curves. Need a shapefile for a client? Right-click the layer, Export, Save Features As.
Two rules worth saying out loud. One: an ID is a label, not a quantity, so never average it. Two: if you might ever want to add, average, or sort numerically, do not store the value as text. "240 V" as text cannot be summed. The figure makes the spreadsheet point: in Excel, "240", "240 V", "high?" and "n/a" can all sit in one column, and SUM quietly skips the ones it cannot read. An Integer field refuses anything but a whole number, and an unknown value is NULL, not "n/a". That strictness is the point: the database guarantees every value in the column can be added, averaged, or sorted.
A: point. B: line. C: polygon. D: polygon, one feature. E: two layers, points and lines, because a layer holds one geometry type. Push on E: students often want one "utilities" layer. Ask what the attribute table would look like if hydrants and mains shared it. Half the columns would be empty for every row. Then reveal the two follow-ups one at a time (arrow key); both are about scale. Sidewalks as polygons: yes, whenever the question is about area or width, such as resurfacing or snow-removal quantities (square feet of concrete), ADA width checks, or a site plan. As lines they only give length. Hydrants or call boxes as polygons: at a site-design or as-built scale, the pad, the bollards, and the clearance zone around a hydrant have real footprints that matter. On a campus-wide map they are points. The object did not change; the question and the scale did.
The photo is a USDA Forest Service Forest Pest Management office in Portland, Oregon, in 1988: a paper survey map fastened to a tilted digitizing table, and a corded puck with crosshairs. Every GIS lab had one of these; the operator clicked a button on the puck at each vertex, and the table's grid of wires under the surface turned the puck position into coordinates. Source: https://commons.wikimedia.org/wiki/File:1988._Early_aerial_survey_data_digitizing._Forest_Pest_Management._Regional_Office,_Portland,_Oregon._(39715078922).jpg (PD-USGov-USDA). The name "heads-up" comes from the contrast with tablet digitizing, where your head was down over the table. The skill did not change: you are still deciding, feature by feature, where the line goes.
This is exactly the problem Lab 4 asks them to fix. The SGID canal lines were digitized years ago from smaller-scale USGS quads, so in high-resolution imagery they drift well off the real channel. The data are not "wrong"; they are being used at a scale they were never made for. The animation on the right loops on its own: click, click, click at each roof corner, then right-click to close the polygon. Point out that nine vertices is enough for this roof at this zoom; ninety would not make it more accurate.
Concept only today; Thursday they run this loop for real. Toolbars: the Digitizing and Advanced Digitizing toolbars are turned on by right-clicking the toolbar area. Walk the loop out loud once. "The layer is not editable" is the error they will hit most, and it always means the pencil is off or the wrong layer is selected.
C. More vertices is not more accurate; it is only more data. A straight road needs two. A cul-de-sac needs many, or one arc. Ask what happens to file size, drawing speed, and every analysis downstream when someone streams a whole county at 2 px tolerance.
Snapping tolerance: in pixels it follows the zoom (the same 12 px is a big distance zoomed out and a small one zoomed in); in map units it does not. Neither is right; you just have to know which one you set. Concrete stakes: an unsnapped culvert is invisible to a hydrologic model, so the model routes water over the road instead of under it, and the design storm comes out wrong. This is why Lab 4 makes them snap every culvert onto the waterway line.
Professional habit worth naming: never silently improve somebody's data. Record what you changed, why, and against what source. On a real project that record is the difference between a correction and a liability.
Tie back to Day 2, where they opened the cellular towers attribute table and watched a row light up a tower. Same idea, except now they are the ones deciding what the columns are.
Third Lab 4 schema, for the line layer: Curb_Lines (LineString) with ID (integer), Material (text), Condition (text). The labeling question is the one from the original deck and it is a good one: if you do not create a Name field, you have nothing to label the map with, and you will be re-typing attributes for forty features the night before it is due.
B and C should be numeric: as text you cannot sum, average, sort, or graduate symbology by them, and "42 ft" would have to be parsed. C is better still as a Date if the exact date is known. E is too short to be useful; a notes field needs room. D is fine, as long as nobody averages it. Ask what would break first if this layer went to a client.
This slide is worth a full minute. The single most common way students lose an hour of work is assuming Ctrl+S on the project saved their digitizing. It did not.
This is the activity from the original version of this lecture, now where it belongs: Thursday, hands-on. Tell them to think tonight about which home they will map and what attributes they would want.
Lab 4 is the graded version of everything in today's lecture: creating GeoPackage layers, digitizing, snapping, the Vertex Tool, and a schema. Confirm the exact Saturday deadline on Learning Suite before class.
Conversion notes (2026-09-02): source deck "114 - Working with Vector Data.pptx" (Archived, 2026), 8 slides. The source was written as a Thursday hands-on walkthrough ("Make a Map of Your Childhood Home", steps 1-4 with New Shapefile Layer); that walkthrough has been moved to the Thursday preview slide, since Day 8 is the Tuesday concepts lecture, and the concept material (creating layers, digitizing, editing, schemas, saving to disk) has been expanded to fill the hour around the source deck's own Learning Goals list. Source slides not carried over as slides: slide 1 title (replaced by the standard title slide; its speaker note was a stale ArcGIS ModelBuilder workshop abstract, unrelated to this lecture, and was dropped), slides 4-8 (the step-by-step childhood-home walkthrough, now the Thursday preview). No ArcGIS screenshots are used: the only screenshot in the source deck is the QGIS New Shapefile Layer dialog, which is kept on the shapefile slide. QGIS 3.44 screenshots (Create Layer menu, New GeoPackage Layer dialog, digitizing tools, snapping toolbar, Vertex Tool, Field Calculator, example result) were reused from docs/assignments/lab-04/images so the deck matches the wording students see in Lab 4. TODO for the instructor: (1) confirm the Saturday due dates for Quiz 4 and Lab 4 on Learning Suite; (2) the Field Calculator screenshot (images/vec-field-calculator.png) is low resolution in the source and has been cropped to the expression panel — worth re-shooting at full resolution; (3) consider re-shooting the New GeoPackage Layer dialog with a Day 8 example instead of the Lab 4 Street_Lights example if you would rather the lecture not preview the lab.
Five minutes, in pairs, then a show of hands on the two worth arguing about: hydrants and mains in one layer or two, and what Ctrl+S on the project actually saved. Both come back on Thursday. If the room has no signal, put the URL on the board. The page is linked from the Week 5 page too.