HOW TO
In ArcGIS Pro, data with z-values can be observed in a 3D object scene layer or a map. However, when this data is published to ArcGIS Online, the point scene layers are automatically thinned and the z-value is no longer available, making it difficult to identify whether the points are added to a scene or a map. This task can be simplified in the web map pop-up using an Arcade expression to identify the z-value. If the data returned has an absolute zero (0) value, the point is added to the map, whereas if the values have decimal numbers more or lower than the absolute zero (0), the point is added to a scene. This is because only data added to a flat surface on a map has an absolute zero (0) value. This article provides the steps to identify if Z-enabled points are added to the map or scene using Arcade in the ArcGIS Online Map Viewer pop-up.
var geom = Geometry($feature) if (!IsEmpty(geom)) { return geom.z } else { return null }
The images below show the point features with a z-value in the pop-up in ArcGIS Online Map Viewer. The point feature with the z-value 0.37430 is added to the scene layer whereas the point feature with the z-value 0 is added to the map.
Article ID: 000031548
Get help from ArcGIS experts
Download the Esri Support App