DSM basics for drainage analysis
A Digital Surface Model (DSM) maps the top of everything you can see from above โ trees, roofs, crops, and the ground beneath. When you perform a Drainage Analysis: Identification of Water Accumulation Areas with DSM, you use that surface as your reality check. Think of the DSM like a skin on a landscape: it shows the bumps and valleys that will slow or gather water and helps you spot low spots that trap water after a storm or high ridges that shed flow away.
Youโll collect DSMs from LiDAR or photogrammetry. LiDAR can pierce some vegetation and give precise heights; photogrammetry is cheaper and faster, but tall canopies and shadows can hide details. Always check resolution and vertical accuracy before you trust a drainage result: higher resolution finds small rills; lower resolution smooths them away.
To run drainage tests on a DSM, preprocess it: remove spikes, fill sinks that are artifacts, and check for noise from equipment or vehicles. Apply filters and create slope and flow-direction layers to turn raw height data into usable clues about where water will collect and how it will move.
What a DSM shows
A DSM shows the elevation of the highest surface at each point โ rooftops, tree crowns, crop canopies, windrows. Those features matter because they change local slope and ponding. If a low spot is under a tree canopy, the DSM may show a false pond that isn’t on the bare ground. Use hillshade and slope maps to highlight subtle changes, and always ask whether a ponded area is on the surface feature or the actual ground beneath it.
DSM versus DEM
A DSM records the top surface. A DEM (Digital Elevation Model) records the bare-earth surface. In drainage work, a DEM often gives a truer picture of natural flow paths because it removes trees and buildings that block water. But DSMs are useful when surface obstacles (crop rows, terraces, parked machinery) actually control how water moves.
| Feature | DSM | DEM |
|---|---|---|
| Shows vegetation/buildings | Yes | No |
| Best for surface flow over obstacles | Yes | Limited |
| Best for subsurface/bare-ground hydrology | No | Yes |
| Common sources | LiDAR, photogrammetry | LiDAR (processed), ground surveys |
You can also create a hybrid: remove buildings and tall trees from the DSM to approximate a working DEM for drainage tasks.
DSM captures surface features
Because the DSM keeps everything above ground, it captures crop height, hedgerows, field bunds, and even parked tractors. Those details are helpful when planning surface drains or temporary diversion ditches, but they can mislead: a canopy can hide true ground depressions. Always compare the DSM to ground truth or a processed DEM before finalizing drainage plans.
Water accumulation detection with DSM
Start by loading your DSM and checking resolution and noise; high-detail LiDAR or drone scans pick up small pools and furrows. Use local lows and slope maps as a first pass โ the DSM gives an aerial equivalent of walking a field looking for puddles.
Derive flow direction and flow accumulation from the DSM, then apply thresholds to flag areas where water may pool. Run a fill or depression analysis to reveal pits and basins that collect runoff. Label clusters by depth, area, and slope so you can rank risk and plan interventions such as drains or swales.
For projects, name your task clearly โ “Drainage Analysis: Identification of Water Accumulation Areas with DSM” โ and keep a simple repeatable workflow. Calibrate thresholds with a few ground checks or recent imagery. Save outputs as layers you can overlay on crop maps so your team can act fast when heavy rain is forecast.
| Indicator | What it shows | When to use |
|---|---|---|
| Local minima | Potential pooling spots | Quick scan for small depressions |
| Flow accumulation | Where water concentrates | Identify runoff paths and ponds |
| Depression depth | How deep water may collect | Prioritize repairs or drains |
| Slope | Ease of water movement | Decide if water will stand or run off |
Depression mapping (DSM)
Map depressions by finding raster cells lower than their neighbors using a moving window. Set the window size to match the scale you care about: small for tile drains, larger for seasonal ponds. Compute metrics like area, max depth, and perimeter to sort which depressions matter. Save metrics so you can filter by depth (> 0.2 m) or area (> 10 mยฒ) and make field checks where they count.
Sink detection in DSM
Detect sinks by running sink-filling or edge-based methods and comparing the filled surface to the original โ the difference gives you sink depth and shape. Review sinks visually; some are map noise or tree gaps, not real water spots. Classify sinks by connectivity: isolated pockets versus parts of a larger basin. Pair sink maps with land use and soil data so fixes match crop needs and field reality.
Detect depressions then classify
Use clear rules: set depth and area cutoffs, check connectivity, and flag land cover that traps water like compacted tracks. Run a sample of field checks to tweak cutoffs, then export classified layers for planning and drainage design.
Flow accumulation modeling
Flow accumulation maps show where water moves and pools across your field. Build them from a DEM or DSM, then run a flow algorithm to count how many upstream cells feed each pixel. When you run a Drainage Analysis: Identification of Water Accumulation Areas with DSM, the output highlights low spots and flow paths you can act on.
Before computing accumulation, do basic fixes: pit filling to remove spurious sinks, and check for resolution artifacts because small errors can flip a flow path. Apply results to irrigation layout, drainage tile planning, and placing soil sensors. Always pair the accumulation map with a quick field walk โ models tell you likely spots; your boots confirm them.
Flow directional algorithms
Pick a flow direction method that matches terrain and goals. Common choices:
| Algorithm | How it routes | Best for | Trade-off |
|---|---|---|---|
| D8 | Single neighbor (steepest) | Steep channels, coarse DSM | Fast; can create artificial straight streams |
| MFD | Splits among neighbors | Dispersed flow, gentle slopes | More realistic; costlier |
| D-infinity | Continuous angle routing | Fine-scale, smooth flow patterns | Good accuracy; needs higher-res DSM |
D8 is fast and simple; MFD or D-infinity better for broad, gentle slopes and dispersed overland flow. Balance realism with computational cost and DSM resolution.
Accumulation thresholding
Thresholding turns an accumulation raster into lines or zones. Pick a threshold in units like number of cells or contributing area. Pixels above that number become a channel or pond candidate. Run a sensitivity analysis and compare modeled channels to known ditches or aerial photos for calibration. A practical starting point is the top 5โ10% of accumulation, then fine-tune with field checks.
Create accumulation rasters
Workflow: get a clean DSM, run pit filling, compute flow direction, then compute flow accumulation. Apply your chosen threshold to extract channels or pond areas, export the raster, and compare against field checks or imagery. Keep processing notes so you can repeat or tweak parameters.
Topographic Wetness Index use
The Topographic Wetness Index (TWI) shows where water tends to sit. High TWI values mark spots that hold water longer; low values indicate places that drain fast. In precision agriculture, TWI helps pick planting locations, route drainage, and avoid areas where machines may get stuck.
TWI combines upslope area and slope. Use a good DSM or DEM and be consistent with units and cell size. Pair TWI with soil maps and field checks to target drainage or crop choices.
TWI is a traffic report for water: spot slow lanes and bottlenecks. Use TWI within your Drainage Analysis: Identification of Water Accumulation Areas with DSM workflow to target fixes, save time, and reduce crop loss.
How to compute TWI
TWI = ln(a / tan ฮฒ)
- a = upslope contributing area per unit width (derive from flow accumulation)
- ฮฒ = slope angle in radians (derive from slope raster)
Most GIS tools compute these steps; check units and convert degrees to radians if needed.
| Component | Symbol | How to get it | Quick note |
|---|---|---|---|
| Upslope area per unit width | a | Flow accumulation on DSM/DEM | Use same units across the raster |
| Slope angle | ฮฒ | Slope in radians from DEM | Convert degrees to radians if needed |
| TWI formula | TWI = ln(a / tan ฮฒ) | Apply per cell | High values โ wetter spots |
Interpreting TWI for wet spots
High TWI values point to likely wet areas but do not prove standing water. Use them to pick sample points for field checks and to plan tile drains or surface channels. Classify the TWI raster into bands (low/medium/high) and mask the high band as a wet-spot layer before ground-truthing.
Watershed delineation (DSM)
Load your DSM into a GIS and run preprocessing: fill sinks, smooth spikes, compute flow direction, and flow accumulation. These steps convert elevation into reliable drainage maps.
- Define pour points: the exact spots where water leaves a catchment โ outlets, culverts, tile inlets.
- Set pour points carefully; misplaced pour points yield wrong catchment borders.
- Run basin tools to split the landscape into sub-basins; use a flow-accumulation threshold to define the stream network first and split basins along those lines.
Use sub-basin maps to plan drainage fixes, sediment control, or targeted inputs. Always delineate watersheds and sub-basins before running hydrologic or nutrient models โ get the boundaries right first.
| Step | Purpose | Quick tip |
|---|---|---|
| Fill sinks | Remove artificial pits | Use a small buffer; donโt over-smooth |
| Flow direction | Show downslope paths | Visual check on steep areas |
| Flow accumulation | Find channels | Set threshold matched to field size |
| Place pour points | Define outlets | Verify with imagery or field check |
| Delineate sub-basins | Create management units | Label by outlet for tracking |
Terrain-derived flood mapping
Terrain-derived flood mapping uses elevation data to show where water will gather. Start with a DSM and process it into slope, flow direction, and flow accumulation to produce a living map of water movement.
Run core routines: fill sinks, compute flow direction, then make a flow accumulation raster. Apply thresholds to convert accumulation pixels into drainage lines and pond candidates. Use those maps to locate drains, pick flood-tolerant crops, and place sensors or access roads. Keep in mind DSM resolution, vegetation cover, and seasonality; repeat mapping after heavy events.
Map low-lying zones
Create a relative elevation layer by subtracting a smoothed surface (local mean) from the DSM to highlight depressions. Classify pixels below a cutoff as low-lying; test several values โ low finds deep hollows, higher shows broad flats. Use zones to guide tile placement, crop choice, or access routes.
| Input | Processing Step | Output | Quick Tip |
|---|---|---|---|
| DSM (LiDAR or photogrammetry) | Sink fill โ Flow direction โ Flow accumulation | Low-lying zones and accumulation map | Test accumulation thresholds with a known wet spot |
Flood-prone area detection
Combine flow accumulation with rainfall scenarios to detect flood-prone areas. Convert runoff to depth using your chosen event or return period and see where water volume exceeds local capacity. Run multiple scenarios โ short heavy storms and long steady rains โ to catch different failure modes.
Turn accumulation and elevation criteria into polygons of likely inundation and color-code by depth or duration for planning, signage, or emergency access.
Surface runoff identification and routing
Treat the field as a map for water. Use a DSM or high-resolution elevation grid and run a Drainage Analysis: Identification of Water Accumulation Areas with DSM workflow โ fill sinks, compute flow direction, and produce flow accumulation. These steps reveal low points and converging paths so you can see where water pools and where it heads next.
Pick parameters that match your goals: consistent cell size, cleaned DSM, and appropriate flow-direction algorithm. Mark pour points at field edges or infrastructure so you can route water to safe exits or storage. Combine elevation output with land cover and soil maps to decide thresholds for channels versus overland flow. Validate with imagery and a field walk.
Compute runoff paths
Choose a flow algorithm (D8, D-Infinity, or MFD), compute flow direction, then derive flow accumulation to highlight paths. From accumulation extract probable streams and compute downstream routing to outlets or storage.
| Algorithm | Strength | Best use |
|---|---|---|
| D8 | Simple and fast | Small farms, clear channels |
| D-Infinity | Models diagonal flow | Sloped fields, complex terrain |
| MFD | Splits flow | Sheet flow and distributed runoff |
Channel versus overland flow
Channels are narrow, deep, and carry concentrated flow โ find them where accumulation exceeds your threshold and slopes align. Overland flow is the slow sheet crossing fields before channels form โ identify it by low accumulation, gentle slopes, and soil infiltration rates. Decide where to let water spread and where to direct it; sometimes a grassy swale suffices.
Trace likely runoff routes
Trace routes by following the flow-direction raster downstream from high flow-accumulation cells and marked pour points, noting divergence and any sinks that need filling. Validate with imagery or a field check so your traced routes match how water actually behaves.
DSM-based drainage analysis tools
Use tools that read DSM and handle buildings, trees, and raised features as real obstacles. Parse the DSM to remove or flag non-ground objects so your flow paths and ponding zones reflect true surface water behavior. Then apply pit filling, flow direction, and flow accumulation on the cleaned DSM to spot low spots where water pools.
Mention Drainage Analysis: Identification of Water Accumulation Areas with DSM in reports so technicians and managers know you used surface features, not just ground elevation. Pair DSM steps with field checks โ a quick walk to a flagged low spot will confirm the model or reveal missed obstructions.
Open-source GIS options
Open-source tools give power without license fees. QGIS with SAGA and GRASS toolboxes reads DSMs, runs pit filling, and calculates flow accumulation. Use Python with GDAL and WhiteboxTools to automate repeated runs across many fields. Open-source stacks let you tweak algorithms and share workflows.
Commercial hydrology software
Commercial packages bundle DSM handling, GUI workflows, and ready-made reports. Products like HEC-HMS, ArcGIS Pro Hydrology, and specialized ag-tech platforms handle DSM inputs, produce accumulation maps, and support watershed and drainage design. They add features like automated tile design, cost estimates, and farm-management integration. Weigh license costs against scale; a hybrid approach often works best.
Pick tools that handle DSM
Choose software that explicitly lists DSM support, object filtering, and high-resolution flow accumulation. Test on a small plot: import the DSM, run pit fill, visualize flow paths, and walk the site to confirm the model matches reality.
| Tool type | DSM handling | Best for | Cost |
|---|---|---|---|
| Open-source (QGIS SAGA/GRASS) | Yes with plugins | Flexibility, low cost | Free |
| Scripting (GDAL, WhiteboxTools) | Yes via scripts | Automation at scale | Free |
| Commercial (ArcGIS Pro, HEC-HMS) | Yes, integrated | Fast setup, support | Paid |
Applying results in precision agriculture
Turn raw maps into action. Review outputs like DSM contours, yield maps, and soil moisture layers. Pay special attention to Drainage Analysis: Identification of Water Accumulation Areas with DSM so you know where water pools after a storm. Use maps to mark places for drainage, change irrigation, or alter input rates.
Match each map to a practical step: flag high-risk water spots for drains, create treatment zones for variable-rate applications, and sketch irrigation blocks. Export prescription files for machines and track changes after fixes to assess impact.
Guide drainage and irrigation fixes
Rank problems by impact using DSM and moisture maps. Start with spots where water stands longest; consider surface grading, tile drainage, or ditches. Set short-term actions (temporary pumps, shallow drains) and long-term plans (permanent tile, regrade, crop change). Log changes and monitor next season to confirm improvements.
Target variable-rate applications
Combine yield, soil tests, and DSM slope data to draw zones for seeding and fertilizers. Create prescription files for applicators, test on a small pass, and monitor post-season yields to refine future plans.
| Issue | Data used | Immediate action |
|---|---|---|
| Water pooling after rains | DSM contours moisture map | Temporary pump/trench, plan tile |
| Low yield patches | Yield map soil test | Increase fertilizer or change seed variety |
| Uneven moisture | Soil sensors irrigation map | Create separate irrigation block or adjust schedule |
Frequently asked questions
- How do you start a Drainage Analysis: Identification of Water Accumulation Areas with DSM?
Load your DSM, fill sinks, run flow direction, compute flow accumulation, and flag high-accumulation cells for field checks. - What tools do you use for Drainage Analysis: Identification of Water Accumulation Areas with DSM?
QGIS (SAGA/GRASS), ArcGIS Pro, TauDEM, WhiteboxTools, GDAL; cloud tools if you need scale. - How do you pick a threshold in Drainage Analysis: Identification of Water Accumulation Areas with DSM?
Run sensitivity tests, compare modeled channels to known ditches or imagery, and tune until areas match reality; start with an intermediate percentile (e.g., top 5โ10%) then refine. - How do you validate results from Drainage Analysis: Identification of Water Accumulation Areas with DSM?
Check aerial photos, perform field visits, compare to streams and ponds, fix errors (filter/smooth DSM) and rerun. - What common errors happen in Drainage Analysis: Identification of Water Accumulation Areas with DSM and how do you fix them?
Noise and spurious sinks cause false pools. Smooth or filter the DSM, fill sinks, add breaklines, and use finer resolution when possible. Pair model outputs with quick ground truthing.
Use the workflows here as a repeatable checklist for Drainage Analysis: Identification of Water Accumulation Areas with DSM โ preprocess, compute, threshold, validate, and apply โ and youโll turn elevation data into practical drainage solutions.

Lucas Fernandes Silva is an agricultural engineer with 12 years of experience in aerial mapping technologies and precision agriculture. ANAC-certified drone pilot since 2018, Lucas has worked on mapping projects across more than 500 rural properties in Brazil, covering areas ranging from small farms to large-scale operations. Specialized in multispectral image processing, vegetation index analysis (NDVI, GNDVI, SAVI), and precision agriculture system implementation. Lucas is passionate about sharing technical knowledge and helping agribusiness professionals optimize their operations through aerial technology.

