Programatically export VAT from Raster

541
1
08-24-2010 01:58 PM
RobertBinckes
New Contributor II
I have live raster data that is downloaded once a day from a ftp site.  Using python, I insert the rasters into a catalog, 'sderaster.exe -o insert', and then publish the view of this catalog as a map service. 

Everything fine and ok.  Besides looking at the raster image, there is a request on the table to draw a curve based on the VAT(value attributes table) of the raster data.  Through Arcmap I can open the attributes and export to whatever, however I have not been successful in finding a solution to programatically export the VAT.

Any ideas.

Thanks,
Bob
Tags (2)
0 Kudos
1 Reply
RobertBinckes
New Contributor II
Update:  Using gdal utility described below

gdalinfo -hist raster.tif > out.txt

will provide a histogram of values.  I think from here I can use some other command line utilities to get it into a table.  Task for tomorrow ...
0 Kudos