I am so curious how would I strip off elevation from the DEM.

I don't know how I would explain it further but I have attached an image to clarify this.

I wanted to eliminate the area shaded with red so that I can have the unshaded area.

The image below is a sample cross section of elevation.

I'm using ArcMap 10.1

enter image description here

  • Do you have the spatial analyst extension? Sep 18, 2014 at 3:21
  • yeah I have. . .
    – vklopt
    Sep 18, 2014 at 6:03

2 Answers 2


Building on Michael's excellent answer, I would recommend using the Con (Spatial Analyst) tool to take a "slice" out of your DEM. The first screenshot shows the parameters you would likely want to use. The second screenshot shows the results of the Con function (as stylized MDOW hillshades) derived from the resulting DEM's.

enter image description here

enter image description here

  • 1
    @Aaron Beautiful hillshade images! Nicely illustrated. Sep 18, 2014 at 19:50

There is two ways of doing this, the best is with Spatial Analyst using Extract by Attributes using the query value < 1.5, this will put NODATA in the areas where the height is greater than 1.5m. If you want to cap the raster to 1.5 so that the values are 1.5 where the raster exceeds 1.5 then use con:

Con(InRaster,InRaster,1.5,"value <= 1.5") will produce a raster where values are as input if they are less than 1.5 and 1.5 if greater than 1.5.

If you don't have spatial analyst you can do Raster to Point, query out the points that exceed the height with Select and then convert back to raster using Point to Raster (use snap raster and cell size of the original raster) this requires an Advanced license. Again this will leave NODATA areas where the value exceeds 1.5, if you want to cap the values then you will need to select and field calculate the values to 1.5 rather than extracting them.

If you don't have Spatial Analyst or Advanced license you will need to download QGIS and use QGIS Raster Calculator because you can't do it in Esri.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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