2

I have elevation data in a raster, river (blue line) and the flooded area (black polygon) as shown in the image below:

enter image description here

I want to find the water depth in the flooded area (inside the black polygon). Outside of the polygon, water depth is obviously zero. Inside the polygon, the land elevation is lower than outside (At least it should be)

What I tried to do and did NOT work was this: I assigned nodata value to the points inside the polygon. Then I used Eucilidean Allocation to find the closest points just outside the polygon and assign it to nodata points. Then, I Subtracted the original land elevation raster from this new raster. However, I get big negative values because after all, it was not a good method at all.

Now, I am thinking: I need to follow the water stream line. At each point, draw a perpendicular line to the river and let it intersect minimum two times with the polygon. Find the average value of cells inside a circle (with those intersections as center). Find the mean of these averages. apply this value too all points in that cross section (perpendicular line to the river). Now, is there any way on earth I can do this? Hopefully I don't need a for loop for this? Do you guys have any other suggestions, perhaps easier ways?

I am using ArcGIS 10.1 with Spatial Analyst and 3D Analyst extensions.

  • Just an observation, how did you get accurate points inside a watercourse? is it non-perennial? I regularly process LiDAR data and most sensors will not penetrate water. To give elevation inside a waterbody triangulation is applied but it's nowhere near accurate and takes the closest dry point and stretches it over the water area. – Michael Stimson Jul 1 '14 at 21:49
  • Does your polygon have z information? Your approach is correct - you need to create a surface raster out of the flood area elevation and then subtract the original from it to get the difference, or flood depth. What kind of 'big negative values' are you getting? I'm thinking your creation of the new flood surface raster might have had an issue. – Chris W Jul 1 '14 at 22:08
  • Michael, You are absolutely right. The accuracy of the DEM inside of river channels are questionable. I am trying to do the best I can to get the flood depth from the extent polygon I have. – ahoosh Jul 1 '14 at 22:13
  • Chris! My polygon does not have z information. The negative values are due to very large size of grids (10x10 m). – ahoosh Jul 1 '14 at 22:15
  • 1
    @ChrisW, that's hydro-flattening. Trust me when I say it's not that easy. I put two months into developing, refining and testing a hydro-flattening program... and have the scars to prove it! For this simple model I think you should get the elevation onto the line, make a terrain from it then terrain to raster, extract by the original polygon and then difference that. If that makes sense let me know and I'll write it up as an answer with better descriptions. – Michael Stimson Jul 3 '14 at 0:51
2

To do this you would need a 3d Analyst and Spatial Analyst license.

First, elevate your waterbody using Interpolate Shape, this will give the baseline for your elevations by attributing the polygon with the Z values from the DEM to each vertex.

Build a terrain with your waterbodies as the elevation data source (perhaps buffer by a small amount and include that as hard clip) and use Extract by Mask to get only the water area by using the waterbodies as the mask; we only want the elevation inside the waterbodies because, as you said, outside the waterbody boundary the depth is 0.

Convert your terrain to raster using Terrain to Raster which will give raster inside the waterbodies at the same level as the baseline (edges).

Now do raster calculation and subtract the original DEM with the rivers. The difference raster should be now the depth of the water, or more correctly the bed below the bank.

  • I have a problem with building the terrain from the elevated waterbody. "Build terrain" function does not accept my elevated waterbody as input. Here's the code I use to make the elevated waterbody: arcpy.InterpolateShape_3d(DEM, Flood_extent_shp, waterbody_elevated_shp, "", "1", "BILINEAR", "DENSIFY", "0") – ahoosh Jul 3 '14 at 15:25

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.