I can't seem to find much in forums about this - I'm trying to use Tabulate Intersection with two shapefiles.
When run in a model, I get a generic error (Error 999999:Error executing function). When run in a Python script, I get the following:
Traceback (most recent call last): File
"H:/Scripts/IntersectTable_test.py", line 18, in <module>
arcpy.TabulateIntersection_analysis (in_zone_features, {'distance'}, in_class_features, out_table, {'INFO'}, '','','') File
"C:\Program Files\ArcGIS\Desktop10.1\arcpy\arcpy\analysis.py", line
1122, in TabulateIntersection
raise e RuntimeError: Object: Error in executing tool
....this makes it difficult to diagnose problem. Anyone with experience/know what I'm missing? I'm working in Arc10.1 and have all license access. I've edited this post to include the code I'm using to test this before adding it to a larger, more complex script:
import os
import arcpy
import sys
from arcpy import env
import csv
##Set overwrite
arcpy.env.overwriteOutput = True
##Set variables
in_zone_features = r'C:\BOEM\QuartRings\Scratch\quartrings_points_proj_multrings.shp'
zone_fields = 'distance'
in_class_features = r'C:\BOEM\Basic_NE_Fisheries.gdb\ALL_WEA_Simplified_3_2013'
out_table = r'C:BOEM\QuartRings\Scratch\buff_intersect_table'
arcpy.TabulateIntersection_analysis (in_zone_features, {'distance'}, in_class_features, out_table, {'INFO'}, '','','')