Z Resolution (Environment setting)

Tools that honor the Z Resolution environment will apply the z-resolution to output geodatasets. The z-resolution, expressed as a very small distance, refers to the number of significant digits used to store z-coordinate values.

For a description of the default z-resolution, see the following topic: Spatial reference and geoprocessing.

Usage notes

  • This environment setting will be ignored if the output is within a geodatabase feature dataset.
  • If the Z Resolution environment is not set, tools such as Create Feature Class, Create Feature Dataset, and Create Raster Catalog will set the default z-resolution at 0.0001 units.

Dialog syntax

Z Resolution—The z-resolution to be set on the output geodatasets. Set this environment if the default z-resolution is inadequate.

Scripting syntax

arcpy.env.ZResolution = linear_unit

ParameterExplanation

linear_unit

Sets the z-resolution to be used on output geodatasets. The z-resolution, expressed as a very small distance, refers to the number of significant digits used to store z-coordinate values.

ZResolution syntax

Script example

import arcpy

# Set the ZResolution environment to a linear unit
arcpy.env.ZResolution = "0.002 Meters"

Related topics