Select to view content in your preferred language

How to export a Raster attribute table to .txt using Model Builder

4151
4
Jump to solution
05-13-2014 05:02 AM
by Anonymous User
Not applicable
I need to export a Raster attribute table to a .txt (or any other format Excel can import), using Model Builder.

Is it possible?
0 Kudos
1 Solution

Accepted Solutions
IanMurray
Honored Contributor
sorry I misunderstood the first time.

If you do a table to table conversion on the raster attribute table and export as a dbf table, excel can open the file if you change the extension to .xls instead of .dbf(.xlsx does not work).  I'm not entirely familiar with raster attribute tables so working with what I got.

Otherwise I'm not sure of a non-python way to do this.

View solution in original post

0 Kudos
4 Replies
IanMurray
Honored Contributor
You can add the Raster to ASCII tool, it should output it to a text file for you.

http://resources.arcgis.com/en/help/main/10.1/index.html#//001200000005000000
0 Kudos
by Anonymous User
Not applicable
It creates an ASCII file with all the values of the raster, but it doesn't export the table of attributes.
0 Kudos
IanMurray
Honored Contributor
sorry I misunderstood the first time.

If you do a table to table conversion on the raster attribute table and export as a dbf table, excel can open the file if you change the extension to .xls instead of .dbf(.xlsx does not work).  I'm not entirely familiar with raster attribute tables so working with what I got.

Otherwise I'm not sure of a non-python way to do this.
0 Kudos
myname
by
Deactivated User

It's here value for you Raster to Excel in ArcGIS - YouTube 

0 Kudos