Skip to main content

Calculate Cut Fill Volume (Image Analyst Tools)

Summary

Calculates the cut and fill volumes between a base elevation surface and an elevation raster. A cut and fill raster can also be generated. The base elevation surface can be specified with different types, such as a feature class containing one or more polygons, a polygon array, a JSON string or file, or a raster.

Usage

  • The Output Cut Fill Raster parameter value is a raster dataset comprised of areas depicting areas where material has been removed (cut), and areas where material has been added (fill). Click the output cut fill raster dataset to display the cut and fill information in the Image Information pane.

  • In the Output Cut Fill Raster parameter value, the volume values for cut areas are positive, and fill areas are negative values. For example, a pixel value of -0.000305 means cubic meters fill.

  • When the input Base Surface parameter value is polygons, the enabled Base Surface Type parameter options are Surface, Minimum, Maximum, Mean, Constant Z, and Geometry Z.

  • The Output Volume Info parameter value will contain the cut and fill volume information in a .txt or .json file. A sample output is listed below:

    [
      {
        "area" : 19009.705386691581,
        "cut" : 19216.883079243154,
        "fill" : -31352.230228323864,
        "cutCellCount" : 668750,
        "fillCellCount" : 936135,
        "minz" : 24.048617219013618,
        "maxz" : 239.59296198262672,
        "meanz" : 127.5100044561793
      }
    ]
    

    The information in the file is organized as follows:

    • area—The area in square meters

    • cut—The cut volume in cubic meters

    • fill—The fill volume in cubic meters

    • cutCellCount—The number of cut cells

    • fillCellCount—The number of fill cells

    • minz—The minimum elevation value in meters

    • maxz—The maximum elevation value in meters

    • meanz—The mean elevation value in meters

Parameters

Label Explanation Data type

Input DSM

The input digital surface model (DSM) elevation raster. This input DSM raster is compared with the base elevation raster.

Raster Dataset; Mosaic Dataset; Mosaic Layer; Raster Layer; Image Service

Base Surface

The base elevation surface that will be used for calculating cut and fill volumes. The base elevation surface supports different types, such as a feature class containing one or more polygons, a polygon array, a JSON string or file, or a raster.

Raster Dataset; Mosaic Dataset; Mosaic Layer; Raster Layer; Image Service; Feature Class; Feature Layer; String; File

Base Surface Type

Specifies the base surface type that will be used for the base surface.

  • SurfaceThe height values of the input DSM at the polygon's vertex's location will be used to construct the base surface.

  • MinimumThe minimum height value of the input DSM for the perimeter of the base surface polygon will be used as the base surface.

  • MaximumThe maximum height value of the input DSM for the perimeter of the base surface polygon will be used as the base surface.

  • MeanThe average height value of the input DSM for the perimeter of the base surface polygon will be used as the base surface.

  • Constant ZThe constant z-value will be used as the base surface.

  • Geometry ZThe z-value of the 3D geometry vertices will be used to construct the base surface. If this option is used with a feature class without elevation, the height value from the Input DSM parameter value will be used.

  • DSMA DSM will be used as the base surface.

String

Constant Z

(Optional)

The value that will be used to define the elevation plane for performing the volume calculation.

This parameter is active when the Base Surface Type parameter is set to Constant Z.

Linear Unit

Output Volume Info

(Optional)

The output file with cut and fill volume information. The file can be a .txt file or .json file. The results will be in square meters for area calculations and in cubic meters for volume calculations.

File

Output Cut Fill Raster

(Optional)

The output cut and fill volume raster. Provide a file extension to denote different formats for the raster dataset. The parameter supports commonly use raster types, such as .tif, .crf, .img, GRID, and file geodatabase raster.

Raster Dataset

Environments

This tool does not use any geoprocessing environments.

Licensing information

  • Basic: Requires Image Analyst
  • Standard: Requires Image Analyst
  • Advanced: Requires Image Analyst