laptop and a wrench

不具合

The queryElevation() method does not return expected results when working with the ArcGIS API for JavaScript elevation sample.

最後に公開された状態: December 14, 2018 ArcGIS API for JavaScript
不具合 ID 番号 BUG-000118524
送信されましたDecember 3, 2018
最終更新日June 5, 2024
適用対象ArcGIS API for JavaScript
見つかったバージョン4.9
オペレーティング システムWindows OS
オペレーティング システムのバージョンN/A
ステータスWill Not Be Addressed

参考情報

ground.queryElevation() returns results calculated based on the highest resolution and ground.createSampler() creates an elevation sampler based on the terrain resolution currently loaded in the view. The reason why the 2 values in your app are different is because they use these 2 different resolutions of the terrain to calculate the z value. If you want to control the resolution then use these methods on the elevation layer and pass in the demResolution that you want it to be calculated for (if you don't know a value, for highest precision results just use "finest-contiguous"). In your example I am changing the resolution for the queryElevation to be more coarse and then I get the same result: https://jsfiddle.net/cu8k5q02/1/ See demResolution option here: http://localhost/arcgis-js-sdk-4/build-artifacts/latest/api-reference/esri-layers-ElevationLayer.html#queryElevation and here: http://localhost/arcgis-js-sdk-4/build-artifacts/latest/api-reference/esri-layers-ElevationLayer.html#createElevationSampler Feel free to reach back for more questions.

再現の手順

不具合 ID: BUG-000118524

ソフトウェア:

  • ArcGIS API for JavaScript

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

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

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

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

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

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

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