Geol 104 – Water Resources for Sustainable Communities
Watershed Delineation with GIS
Introduction to GIS
Maps are a representation of the real world. Using digital maps in a Geographic Information System (GIS) allows us to quickly find locations that fulfill certain conditions (i.e. the best soils to dig a water well, the best place to establish a solar farm, etc.). A GIS is a “system” composed of hardware, software, data, people, and procedures designed to create, manage, analyze and display or produce digital georeferenced data (i.e. digital maps). In a GIS you work together with description data (attributes) and location data (digital map).
By having multiple layers of information (rivers, roads, parcels, soils, etc.) you can combine the ones you need depending on the questions you would like to answer. One of the most exciting aspects of working with GIS is the ability to make your own maps by combining multiple layers and comparing variables among places.
Digital representation of reality (data model) can be accomplished in a couple of ways. In the Vector model, objects in the field (features) are represented using points, lines, and polygons or areas. I.e. water wells could be represented by points, rivers and roads by lines, and parcels by polygons (of course, depending on the scale of the map).
In the Raster model the world is divided into an array of square little cells (pixels) arranged in a regular grid, and each cell is given a numerical value that represents some property of that location (temperature, elevation, etc.). Cells are always arranged in rows and columns.
Raster data are very good when representing field data that covers the whole area and that change continuously, like the terrain topography (elevation), temperature, slopes, land use, etc.
Introduction to Watershed
A watershed (or catchment, or drainage basin) describes the area of land from which all surface waters (rain, melting snow or ice) converge at a single point. This point is the exit of the watershed and usually forms a stream or lake. Watersheds are important hydrologic and environmental units because all water within one watershed is connected. Thus, water pollution at one point in the watershed will affect the entire area downstream of that point and thus becomes an important issue in environmental restoration and protection. Since water always flows downhill, watershed boundaries (drainage divides) are defined as the ridges separating flow.
Problem
Watershed boundaries are increasingly being used in land and water management, separating the direction of water flow such that all water within one watershed flows toward the same outlet point. Thus, a pollution source at the head of one watershed will not affect adjoining ones, but it will affect every location downstream within its own watershed. Delineating watershed boundaries helps managers monitor the amount and quality of water entering a point of interest, such as a stream, lake, or estuary.
The geology dept. at MHC has an ongoing study on the hydrology, surface and subsurface, around the town of South Hadley. For planning purposes, we want to estimate the areas of influence of both Stony Brook and Batchelor Book watersheds. By determining the extent of the land area that contributes water to these streams we can study different aspects of the hydrology of the area.
Objectives
To delineate the watersheds of Stony Brook and Batchelor Brooks and calculate their respective areas using GIS.
Watershed Delineation using a Topographic Map
Traditionally, watersheds are determined by drawing the limits (drainage divides) of the watershed on a paper topographic map by hand, after carefully studying the contour lines to understand the terrain and determine which way the water moves. Remember that surface water always moves from high to low elevations so, by looking at a particular stream you’re interested in, and paying attention to the terrain (determined by the contour lines), you can find high points that divide the flow of water from one watershed to another (See example: black arrows indicate water flow).
For the purpose of this exercise, we won’t be working with paper maps but with the digital version of the elevation map. This is called a DEM (Digital Elevation Map) and it’s a product of the USGS and other government institutions so that they can be used in all sorts of GIS analysis.
Watershed Delineation using GIS
Procedure
- Log in into any computer in the GPL (Clapp 410) with your @mtholyoke.edu credentials. Be patient, it might take a little time the first time you login in a computer.
IMPORTANT: Some features of the GIS software don’t work correctly with the Dark mode of some Windows systems. Once you’re in Windows we have to change the color mode to Light for the software to work correctly. Right click on the desktop and choose Personalize, then click on Colors and change “Choose your mode” to Light. Then close the personalization windows.
- Double clicking the Stony_Brook_Hydrology shortcut icon on the desktop.
NOTE: Disregard those warning message on top of the screen, just close them by pressing the X
The GIS software, called QGIS, will open and show you some data of our area. The screen shows you the topographic map of the area as well as the limits of the area of interest (AOI) or the extent of our study (for location information only).
Can you find Upper and Lower lakes?
The left part of the screen is called “Layers Panel” and it lists the different GIS layers that make this map or project. On the right you can see the layers displayed. Notice that there are both raster and vector layers.
Start by turning on and off the layers shown in the layer panel. Notice that they’re drawn in the map from bottom to top, i.e. the layers on top will draw on top of the bottom layers. The order of the layers can be rearranged by dragging and dropping them in the layer panel.
You have been provided with the following GIS data layers (notice that some are vectors and others are rasters):
- Massachusetts: (Raster) this is a scanned version of the USGS topographic maps of Massachusetts.
- DEM_SB: (Raster) this is a digital elevation model of the area. It’s a raster layer where each cell has a value equal to elevation.
- DEM_Hillshading: (Raster) this is greyscale representation of the previous DEM, only for display.
- AOI_SB: (vector) polygon layer showing the Area of Interest for our study
- Hydro_Poly: (vector) lineal representations of streams in our AOI
- Hydro_poly: (vector) ponds and larger bodies of water in our AOI
- Pour_points: (vector) the end points of Stony and Batchelor Brooks, where they join the Connecticut river. Stony Brook is the southern point.
You can use the mouse to pan around (pressing the right button and moving) and the mouse wheel is used for zooming in/out.
- While looking at the topographic map, zoom in the area around MHC and study it carefully.
- Find Stony Brook (SB) and try to find where it starts and where it ends. Study the terrain around SB. You might want to turn on the layers called Hydro_poly and Hydro_arcs to facilitate following the streams.
- Also study the area around Batchelor Brook north of the college. Again, observe where it starts and where it ends, and how many smaller streams feed into the main stream.
You could try to imagine what the watersheds of these brooks look like by looking at the topographic map and following the instructions in the section “Watershed Delineation … Topographic Map” above, but no need to do it since we’ll use GIS to delineate the watersheds. We’re going to take advantage that the terrain data has been converted into a raster layer and we can ask the software to do the job for us.
- Turn on the layers called DEM_SB and DEM_Hillshading in the layers panel.
These are the same digital elevation models represented in two different ways, one with colors and the other in shades of gray and made somewhat transparent (just for looks!)
Delineating watersheds
Delineating watersheds in GIS requires several steps including filling surface depression (sinks) in the elevation model, determining the direction of water flow through each grid cell, identifying stream channels (flow accumulation or upslope areas), and determining the set of adjoining cells that contribute water to a particular pour point (watershed). For the purpose of this exercise some of these steps have been simplified.
These steps require a couple of input datasets, most importantly the Digital Elevation Model or DEM (terrain or surface data), and the location of the pour points or points where the water drains (in our case they’ll be the points where the two brooks join the Connecticut river).
Preliminary preparations
For the following steps we’ll use two special tools, or plugins. These plugins need to be installed by each user.
The first is called “HydroGeomorphology Tools”.
- On the top menu click Plugins>Manage and Install Plugins
- In the search bar type: Hydrogeo and select “HydroGeomorphology Tools for QGIS” in the list
- In the lower part of the Plugin window click “Install Plugin”
The second plugin will be used at the end of the exercise.
- In the search bard of the Plugin dialog type Shapefile area and select the “Shapefile Area & Length Calculator” plugin and install it.
- Close the plugin window
Now we start the analysis
Step 1 – Determine where water accumulates
- To determine where water accumulates and creates channels, open the HydroGeomorphology Tools
- Click on the Toolbox icon (sprocket-wheel icon) on the top toolbar (also under Processing in the top menu). Notice the panel (Processing Toolbox) that opens on the right of the screen.
- At the bottom of that panel open the “HydroGeomorphology Tools
- Click the down arrow in “Hydrology” and double click on 04-Upslope area.
- Make sure to enter, for Filled DTM, the layer DEM_SB
- Leave all the other fields as default.
- Click Run
When the procedure ends it shows an image called Upslope area with colored features (maybe blue) and with values from 1 to >1024 (# of pixels that contribute water to a particular pixel).
Zoom in to this layer and try to make sense of it. It shows where water accumulates on the landscape given the direction that water moves.
Every cell has a numerical value equal to the number of cells that “provide” water to it. See next figure.
Drag the Upslope area layer below the two Hydro layers and turn these two on. Observe how they relate. You might want to change the color of the Hydro_arcs layers to a different color (if your upslope layer is blue). Just double click on the blue line of Hydro_arcs in the Layers panel and choose a contrasting color, like red.
This raster layer can serve as a proxy for a hydrology layer (streams) as it shows areas where water accumulates over the terrain, which are, generally, the places where water courses are located. The value of one cell is a reflection of the number of cells, above it, that contribute water to that particular cell.

- Now, click once on the “Upslope area” layer in the Layers panel to activate it (it must show with a bluish green background; it might look different on your screen, just make sure it’s highlighted).
- Click on the information cursor on the top toolbar, then click on different parts of the water accumulation zones in the Upslope raster layer.
- Notice, in the panel that opens on the right (Identify results), the values next to “Band 1”. See how the pixel values change in different parts of the streams. Darker pixels should have larger values than lighter ones. These numbers represent the numbers of cells that contributed water to that particular pixel where you clicked.
Step 2 – Determine watersheds
You are now ready to delineate the watersheds.
- Close the Identify results panel on the right to see the full Processing Toolbox.
- Turn on the Pour_points layer in the Layers panel (if not on already) and make it active by clicking on its name (make sure it shows highlighted). Notice where the two points show in the map.

- Click on the selection tool on the top menu, notice how the mouse cursor changes.
- Click on one of the two pour points, the point will turn yellow.
- Go to the HydroGeomorphology tools > Hydrology and double-click on 06-Watershed
- For “Filled DTM” choose DEM_SB (DTM = Digital Terrain Model, the same as a DEM)
- Scroll down the selection of parameters in the watershed dialog and look for “Outlet layer” and choose Pour_points
- Click Run
This should create the watershed area for the “pour point” you selected.
- Repeat the procedure for the other pour point (Activate layer, then select the next point, then run Watershed.
- Right click on each layer’s name and choose Rename Layer, then enter the name of the watershed right there in the Layers panel.
The two calculated watershed might show in the same color (Black). We want to change the colors to at least one of them to be able to tell them apart.
- Change the colors by double clicking the grey bar below each layer’s name in the Layers Panel.
- Under Render type choose Single color and then click on the color bar and choose a suitable color. Click OK.
- Drag the two Hydro layers and the AOI_SB on top of the Layers panel and turn them on.
Export a good image of the map you made in PDF format: From the Project menu on top choose Import/Export (Choose PDF). Make sure your map shows the distinction of the two watersheds and the stream hydrology (Hydro layers) associated with each watershed.
Make sure to email (or put it in your GDrive) this file to yourself before leaving the lab.
Enjoy the product of your work!
Step 3 – Calculate area of watersheds
There are multiple ways to calculate the size of each watershed, we’ll do it in a simple way. First, we’ll convert those two watershed raster layers into vectors and then use one plugin to calculate the areas.
IMPORTANT: Remember that the northern watershed is the Batchelor Brook and the southern one is Stony Brook. Don’t mix them up!
- From the top menu Choose Raster > Conversion > Polygonize (Raster to Vector)
- Choose one the watersheds as Input layer and leave all other input as default
- Click Run.
Notice that there is a new layer of top of the Layers Panel called “Vectorized”
- Right click on the layer’s name and choose Rename Layer, then enter the name of the watershed right there in the Layers panel.
- Repeat for the second watershed, and rename the layer accordingly.
- Launch the second plugin (Shapefile Area) clicking its green looking button in the second row of tools towards the end.
- In the dialog screen, select the two vectorized watersheds and click the button “Add Selected” at the bottom.
NOTE: If you didn’t personalize the screen to Light mode as explained at the beginning, the screen might have some strange contrasts, you may need to hover the mouse over the “Add layers from QGIS workspace” in order to read the layers.
- Copy the values of Area (m2) for both watersheds
Area in meters squared of each watershed
Stony Brook Watershed: ________________________
Batchelor Brook watershed: ________________________
Areas in square kilometers of each watershed
Stony Brook Watershed: ________________________
Batchelor Brook watershed: ________________________
- When finished close the program, DON”T SAVE anything, and log out of Windows.
QGIS is a free open-source software that runs in Windows, Mac, and Linux computers. You can download it at https://qgis.org/ and run it in your computer.
To learn more about GIS you can enroll in these courses: Geog 205 (Spring), Geog 210 (Fall)
or visit Resources for learning GIS @ MHC














