WMS:Converting DEMs: Difference between revisions

From XMS Wiki
Jump to navigationJump to search
No edit summary
 
(19 intermediate revisions by the same user not shown)
Line 1: Line 1:
DEM files can be converted by WMS into TINs or feature objects.
==Converting DEMs to TINs==
==Converting DEMs to TINs==
DEMs can be converted to TINs using one of two commands.


===All DEM Points===
===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 [[WMS:Creating TINs|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.
Using the ''Conversion'' | ''DEM→TIN'' | '''All''' command from the ''DEM'' menu will convert all of the 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 [[WMS:Creating TINs|bounding polygon]] and interior breakline arcs (i.e. streams and/or ridges), or filtering out less important elevation points.


===Filtered DEM Points===
===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 [[WMS:References|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.  
An alternative to converting every DEM elevation to a TIN vertex (especially for very large DEMs) is to filter out DEM points using the ''Conversion'' | ''DEM→TIN'' | '''Filtered''' command. Filtering occurs where the curvature in the terrain between elevation points is small (i.e. a relatively constant slope). The filter algorithm is based on [[WMS:References|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.
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.


[[Image:WMSImage80.png]]
[[Image:DEMconversion opts.png]]


==DEM Contours to Feature Objects==
==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.
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==
* [[WMS:Creating TINs|Creating TINs from Feature Objects]]
* [[WMS:Creating TINs|Creating TINs from Feature Objects]]
* [[WMS:References|References]]
* [[WMS:References|References]]
* [[WMS:Save As|Saving a Shape File]]
* [[WMS:File Menu#Save As|Saving a Shape File]]
* [[WMS:Convert TINs#TIN Contours to Feature Objects|TIN Contours to Feature Objects]]
* [[WMS:Convert TINs#TIN Contours to Feature Objects|TIN Contours to Feature Objects]]




{{WMSMain}}
{{WMSMain}}
[[Category:DEM|C]]
[[Category:DEM Dialogs]]

Latest revision as of 22:42, 17 December 2019

DEM files can be converted by WMS into TINs or feature objects.

Converting DEMs to TINs

DEMs can be converted to TINs using one of two commands.

All DEM Points

Using the Conversion | DEM→TIN | All command from the DEM menu will convert all of the 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.

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 using the Conversion | DEM→TIN | Filtered command. Filtering occurs 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.

DEMconversion opts.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.

Related Topics