Output has Z values


Specifies whether output feature datasets will contain z-values.

TINs and features with 3D geometries (pointZ, polylineZ, polygonZ, and multipatch shapes, for example) are automatically drawn in 3D. Rasters (grids and images) and 2D features are drawn as though they were resting on a flat surface. To view rasters and 2D features in 3D, you need to define their z-values.

Some features include z-values in their feature geometry. If you examine the attribute tables of these features, you will see that the shape field says PointZ, PolylineZ, or PolygonZ. Features with 3D geometry are automatically displayed in 3D in a scene using the z-values from the feature geometry. You can set the base height of these features using an attribute or a surface if you do not wish to use the built-in z-values. If you then want to switch back to using the z-values, click the Layer features have z-values. Use them for the heights option.

Usage tips

Command line syntax

An overview of the command line window

OutputZFlag <DEFAULT | enabled | disabled>


Parameters Explanation Datatype
<DEFAULT | enabled | disabled> Specifies whether output feature datasets will contain z-values.

  • DEFAULT—If input features have z-values, then the output features will have the ability to hold z-values. If the input features do not contain z-values, then the output feature dataset will not contain z-values. This is the default.
  • enabled—All output features will contain z-values.
  • disabled—No output features will contain z-values.
String

Data types for geoprocessing tool parameters

Command line example

OutputZFlag enabled

Scripting syntax

An overview of scripting in geoprocessing

OutputZFlag (outputZFlag)


Parameters Explanation Datatype
outputZFLag (Required) Specifies whether output feature datasets will contain z-values.

  • DEFAULT—If input features have z-values, then the output features will have the ability to hold z-values. If the input features do not contain z-values, then the output feature dataset will not contain z-values. This is the default.
  • enabled—All output features will contain z-values.
  • disabled—No output features will contain z-values.
String

Data types for geoprocessing tool parameters

Script example

import arcgisscripting
gp = arcgisscripting.create()

gp.Workspace = "h:/workspace"
gp.OutputZFlag = "enabled"

See Also