I'm trying to use the Tabulate Area tool in ArcGIS Pro (version 2.2.1) to cross tabulate two rasters: one raster of zones (where value = true crop type) and a second raster is a supervised classification output (which contains a field called Class_Names which are the classes).
The tool successfully generates an output table, but it truncates the field names (which are my classes, and I need the whole name).
How can I create this table without field names being truncated?
Here's a snapshot of my output table:
I've run the tool in the GUI. I also ran it in the python window and set arcpy.env.qualifiedFieldNames = False, but it still capped me at 16 characters for field names:
import arcpy
from arcpy import env
from arcpy.sa import *
arcpy.env.workspace = 'Q:/data/IID_T2_2016.gdb'
TabulateArea(in_zone_data = 'iid_t2_2016_bad00', zone_field = 'Value', in_class_data = 'iid_t2_2016_agsup00', class_field = 'Class_Names', out_table = 'tableTestv4')
For context, here's my overall mission in case there's another route:
I'm trying to replace a workflow previously completed with ERDAS IMAGINE's Summary Report of Matrix tool, which creates a cross-tabulation report comparing the same two rasters: zones (a raster of incorrectly classified crop fields -- with values in this case of the known ground truth crop type ranging from 1-34) against classes (a pixel-scale supervised classification raster -- in this case with a very long signature class name, e.g. 8084-145-5.01-20-9-1). The resultant output table was essentially a frequency table. It broke up the percentage of each zone's total area by each class.
Here's a snap shot of the first few lines for Zone 1: