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.
- If the output is in a feature dataset, the environment will be ignored as all geodatasets inside 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 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.
- Same as Input—Use the default z-domain (calculated based on the input).
- As Specified Below—Use the fields below to specify the valid z-coordinate range:
- Min Z—Minimum z-value
- Max Z—Maximum z-value
Scripting syntaxarcpy.env.ZDomain = "zMin zMax"
Setting ZDomain to an empty string will default to using the z-domain from input data.
import arcpy # Set the Z Domain to a minimum of 0 and a maximum of 25000 arcpy.env.ZDomain = "0 25000"