I'm using a single band raster in a new layout and have activated DRA so the stretch only uses the data within the view extent. In the legend it looks like the values aren't adjusted as per the DRA. Is this a bug or is there a way to adjust the values of the raster in the legend automatically to reflect the cell values shown in the current view only?
Solved! Go to Solution.
I just discovered that I'm having this issue, as well. Really annoying that there isn't a straight workaround or fix after multiple years.
ArcGIS Pro 3.4 and this still is an issue.
@JamieDodd @SeanGarner @jcokin1
Sorry to hear that you are running into issues. There are a number of possibilities of why this is happening.
1. The fix for the bug referenced - BUG-000112368: Raster statistics fail to update dynamically with display extent when using stretched symbology imagery and dynamic range adjustment (DRA) in ArcGIS Pro - broke with a recent release. Unfortunately, regressions do happen.
2. The fix for BUG-000112368 does not address your specific use case/scenario. Since you're seeing issues with both the legend in the TOC (Contents pane) and the layout legend it is likely that the problem is with the passing of information between the raster layer and the legend(s). There may be a number of code paths that, unfortunately, were not tested.
3. It is also possible that there is a different bug in the system.
Having bugs reported to Support is important so that we fully understand the workflow and can reproduce the issue. Otherwise, it is an educated guess whether the reported issue and its fix address a specific problem. Sometimes it does, sometimes it does not.
Currently, I am unaware of any outstanding issue regarding legends and raster layers. I'll pass this along to the Raster Team to see if they are aware of any issues. I'll post once I have an update.
Thanks for the updates. Hopefully, we'll get this resolved soon.
Tom
Thank you very much for your expedient response, as well as passing this along to the Raster Team! Fixing this/these issue(s) would help immensely with not only DRA rasters, but also Map Series workflows.
Looking forward to hearing back with any updates! Have an amazing rest of your day!!
FYI
A new issue has been logged through support - BUG-000168999 ArcGIS Pro | Map Layout Legend Not Honoring Elevation Dynamic Range. This issue is specific to the layout legend not updating (as opposed to what you see in the Contents pane) and I believe matches what is described in this thread.
Tom
I believe you are correct and the Contents pane would be a separate bug to resolve. Thank you for your persistence and for the update, Tom!