laptop and a wrench

Erro

Arcpy.Polygon produces a 0.0 value of an area from the coordinates used to create a polygon geometry object that are located in a smaller area.

Última Publicação: August 10, 2022 ArcGIS Pro
Número de ID do Erro BUG-000149691
EnviadoJune 2, 2022
Última ModificaçãoMarch 19, 2025
Aplica-se àArcGIS Pro
Versão encontrada2.9.2
Sistema OperacionalWindows OS
Versão do Sistema Operacional10.0 64 Bit
StatusAs Designed

Informações Adicionais

When creating geometry objects via ArcPy, the spatial reference object must be set to enable high precision coordinates. For the code samples provided, adding `spatial_reference = WGS84` accomplishes this and allows the geometries to be interacted with as expected. Geometries created without a spatial reference are stored in a low precision mode which collapses geometries within short distances of one another. Note that properties like the area are rendered in the non-existent unit of 'square decimal degrees', and for real calculations a projection should be applied before calculation at this time.

Solução Provisória

  1. Create polylines from arcpy.Polygon with an array of points.
  2. Create a polyline feature class using Create Feature Class (Data Management) tool.
  3. Create a polygon feature class from polylines with the same Create Feature Class (Data Management) tool. 

Etapas para Reproduzir

ID do Erro: BUG-000149691

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