laptop and a wrench

不具合

The Arcade documentation classifies the polyline type's paths property as a number but incorrectly returns a point type.

最後に公開された状態: July 13, 2022 No Product Found
不具合 ID 番号 BUG-000147645
送信されましたMarch 16, 2022
最終更新日June 8, 2025
適用対象No Product Found
見つかったバージョンN/A
オペレーティング システムWindows OS
オペレーティング システムのバージョン10.0 64 Bit
修正されたバージョン1.23
ステータスFixed

参考情報

This is a documentation issue and not a bug in the code. The documentation for the geometry types and geometry functions is updated to properly reflect the ways geometries can be constructed and what the actual types of the rings and paths are within each type.

対処法

  • Use the JavaScript Object Notation (JSON) directly or convert a polyline back to JSON. The code below returns the x-coordinate:

return polylineJSON.paths[0][0][0];

  • If working directly with the point objects within the polyline object, call the property of a point data type, instead of using an index. The code below returns the x-coordinate:

return poly.paths[0][0].x;

再現の手順

不具合 ID: BUG-000147645

ソフトウェア:

  • No Product Found

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

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

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

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

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

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

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