1

I am new to GIS, I am having large number of raster files(800) in ArcGis and I want to copy the attribute table of each raster file separately to Excel. Can anyone help me how to perform it in batch mode or using coding?

  • Have you succeeded in doing the conversion for one file yet? I think that is always the best first step to automating a process. – PolyGeo Sep 7 '16 at 10:52
  • Thanks for commenting. Yeah manually i can copy attributes to excel. As i can use Table to excel tool for copying attributes of .shp files to excel. But i am looking for same kind of tool for raster files. – John Sep 7 '16 at 11:50
  • There's an edit button beneath your question that you can use to revise it to be just how to convert a raster file's attributes to Excel. What type of raster file do you have? – PolyGeo Sep 7 '16 at 11:58
  • 3
    only categorical raster can have an attribute table, so it would be possible with, e.g. MO10A2 snow products, but not with the MOD09 surface reflectance product. Please update your question with more details. – radouxju Sep 7 '16 at 13:10
  • 1
    To compliment @radouxju, another way of saying what he just said is ONLY integer rasters have attribute tables. If your raster is FLOAT or DOUBLE then the attribute table does not exist. – Hornbydd Sep 7 '16 at 13:58
0

here is the answer i got after discussing my problem on geonet.esri.com (link shared in comments by @Hornbydd): The link to the code is https://geonet.esri.com/thread/84698

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.