Skip to main content

Build Contours from Image Service

Description

Generates contours from provided image service. User can specify contour interval and starting elevation. Processing extent must be specified using a limit polygon. Contours are post-processed to enhance readability.

The post-processing methodology is based on workflows designed for the National Resource Conservation Service (NRCS) National Enterprise Elevation Project (NEEP) and includes:

  • Step 1 (Generate) - Initial contour lines are generated using the Contour geoprocessing tool from the Spatial Analyst toolbox with a contour interval of 2 feet.
  • Step 2 (Simplify) - Contour lines are run through the Simplify Line tool from the Cartography toolbox to remove vertices, reduce disk size and improve processing speed. The tool uses the Douglas-Peucker algorithm to retain critical points with a simplification tolerance of 10 centimeters.
  • Step 3 (Smooth) - Once simplified, contour lines are passed through the Smooth Line tool from the Cartography toolbox to enhance visual interpretation and remove any jaggedness resulting from coarse raster cell sizes. This step uses the PAEK algorithm with a smoothing tolerance of 10 meters.
  • Step 4 (Clip) - The input AOI is buffered by 10 meters during step 1. This step then uses the input AOI to clip the resulting smoothed contours back to the intended area and projects them (if needed) to the desired output coordinate system.
  • Step 5 (Remove) - If provided, contours shorter than specified length will be removed.

The methodology produces best results on high-quality (resolution) DEMs.

Usage

Parameters

Parameter NameTypeDirectionData TypeDialog Reference
Input Limit PolygonRequiredInputFeature SetInput specifying area of interest (polygon) for which to create contours.
Input Image Service URLRequiredInputStringURL of the image service to use as elevation surface for which contour lines will be constructed. The methodology produces best results on high-quality (resolution) elevation surface.
Contour IntervalRequiredInputDoubleNumber in elevation vertical units defining interval between the contour lines.
Output Contour Feature ClassRequiredOutputFeature ClassOutput feature class where contour lines will be stored.
Base Contour ElevationOptionalInputStringStarting contour elevation.
Remove Short ContourOptionalInputLinear UnitLength of short contours that will be removed. If greater than 0, any contours with length less than provided value will be removed. If set to 0, no contours will be removed.