1. Home
  2. Knowledge Base
  3. GeoHECHMS
  4. Generate Contours Command
  1. Home
  2. Knowledge Base
  3. GeoHECRAS
  4. Generate Contours Command
  1. Home
  2. Knowledge Base
  3. Getting Started
  4. Generate Contours Command
  1. Home
  2. Knowledge Base
  3. Map Data Layers Panel
  4. Generate Contours Command
  1. Home
  2. Knowledge Base
  3. Working with a HEC-HMS Project
  4. Generate Contours Command
  1. Home
  2. Knowledge Base
  3. Working with a HEC-RAS Project
  4. Generate Contours Command

Generate Contours Command

The Generate Contours command creates equally spaced contour lines from loaded elevation grid data. The user can specify major and minor contour line spacing, line weight, line colors, and more. Elevation contours help the user decide where to place cross sections on the Map View to capture the flow area most effectively as the flow travels downstream.

Follow the steps below to generate contours:

  1. From the Terrain ribbon menu, select the Generate Contours command.
  2. The Generate Contours dialog box will be displayed.

The following sections describe the Generate Contours command and how to interact with the above dialog box.

General Specifications

This section describes how to save the generated contours shapefiles and controls the selection of DEMs for contour generation from the available loaded elevation grids.

Click the […] button from the Shapefile directory entry to specify the directory location to store the generated contour shapefiles.

By default, the Layer group name is Contours and it can be changed by the user.

From the Terrain surface entry, select the DEM layer from which the contours are to be generated.

The Remove noisy contours checkbox allows the software to remove the contour layers whose elevation lies outside the range specified by the user.

The Overwriting existing contours checkbox allows the software to overwrite an existing contour layer with the same layer name.

The Thin contours (remove redundant vertices) checkbox removes redundant vertices that do not contribute to the shape of the generated contour polylines.

The Smooth contours option controls whether extra vertices are added along the contour polyline to improve their appearance.

Contour Generation Boundary Limits

The user can define the rectangular extents along which the contours are to be generated. The following options are available for defining the rectangular extents of the elevation grid:

  • Current screen limits: The software will use the Map View screen display as the boundary limit for generating contours.
  • User-defined limits: The user can draw a rectangle to define the contour limits. Click the [Pick] button to define the contour limits. The dialog box will temporarily disappear, and an information message will be displayed on the status line. Click and drag a rectangular region to define the limits. After releasing the mouse, the user will be returned to the dialog box. A layer will be created with a rectangular box to represent the user-defined selected region.
  • Clipping polygons: The user can select one or more polygons from the Map View to define the contour limits. Click the [Pick] button to select the polygon region. The dialog box will temporarily disappear, and an information message will be displayed on the status bar instructing the user on what to do next. Select the clipping polygons on the Map View. After selecting the polygons, the user is immediately returned to the dialog box. The software then displays the total number of selected polygons in the dialog box. In addition, the user can check the Crop contours to polygon boundary checkbox to crop contours to the selected polygon boundary.
  • Contour surface limits: The contours will have the same extent as the elevation grid.
  • Model extents: If a project model has been defined, this option will create a bounding rectangular region to correspond to the extents of the defined model, plus an additional buffer boundary.

Contour Processing Specifications

The Generated contours CRS dropdown combo box allows the user to select the Coordinate Reference System (CRS) that the generated contours will be created with. By default, the software selects the project’s CRS. Refer to this article in our knowledge base to learn more about coordinate reference systems.

Minor Contours

This section allows the user to create minor contours by specifying layer name, interval, width, and color. The Minor Contours checkbox is enabled by default.

  • Layer name: If the user chooses to create minor contours, then by default, the layer name will be shown as Minor Contours in the Layer name entry and the same name will be displayed in the Map Data Layers panel.
  • Interval: Specify the distance between minor contours.
  • Width: Specify the line weight of the minor contours.
  • Color: Specify the line color of the minor contours.

Major Contours

This section allows the user to create major contours by specifying layer name, interval, width, and color.

  • Layer name: By default, the layer name will be shown as Major Contours in the Layer name entry and the same name will be displayed in the Map Data Layers panel.
  • Interval: Specify the distance between major contours. The value entered here is divisible by the minor interval.
  • Width: Specify the line weight of the major contours.
  • Color: Specify the line color of the major contours.

Contours Elevation Limits

This section allows the user to define elevation limits for generating contours. For example, the user may not be interested in generating contours above the river valley in very steep terrain. This option limits the contours that are generated, thereby speeding up the process and making the size of the project file smaller.

  • Max elevation: The user can manually specify the maximum elevation limits for generating contours.
  • Min elevation: The user can manually specify the minimum elevation limits for generating contours.
  • Elevation range: This option shows the range of elevation. The [Reset] button allows the user to reset the contour elevation limits back to the extent of the elevation data.

After the contour options have been defined, click the [Generate] button and the software will generate the contours.

From the Map Data Layers panel, expand the Contours group to see the details of the generated contours. The user can also export the contours to AutoCAD or MicroStation by right-clicking on a contour layer and then selecting the Export to CAD command from the displayed context menu.

About the Author Chris Maeder

  • Was this helpful?
  • YesNo

Was this article helpful?

Related Articles