I have a bare earth DEM made from lidar data (A).

It works well and has passed all accuracy tests. It is used in storm surge models. The problem we are having is on underpasses. I need to allow water to flow through underpasses when one road crosses another. My thought is to:

1) Get all roads marked as bridges from OSM.

2) The select all the crossing roads that cross under them (intersect).

3) Then on the new selection of new road segments (2) convert these to raster.

4) Extract all the DEM (A) values under these road segments.

5) Select the minimum of these values under the new road segment (2).

6) Burn this minimum value into the DEM I have to cut a channel through the underpass.

Open to all suggestions, improvements, ideas on how to achieve this including entirely different solutions.

Other options are just get the intersect point and grow this out or maybe identify sinks and work back from this.


Martin is correct that while your workflow will do well for a specific user case, it doesn't account for many of the issues that road embankments create for flowpath modelling using fine-resolution LiDAR data, such as the problems with discontinuous flow in roadside ditches and the effects of minor unmapped culverts (which can alter flowpaths considerably). I recommend two approaches to dealing with the apparent damming of flowpaths resulting from road embankments (i.e. the inability to represent culverts and bridges adequately in raster DEMs). I have implemented both approaches in the free and open-source GIS Whitebox Geospatial Analysis Tools. First, if you have a good road and stream dataset you may use the Burn Streams at Roads tool to enforce flow from one side of the embankment to the other through restricted stream burning. (Note that I am generally not a fan of full-out stream burning to enforce flowpaths when using LiDAR data because mapped stream networks are rarely as accurate as LiDAR derived streams, i.e. the mapped stream will sometimes fall off of the DEM-derived digital stream.) This is only an adequate solution when your road and stream layers are of high quality, and it is often the case that the LiDAR data represents streams better than blue-line networks derived from map data.

The second approach is more inclusive and that is to apply the Breach Depressions tool to the DEM. The implementation of depression breaching in Whitebox uses a least-cost pathway approach to determining the breach path. This method is particularly well suited to reinforcing flow along roadside ditches and to identifying locations where culverts or bridges cut through road embankments (see illustration below). This can provide a much more suitable solution even when there are no ancillary data (e.g. a high quality road or stream network). It also will solve the common problem that road embankments cause when using depression filling to model surface flowpaths, i.e. the large artifact dams that often appear within river valleys behind embankments.

enter image description here

enter image description here

enter image description here

And here's an example of that artifact damming that can occur behind road embankments when using depression filling:

enter image description here


I've just released the latest version of the software, which includes the Burn Streams At Roads tool described in this post.

  • Thanks, this is very interesting I will pursue it for round two of my project. – If you do not know- just GIS Sep 15 '14 at 14:35
  • @usertwoseventwothreenine The Burn Streams At Roads tool has yet to be publicly released but you can get a preview of it at the Whitebox code repository if you'd like to play with it. The breach depressions tool is there though. If you need any guidance when playing with it, just send me an email and I'd be happy to help. – WhiteboxDev Sep 15 '14 at 14:37
  • I do some agriculture work and I think this tool will be most useful for flow at field margins. Thanks – If you do not know- just GIS Sep 18 '14 at 2:01
  • What is the name of this this in the new whitbox, whitebox? Offs it on the standard release now. – If you do not know- just GIS Jan 9 '16 at 20:19
  • @Ifyoudonotknow-justGIS It's called Burn Streams At Roads and it can be found in the Hydrological Tools => DEM Pre-processing toolbox. It should be available in the latest version of Whitebox. If you have issues with it, just send me an email and I'll help. – WhiteboxDev Jan 21 '16 at 0:49

This looks like a valid workflow for this task. However, depending on the level of accuracy that you work with, you will miss out on things like pipes under roads allowing for ditches and small creeks to flow past the road. These would probably require some field work to identify though.

You don't mention which software you use, but for ArcMap point (6) make sure to use Calculate cell statistics rather than Mosaic raster, since it doesn't do any unnecessary interpolation.

Best of luck, and please share your experiences here once you've tried it out!

  • 1
    Thanks I was thinking Con function in ArcGIS (under the line) for step 6 using the snap raster as the original DEM and Zonal Minimum in ArcGIS for step 4. – If you do not know- just GIS Apr 20 '14 at 15:34
  • Thanks, my first task is underpasses for now. If I can get that operational then small creeks etc will come next. Maybe I could use the same method for creeks by getting blue lines and seeing where they intersect roads. – If you do not know- just GIS Apr 20 '14 at 15:36

Ok here is the image

enter image description here

Blue are the bridges from OSM. The DEM is in grey-scale with buildings (I want buildings)

I selected the intersect roads that cross the bridges.

Buffered the selected roads by the approximate width of a road.

Ran 'Zonal Minimum' on the buffer.

Now you have the zonal minimum raster (red) with the low values.

The I just used CON to blend the two rasters (original and zonal min) so I have the original DEM with the new lower values just in the red area.

Seems to work great.

Now to do in batch.

The batch worked and the process appears to alter our flood model in the anticipated manner. Our new model outputs now align much better with the FEMA measured water marks in areas of underpasses.

I assumed the opening was total for bridges which I think is a safe assumption.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.