laptop and a wrench

Erro

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 do Erro BUG-000173742
EnviadoJanuary 21, 2025
Última ModificaçãoJune 19, 2025
Aplica-se àArcGIS Pro
Versão encontrada3.3.2
Sistema OperacionalWindows OS
Versão do Sistema Operacional11.0 64 bit
StatusAs Designed

Informações Adicionais

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.

Solução Provisória

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)

Etapas para Reproduzir

ID do Erro: BUG-000173742

Software:

  • ArcGIS Pro

Seja notificado quando o status de um erro mudar

Baixe o Aplicativo de Suporte da Esri

Descubra mais sobre este tema

Obtenha ajuda de especialistas do ArcGIS

Entre em contato com Suporte Técnico

Baixe o Aplicativo de Suporte da Esri

Ir para as opções de download