I have 120 or so geotiff files that I'd like to build and export the raster attribute table to something a little more friendly (e.g. csv).
I'm curious if there is an open source way to do this. The files are rather large 36001 X 36001 pixels so brute force solutions may be out. Ideally, I'm looking to do this in gdal commandline/OSGEO4w or Qgis. Grass in a pinch.
Some additions in response to comments:
- I am somewhat familiar with python. If anyone has a solution in that vein, I'd love to hear it. Same thing goes with R and windows command line.
-The table would look something like this:
Value | # of Cells
0 | 100000
1 | 3214
2 | 25125
...
98 | 2214213
Basically, I'm looking for a non-ArcGIS way to recreate the ArcGIS raster attribute table. The reason I want CSV is because I have some other mathematical operations I'd like to run, and a csv or some sort of text file works best for my workflow. Its a bit anti-dramatic, but all I really need at this stage is the number of cells for each value in the raster.