| 不具合 ID 番号 |
BUG-000150440 |
| 送信されました | June 29, 2022 |
| 最終更新日 | October 31, 2025 |
| 適用対象 | ArcGIS Velocity |
| 見つかったバージョン | N/A |
| オペレーティング システム | Windows OS |
| オペレーティング システムのバージョン | 10.0 64 Bit |
| ステータス | As Designed
開発チームによる確認後に、この動作が設計どおりであると判断されました。 詳細については、「参考情報」セクションをご参照ください。
|
参考情報
In ArcGIS Velocity, the 'Filter by Expression' tool retains features when the Arcade expression evaluates to true. If the Arcade expression evaluates to false, the feature is dropped. In the supplied reproduction expression, Arcade returns the last boolean of the expression. This behavior is as designed by Arcade, reproducible in the Arcade playground, and independent of ArcGIS Velocity.
Instead, the Arcade expression must be designed to combine multiple expressions using the && operator only to retain features with a value of true for all expressions:
$feature.fieldValue > 70 && $feature.fieldValue != '15' && $feature.fieldValue != 'AB'
Alternatively, multi-line expressions can be utilized but the Arcade expression must return a boolean value of true or false for the 'Filter by Expression' tool.
対処法
When utilizing the Filter by Expression tool, create a new filter for each expression.
再現の手順