| Numéro d’ID de bogue |
BUG-000118572 |
| Envoi | December 4, 2018 |
| Dernière modification | June 5, 2024 |
| S’applique à | ArcGIS GIS Server |
| Version trouvée | 10.6.1 |
| Système d’exploitation | Windows OS |
| Version du système d’exploitation | 2016 64 Bit |
| Statut | Known Limit
Après examen par l’équipe de développement, il a été déterminé que ce problème est lié à une limitation connue du logiciel sur laquelle Esri n’a aucun contrôle. Pour d’autres explications, reportez-vous à la section Informations supplémentaires correspondant au problème.
|
Informations supplémentaires
This is a known limitation in ArcGIS Server.
Our ArcGIS Server REST API states the following:
Note:
Make sure to set returnGeometry = false when returnDistinctValues = true or results will not be reliable.
https://developers.arcgis.com/rest/services-reference/query-feature-service-layer-.htm
Solution de contournement
- Run a query with only Return IDs Only set to True, along with an Input Geometry specified.
- Take note of the ObjectIDs that are returned and then run another query.
- Place the returned ObjectIDs into a second query with the following parameters:
- Remove the input geometry.
- Return Distinct Values = True.
- Return IDs Only = False.
- The query should complete successfully.
Étapes pour reproduire
ID de bogue: BUG-000118572
Logiciel: