laptop and a wrench

Bug

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

ArcGIS Online
Bug-ID-Nummer BUG-000159982
EingereichtJuly 19, 2023
Zuletzt geändertOctober 7, 2024
Gilt fürArcGIS Online
Gefunden in VersionJune 2023
BetriebssystemWindows OS
Betriebssystemversion10.0 64 Bit
StatusKnown Limit

Zusätzliche Informationen

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.

Workaround

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.

Schritte zur Reproduzierung

Bug-ID: BUG-000159982

Software:

  • ArcGIS Online

Benachrichtigung erhalten, wenn sich der Status eines Bugs ändert

Esri Support App herunterladen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln