laptop and a wrench

Error

Unable to view the correct label values in Map Viewer at different zoom scale when using an Arcade expression for Labels.

ArcGIS Online
Número de ID del error BUG-000159982
EnviadoJuly 19, 2023
Última modificaciónOctober 7, 2024
Relacionado conArcGIS Online
Versión encontradaJune 2023
Sistema operativoWindows OS
Versión de sistema operativo10.0 64 Bit
EstadoKnown Limit

Información adicional

The feature geometries in the visualization and labeling profiles are generalized according to the view's scale resolution to improve drawing performance. Therefore, using a feature's geometry ($feature) as input to any geometry function in these contexts will return different results at each scale level. Other profiles, such as pop-up, provide the full resolution geometry. The projection of the web map (Web Mercator) will also distort results given in area and/or distance calculations. WGS 1984 Web Mercator and WGS 1984 Web Mercator (auxiliary sphere) use a conformal projection that preserves direction and the shape of data but distorts the distance and area.

Solución alternativa

Some users may benefit from the Arcade's AreaGeodetic function since the map projection is Web Mercator. Use the pop-up profile to calculate the area and then use that attribute expression to label features to have access to the full-resolution geometry when calculating the area.

Pasos para reproducir

ID del error: BUG-000159982

Software:

  • ArcGIS Online

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