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...

Output has Z Values (Environment setting)

  • Usage notes
  • Dialog syntax
  • Scripting syntax

Tools that honor the Output has Z Values environment will control whether the output geodataset will store z-values.

Usage notes

  • As each feature is written to the output feature class, each vertex that does not already have a z-value will be assigned the value in the Default Output Z Value environment. If the Default Output Z Value environment is not set, then a value of 0 (zero) will be set.

Dialog syntax

  • Same As Input—If the input has z-values, then the output will have z-values. If it does not have z-values, then the output will not have z-values. This is the default.
  • Enabled—The output will have z-values.
  • Disabled—The output will not have z-values.

Scripting syntax

arcpy.env.outputZFlag = output_z_flag

output_z_flagExplanation

Same As Input

Same as the input: if input has z-values, then the output will have z-values. If does not have z-values, then the output will not have z-values.

Enabled

Output features will have z-values.

Disabled

Output features will not have z-values.

outputZFlag syntax

Script example

import arcpy

# Set the outputZFlag environment to Enabled
arcpy.env.outputZFlag = "Enabled"

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