Select to view content in your preferred language

How to change unique values limit from 65536 in ArcGIS Pro?

2073
12
07-22-2024 12:57 AM
q1azza
by
Deactivated User

Hey everyone. I'm new to ArcGIS Pro and I've been following along an edX course on spatial analysis. Specifically, it teaches how to use bands to determine vegetation health. Anyhow, when I go to change the primary symbology to "Classify" on the ndvi layer I get this message: "The number of unique values in your data is greater than the set limit (65536). Edit the Maximum number of unique values to display, within the Raster and Imagery Options." In addition, the option boxes are empty.

I've tried what it suggests, going to the Raster and Imagery options, but it lacks details. There's also no attribute table for the layer. Help a newbie out?

If this has been answered before please point me to the right direction as I could not find one.

12 Replies
DuncanHornby
MVP Notable Contributor

Firstly there is no attribute table as NDVI data is typically a non-integer raster, i.e. it is float 32 and such rasters do not have an attribute table. Don't know what the difference between integer and float is? Go Google that.

Classify is failing to run because unsurprisingly your float raster exceeds the default limits. In this case go to the options and change it, but what to? Doesn't matter chuck a bunch zeros after the number, I show what I did for my float raster below.

DuncanHornby_0-1725967947624.png

Go back to your symbology Pane, you will have to change Primary symbology dropdown to something else then back to Classify and hey presto it all starts to work. If it fails go back and add more zeros.

 

0 Kudos
DanielStratten
Emerging Contributor

The surprising thing is that the application would even evaluate unique values in a floating point raster. Yes, changing the max unique value # can resolve the error, as has been discussed in earlier posts. But the error is a bug, and ESRI should resolve it. 

0 Kudos
WRingle
Occasional Contributor

I have a related post on this. What I eventually ended up doing was writing a short arcpy script to reclassify the raster, with the only input being the defined interval - what the ESRI symbology tool should be doing. The minimum and maximum values are parameters contained in the raster, so using those, the number of intervals can easily be calculated.

0 Kudos