Select to view content in your preferred language

Attribute table of raster,

1171
3
05-12-2013 12:55 PM
JamalNUMAN
Legendary Contributor
Attribute table of raster,

I got a raster that has values of decimal places and thus its attribute table is not provided.

I used the �??integer�?� tool for that raster in order to obtain its attribute table but sounds not to work

[ATTACH=CONFIG]24236[/ATTACH], [ATTACH=CONFIG]24237[/ATTACH]

Then what other tools might be used to show the attribute table of raster?


Thank you

Best

Jamal
----------------------------------------
Jamal Numan
Geomolg Geoportal for Spatial Information
Ramallah, West Bank, Palestine
Tags (2)
0 Kudos
3 Replies
curtvprice
MVP Alum
Hi Jamal.

Raster attribute tables are not automatically built for integer rasters in some situations, for example, your case of having many integer values of large magnitude. You may have to run the Build Raster Attribute Table tool. If the table is there already, it won't hurt anything.

One more thing: you may need to go into the raster layer's symbology tab to modify the renderer to display the integer values in the legend.

For grids, a raster attribute table is built by default for any integer grid that results from an expression if the range of values in the raster is less than 100,000 or if the number of unique values in the raster is fewer than 500. If the range is less than 100,000, the number of unique values in the raster can be as large as 100,000. If the range is greater than 100,000, a raster attribute table will still be built if the number of unique values is fewer than 500. If the range of values is greater than 100,000 and the number of unique values is greater than 500, a raster attribute table is not automatically built.
Desktop 10.1 Help: Raster attribute tables
0 Kudos
DanPatterson_Retired
MVP Emeritus
Scale it up by a factor of 10 ie. Int("yourgrid" * 10) will retain one decimal place....just remember that you have done it when viewing/using the table in subsequent analyses
0 Kudos
by Anonymous User
Not applicable
Original User: Jamal432@gmail.com

Scale it up by a factor of 10 ie. Int("yourgrid" * 10) will retain one decimal place....just remember that you have done it when viewing/using the table in subsequent analyses


Many thanks Curtis and Dan for the help. This is quite useful

Best

Jamal
0 Kudos