Fails to query on the sublayer annotation level in a map service in ArcGIS for Server 10.4.1.
最後に公開された状態: July 20, 2016ArcGIS for Server
不具合 ID 番号
BUG-000097806
送信されました
July 15, 2016
最終更新日
September 18, 2025
適用対象
ArcGIS for Server
見つかったバージョン
10.4
オペレーティング システム
Windows OS
ステータス
Known Limit
開発チームによる確認後に、この問題が、Esri の管理の範囲外にあるソフトウェアの既知の制限に関するものであると判断されました。 問題の「参考情報」セクションに、さらに詳細な説明が示されていることがあります。
参考情報
This is as designed.
Queries for annotation sublayers are not supported. The sub layers for annotation are there only to turn the visibility on or off when exporting the map.
This is also true in desktop where we don’t allow users to open the table for a anno sub layer.
If querying the f=json response for the capabilities enabled on the annotation sublayer, like the following request would:
https://server.domain/arcgis/rest/services/Maps/ANNOTATION/MapServer/1?f=pjson
You would see the capabilities like so:
Capabilities: "Map,Query"
query is only supported when the capabilities include Data. Like so:
capabilities: "Map,Query,Data"
対処法
Query the map service's annotation layer instead of the annotation sublayer to return records.