laptop and a wrench

不具合

The ElevationProfile widget in the 3D Viewer web app calculates the slope incorrectly for profile lines between 33 and 66 feet.

最後に公開された状態: November 3, 2021 ArcGIS Online
不具合 ID 番号 BUG-000140486
送信されましたJune 4, 2021
最終更新日August 6, 2025
適用対象ArcGIS Online
見つかったバージョン9.2
オペレーティング システムWindows OS
オペレーティング システムのバージョン10.0
ステータスKnown Limit

参考情報

The slope values appear inaccurate when working with short elevation profiles. Higher resolution profiles are downsampled to a 10m (32.8ft) sampling distance before the slope is calculated. Refer to https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ElevationProfile-ElevationProfileLine.html#statistics This is because the elevation preview model (EPW) was initially created for measuring profiles of larger areas with coarser elevation data. The default elevation services are not precise enough and can have a lot of noise in the dataset. This may result in the generation of false reports, e.g. too steep maxSlope values.

対処法

For calculating the slope value of more precise datasets, iterate through the list of ElevationProfileSamples of a ElevationProfileViewModel and calculate the maximum and average slope values from that. Refer to an example here, https://codepen.io/gsoosalu/pen/MWoGMOe However, it is not possible to overwrite the widget’s legend (the numeric reports) with the new values, i.e. the out-of-the-box legend must be hidden. Refer to https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ElevationProfile.html#visibleElements and the newly calculated ones are displayed in a container outside of the widget. The line graph visualization remains accurate because it is drawn based on the data from the ElevationProfileSamples.  

再現の手順

不具合 ID: BUG-000140486

ソフトウェア:

  • ArcGIS Online

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

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

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

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

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

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

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