laptop and a wrench

Error

When working with Spatial Relationship, the filtered points on the edge and fall just inside the polygon are only highlighted when zooming in, and disappears when zooming out.

Última publicación: March 9, 2021 ArcGIS API for JavaScript
Número de ID del error BUG-000136722
EnviadoJanuary 13, 2021
Última modificaciónJune 5, 2024
Relacionado conArcGIS API for JavaScript
Versión encontrada4.18
Sistema operativoWindows OS
Versión de sistema operativo10.0 64 Bit
EstadoWill Not Be Addressed

Información adicional

This behavior is as designed. This documentation https://developers.arcgis.com/javascript/latest/query-filter/#should-i-use-client-side-query-or-server-side-query explains the behavior. Basically at a particular view scale, a point can shift left-right and top-bottom by up to half of view resolution. For accurate results, use the layer.queryFeatures() or better layer.queryObjectIds with the same query (https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-support-FeatureFilter.html#createQuery) to get back the features ids, honoring the spatial query. Then, use the ids of the objects in the filters. The FeatureFilter is an updated doc to clarifying it is a client-side operation.

Pasos para reproducir

ID del error: BUG-000136722

Software:

  • ArcGIS API for JavaScript

Recibir notificaciones cuando cambie el estado de un error

Descargar la aplicación de soporte de Esri

Descubrir más sobre este tema

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Descargar la aplicación de soporte de Esri

Ir a opciones de descarga