Wednesday, December 8, 2010

Basic Slope Analysis


This is a slope analysis. It's fairly simply to produce in ESRI ArcGIS.  Download the elevation data and process it using the Spatial Analyst tool under the Surface Analyst context menu.  This is showing a single tile DEM west of Austin near Mansfield dam.

You should make sure your data frame is in the same units as your z-values for your DEM or you'll get wonky results that may look right but will have bad slope values.  Most DEMs that I have used have been in meters.

If you want to Mosaic several DEMs to a new Raster dataset there is a tool called Mosaic to New Raster.  If the resulting raster has zeros or NoData cells (at the seams between the tiles) you need to use the Raster Calculator and this formula
FilledDEM = Con(isnull([Your DEM]),Focalmean([Your DEM], rectangle,4,4),[Your DEM])

This is a Conditional formula that looks for null values in your DEM when it finds this situation it will fill these cells with the mean value of a 4x4 rectangle of the surrounding cells.

No comments:

Post a Comment