WMS:Editing DEMs

From XMS Wiki
Jump to navigationJump to search

Trimming DEMs

File:WMS DEM Trim by Elevation.jpg
DEM Trim by Elevation dialog

The Trim command is used to set the area of DEM that will be worked with. A DEM by definition includes a rectangular area, but some may not need to process in the entire area to delineate a watershed, or prepare information for a hydraulic model so it is convenient to be able to trim away the parts of the DEM that are not needed.

The illustration belows indicates a rectangle that bounds the area of interest within a larger DEM model.

WMSImageSetActiveRgn.png

When choosing the Trim command, enter a polygon interactively or select an existing feature polygon in order to identify the region of interest within the DEM. If a polygon is already selected prior to choosing the Trim command then the selected polygon will be used for trimming without a prompt. When trimming with a polygon, only the DEM points within the polygon will have active elevations as everything outside the polygon, but within the bounding rectangle of the polygon is set to a NODATA value as illustrated in the figures below.

WMS DEM TrimArea.png WMS DEM trimmed.png

Filling Gaps Between DEMs

When reading in multiple DEM files that are adjacent, a small area or gap between the DEMs may have no elevation data. The Fill command will interpolate an elevation for the selected DEM cells (or scan automatically for all such regions if a cell block is not selected) that are classified as "NODATA." The elevation for a selected NODATA cell is determined using inverse distance weighted interpolation from its eight nearest neighbor cells (if any of the eight neighboring cells are NODATA cells then they are not used in the interpolation). This command is intended to correct single isolated DEM points or a single row/column, and is not intended to create data for large regions of NODATA cells, especially regions on the border of the DEM.

Deleting DEMs

The Delete command in the DEM menu will delete from memory (not the hard drive) the current DEM. A DEM may also be deleted by right-clicking in the Project Explorer and choosing the Delete command.

Related Topics