laptop and a wrench

Error

Empty or Null M geometry returns the warning message: "WARNING 000635: Skipping feature <values> because of NULL or EMPTY geometry" when using the Calculate Geometry Attributes on a selected field for setting the point M-values.

ArcGIS Pro
Número de ID del error BUG-000173742
EnviadoJanuary 21, 2025
Última modificaciónJune 19, 2025
Relacionado conArcGIS Pro
Versión encontrada3.3.2
Sistema operativoWindows OS
Versión de sistema operativo11.0 64 bit
EstadoAs Designed

Información adicional

This warning message is the expected behavior, and the message accurately describes the issue. M values cannot be calculated when this part of the geometry is empty.

Solución alternativa

If the desired M-values for every vertices in a field is available, use the below Python code:

import arcpy

# set workspace environment

arcpy.env.workspace = r"<the path to the geodatabase>"

# Feature class to update

fc = "BECSM"

# field name that contains values we want to assign to M

field_name = "Measures"

# Use Update cursor to update M-Values

with arcpy.da.UpdateCursor(fc, ["SHAPE@M", field_name]) as cursor:

 for row in cursor:

  # Get geometry and field value

  row[0] = row[1]

  # update the row with the new value

  cursor.updateRow(row)

Pasos para reproducir

ID del error: BUG-000173742

Software:

  • ArcGIS Pro

Recibir notificaciones cuando cambie el estado de un error

Descargar la aplicación de soporte de Esri

Descubrir más sobre este tema

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Descargar la aplicación de soporte de Esri

Ir a opciones de descarga