ArcGIS for Desktop

  • Documentation
  • Pricing
  • Support

  • My Profile
  • Help
  • Sign Out
ArcGIS for Desktop

ArcGIS Online

The mapping platform for your organization

ArcGIS for Desktop

A complete professional GIS

ArcGIS for Server

GIS in your enterprise

ArcGIS for 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
  • Pricing
  • Support
Esri
  • Sign In
user
  • My Profile
  • Sign Out

Help

  • Home
  • Get Started
  • Map
  • Analyze
  • Manage Data
  • Tools
  • More...

Default Output Z Value (Environment setting)

  • Usage notes
  • Dialog syntax
  • Scripting syntax

Tools that honor this 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, which 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
  • An overview of geoprocessing environments
  • Environment levels and hierarchy
  • Setting geoprocessing environments
Feedback on this topic?

ArcGIS for Desktop

  • Home
  • Documentation
  • Pricing
  • Support

ArcGIS Platform

  • ArcGIS Online
  • ArcGIS for Desktop
  • ArcGIS for Server
  • ArcGIS for Developers
  • ArcGIS Solutions
  • ArcGIS Marketplace

About Esri

  • About Us
  • Careers
  • Insiders Blog
  • User Conference
  • Developer Summit
Esri
© Copyright 2016 Environmental Systems Research Institute, Inc. | Privacy | Legal