How to create an AttributeTable for a raster to use a UniqueValueRenderer?

476
2
01-05-2011 08:24 AM
MarySage
New Contributor
I have a raster that doesn't have an AttributeTable (returns null).  I want to create a UniqueValueRenderer for it & all of the examples uses the AttributeTable. 

Can you tell me how to create the attribute table or some other way to create the UniqueValueRenderer?

Thanks for your help.

Mary Sage
0 Kudos
2 Replies
RobertBerger
New Contributor III
Hi Mary,

There is some sample code online regarding an attribute table and using the unique values renderer. I hope these help.

Robert
0 Kudos
MarySage
New Contributor
Thank you.  That worked.
0 Kudos