Q: How can I create a DEM from contour lines?
Answer
Depending on what you want to use the resulting raster for, there are a few alternatives. It is possible to generate a DEM from a contour line shapefile, though some methods will tend to have "stair-step" artifacts and lower spatial resolution than the original data. Adding data from other sources and pre-processing your contours can reduce these problems.
- You can use the contour lines as input to build a TIN, and then export the TIN to raster.
See these ESRI Webhelp pages:
http://resources.arcgis.com/en/help/main/10.2/index.html#/What_is_a_TIN_surface/006000000001000000/
http://resources.arcgis.com/en/help/main/10.2/index.html#/Creating_TIN_surfaces_from_vector_data/006000000002000000/
http://resources.arcgis.com/en/help/main/10.2/index.html#/Fundamentals_of_editing_TIN_surfaces/006000000004000000/
- If you have the 3D Analyst extension use the "Topo" tool. It is designed to create hydraulically correct surfaces, but requires additional input data; see this ESRI webhelp link:
http://resources.arcgis.com/en/help/main/10.2/index.html#/Topo_to_Raster/00q90000000s000000/
The additional data, such as streams, local high points (hilltops), lakes, and sinks, will help you create better results both in Topo and in generating a TIN.
- If you only need a rough approximation of the terrain you can convert the contour lines to points (e.g. their vertices become points with the height attribute) and then subsample the points and interpolate a surface with a Spatial Analyst or 3D Analyst interpolation tool, such as IDW:
http://resources.arcgis.com/en/help/main/10.2/index.html#/IDW/00q90000001s000000/
See Also
Created by MIT GIS Services. Email gishelp(at)mit.edu for more assistance.