WMS:Converting DEMs: Difference between revisions

From XMS Wiki
Jump to navigationJump to search
Line 16: Line 16:


The DEM Contours to Feature Objects command ('''Conversion|DEM Contours→Feature'''... command from the '''DEM''' menu) converts the current linear contours from the DEM to a series of Feature Arcs which could then be exported as a shapefile. Feature arcs carry an elevation attribute and the elevation of the contour is stored in this attribute. When exporting the arcs as a shapefile the elevation attribute field will be saved automatically.
The DEM Contours to Feature Objects command ('''Conversion|DEM Contours→Feature'''... command from the '''DEM''' menu) converts the current linear contours from the DEM to a series of Feature Arcs which could then be exported as a shapefile. Feature arcs carry an elevation attribute and the elevation of the contour is stored in this attribute. When exporting the arcs as a shapefile the elevation attribute field will be saved automatically.
==DEM to Stream Arcs==
The '''DEM→Stream Arcs''' command is used to create feature arcs from DEM points whose flow accumulation areas are above a defined threshold. An arc vertex is created for each DEM point that has a flow accumulation value greater than the threshold entered. Consecutive stream DEM points are then joined together as arcs with nodes created at junction points where the stream splits.
Outlet points should be created where the watershed outlet of your study area is. These outlet points could be at any DEM point, but should be in a DEM point that has a high enough flow accumulation to pass the threshold (WMS will snap outlet points to the closest threshold cell when you create them in the Drainage module). The Flow Accumulations display option can be very useful for identifying these points and for determining what an appropriate threshold area is.
The '''DEM Streams→Feature Arcs''' command can also be very useful for defining stream arcs which are later used for creating a TIN surface.
The resulting stream arcs will be jagged because they are created by inserting a vertex at the center of each DEM cell that make up the stream. In order to make the stream arcs appear smoother and more visually appealing you can [[WMS:Redistribute|redistribute vertices]] along a cubic spline. If you are using a 30 meter resolution DEM, the average length between vertices will be approximately 30 meters and it is suggested that you redistribute to about 100 meters spacing (be sure to turn on the cubic spline option). In general, redistributing to about 3 times the DEM resolution will produce good results.


==Related Topics==
==Related Topics==

Revision as of 20:32, 23 January 2013

Converting DEMs to TINs

All DEM Points

Using the Conversion | DEM→TIN command from the DEM menu, you can convert all of your DEM cell points to TIN vertices and triangulate. In general it is not efficient to do this, but it may be desirable to create the TIN for use in extracting cross sections for a hydraulic model, or other purposes where a TIN is required. More efficient ways of converting DEMs to a TIN include using a bounding polygon and interior breakline arcs (i.e. streams and/or ridges), or filtering out less important elevation points using the Filtered DEM Points command.

Filtered DEM Points

An alternative to converting every DEM elevation to a TIN vertex (especially for very large DEMs) is to filter out DEM points where the curvature in the terrain between elevation points is small (i.e. a relatively constant slope). The filter algorithm is based on Southard (1990) where a second difference (difference of differences) is computed for each of the eight neighbors (adjusted appropriately for DEM points on the boundary or corners). This second difference is the second derivative of elevation or curvature (the first difference is slope) and represents large changes in slope.

A filter rank is then specified to determine the sensitivity. By default the filter rank is 5 which means a point will be kept if 5 or more of the 8 neighbors have a lower curvature. The maximum value for the rank is 8, meaning the point is only kept if all 8 neighbors have lower curvature, and the minimum is 0, meaning all points will be kept. By adjusting based on a rank and not just the magnitude of curvature, points in flatter areas where curvature may be small, but is changing rapidly relative to the points around it.

File:WMSImage80.png

DEM Contours to Feature Objects

The DEM Contours to Feature Objects command (Conversion|DEM Contours→Feature... command from the DEM menu) converts the current linear contours from the DEM to a series of Feature Arcs which could then be exported as a shapefile. Feature arcs carry an elevation attribute and the elevation of the contour is stored in this attribute. When exporting the arcs as a shapefile the elevation attribute field will be saved automatically.

DEM to Stream Arcs

The DEM→Stream Arcs command is used to create feature arcs from DEM points whose flow accumulation areas are above a defined threshold. An arc vertex is created for each DEM point that has a flow accumulation value greater than the threshold entered. Consecutive stream DEM points are then joined together as arcs with nodes created at junction points where the stream splits.

Outlet points should be created where the watershed outlet of your study area is. These outlet points could be at any DEM point, but should be in a DEM point that has a high enough flow accumulation to pass the threshold (WMS will snap outlet points to the closest threshold cell when you create them in the Drainage module). The Flow Accumulations display option can be very useful for identifying these points and for determining what an appropriate threshold area is.

The DEM Streams→Feature Arcs command can also be very useful for defining stream arcs which are later used for creating a TIN surface.

The resulting stream arcs will be jagged because they are created by inserting a vertex at the center of each DEM cell that make up the stream. In order to make the stream arcs appear smoother and more visually appealing you can redistribute vertices along a cubic spline. If you are using a 30 meter resolution DEM, the average length between vertices will be approximately 30 meters and it is suggested that you redistribute to about 100 meters spacing (be sure to turn on the cubic spline option). In general, redistributing to about 3 times the DEM resolution will produce good results.

Related Topics