HOW TO

Edit a z-aware hosted feature layer in ArcGIS Online

Last Published: August 5, 2022

Summary

Editing a z-enabled ArcGIS Online hosted feature layer fails with the following error, observed in a web browser's developer tools or Fiddler:

Error: 
'add' parameter is invalid.
The specified geometry is not in the correct format. Geometry does not have z-values
Cannot not perform operation. Invalid operation parameters.
By default, ArcGIS Online disables z-values on publishing a z-enabled layer as a hosted feature service.

ArcGIS Online Web Maps and applications are two-dimensional; they cannot interpolate a z-value unless the new features are snapped to an existing 3D feature or the layer has a non-null default z-value. Otherwise, the default z-value is NULL. Since geometric properties cannot be NULL, no new feature is created.
Note:
Even sharing a Web feature layer from ArcGIS Pro with the 'Elevation' property set for the z-enabled feature layer behaves identically.

Procedure

If possible, publish the contents by uploading a zipped file geodatabase as an item to ArcGIS Online. This keeps the enableZDefaults property as true on the hosted feature layer. (This can be verified from the Update Definition operation available at Admin REST end directory.)

Article ID:000014234

Software:
  • ArcGIS Pro 1 x
  • ArcMap
  • ArcGIS Online

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Related Information

Discover more on this topic