ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • My Profile
  • Help
  • Sign Out
ArcGIS Desktop

ArcGIS Online

The mapping platform for your organization

ArcGIS Desktop

A complete professional GIS

ArcGIS Enterprise

GIS in your enterprise

ArcGIS Developers

Tools to build location-aware apps

ArcGIS Solutions

Free template maps and apps for your industry

ArcGIS Marketplace

Get apps and data for your organization

  • Documentation
  • Support
Esri
  • Sign In
user
  • My Profile
  • Sign Out

ArcMap

  • Home
  • Get Started
  • Map
  • Analyze
  • Manage Data
  • Tools
  • Extensions

Default Output Z Value (Environment setting)

  • Usage notes
  • Dialog syntax
  • Scripting syntax

Tools that honor the Default Output Z Value environment will set the z-coordinate for each output vertex that does not already have a z-coordinate.

For example, if using the Merge tool with two feature classes, one that is z aware and one that is not, the default output z-value (or 0, if the environment is not set) will be assigned only to the vertices that originated from the input feature class that was not z aware.

Usage notes

  • The environment will only be used if the output is a z-aware feature class. For further details, see Output has Z Values.
  • A unique z-value, such as -9999, that is outside the range of normal z-coordinates can be used to help identify vertices that were assigned the default z-value.

Dialog syntax

Default Output Z Value—The z-coordinate that will be set on feature vertices written to the output feature that do not already have a z-coordinate.

Scripting syntax

arcpy.env.outputZValue = double

ParameterExplanation

double

The z-coordinate that will be set on feature vertices written to the output feature that do not already have a z-coordinate.

outputZValue syntax

Script example

import arcpy

# Set the outputZValue environment to Enabled
arcpy.env.outputZValue = 100

Related topics

  • Spatial reference and geoprocessing
  • The properties of a spatial reference
  • What is a geoprocessing environment setting?
  • Setting geoprocessing environments

ArcGIS Desktop

  • Home
  • Documentation
  • Support

ArcGIS

  • ArcGIS Online
  • ArcGIS Desktop
  • ArcGIS Enterprise
  • ArcGIS
  • ArcGIS Developer
  • ArcGIS Solutions
  • ArcGIS Marketplace

About Esri

  • About Us
  • Careers
  • Esri Blog
  • User Conference
  • Developer Summit
Esri
Tell us what you think.
Copyright © 2021 Esri. | Privacy | Legal