laptop and a wrench

Bug

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
Bug-ID-Nummer BUG-000173742
EingereichtJanuary 21, 2025
Zuletzt geändertJune 19, 2025
Gilt fürArcGIS Pro
Gefunden in Version3.3.2
BetriebssystemWindows OS
Betriebssystemversion11.0 64 bit
StatusAs Designed

Zusätzliche Informationen

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.

Workaround

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)

Schritte zur Reproduzierung

Bug-ID: BUG-000173742

Software:

  • ArcGIS Pro

Benachrichtigung erhalten, wenn sich der Status eines Bugs ändert

Esri Support App herunterladen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln