Since version: 1.5
In the Feature Z profile, expressions can be written to calculate z values for features in a 3D scene or to define the draw order for sorting features in a 2D map view. This is useful in datasets where z information is stored in an attribute instead of the feature's geometry. You can use this profile to return the attribute in lieu of a missing z value. Expressions in this profile must return a Number representing the Z coordinate of the geometry.
This profile was created for use in the following contexts:
- ArcGIS Pro
- ArcGIS Maps SDKs for Native Apps
|$feature||Feature||The feature requiring a Z value.|
The following example gets the geometry of the feature, and adds the value of the
HEIGHT attribute, to create an adjusted height value.
var adjustedHeight = Geometry($feature).z + $feature.HEIGHT; return adjustedHeight;