laptop and a wrench

不具合

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.

最後に公開された状態: August 10, 2022 ArcGIS Pro
不具合 ID 番号 BUG-000149691
送信されましたJune 2, 2022
最終更新日March 19, 2025
適用対象ArcGIS Pro
見つかったバージョン2.9.2
オペレーティング システムWindows OS
オペレーティング システムのバージョン10.0 64 Bit
ステータスAs Designed

参考情報

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.

対処法

  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. 

再現の手順

不具合 ID: BUG-000149691

ソフトウェア:

  • ArcGIS Pro

バグのステータスが変更されたときに通知を受け取る

Esri Support アプリのダウンロード

このトピックについてさらに調べる

ArcGIS エキスパートのサポートを受ける

テクニカル サポートへのお問い合わせ

Esri Support アプリのダウンロード

ダウンロード オプションに移動