Output Z Domain (Environment setting)

Tools that honor the Output Z Domain environment will generate output datasets with the specified z-domain.

This environment allows the overriding of the default output spatial reference's z-domain. For a description of how the default z-domain is calculated, see Spatial reference and geoprocessing.

Usage notes

  • If the output is in a feature dataset, the environment will be ignored, as all geodatasets in a feature dataset automatically have the same z-domain.
  • When both the Z Resolution environment and the Output Z Domain environment are set, the Z Resolution value is used as well as the Output Z Domain's minimum z-value.
  • It is recommended that you use the Z Resolution environment in conjunction with the Output Z Domain environment to avoid creating a dataset with extremely small resolution value. Extremely small resolution values can lead to a deterioration of performance and additional storage requirements.

Dialog syntax

  • Same as Input—Use the default z-domain (calculated based on the input).
  • As Specified Below—Use the following fields to specify the valid z-coordinate range:
    • Min Z—Minimum z-value
    • Max Z—Maximum z-value

Scripting syntax

arcpy.env.ZDomain = "zMin zMax"



The minimum z-value.

Setting ZDomain to an empty string will default to using the z-domain from input data.


The maximum z-value.

ZDomain syntax

Script example

import arcpy

# Set the Z Domain to a minimum of 0 and a maximum of 25000
arcpy.env.ZDomain = "0 25000"

Related topics