Quantcast
Channel: Forums - Python
Viewing all articles
Browse latest Browse all 2485

Export raster attribute table into CSV using Python automation !

$
0
0
Hello,

I am learning python scripting. I am trying to export raster attribute table (integer value) in to .CSV file. I can manually export attribute table into .txt file but would take many hours to export for 100 raster files. I have raster files (about 100) organized in a folder called "temperature". So, how can I write a python script that scan through all raster files and export attribute table of each raster into .CSV file with unique header file.

Thanks.

Viewing all articles
Browse latest Browse all 2485

Latest Images

Trending Articles



Latest Images