AnsweredAssumed Answered

table not found error intersect_analysis

Question asked by mathwiz961 on Apr 12, 2020

I have two feature datasets I wish to intersect using ArcPy; I used the following statement: 

arcpy.Intersect_analysis(['MMFSimplifyPt10_Angles', 'TriCounty_Junctions_Buffer'], 'MMFSimplifyPt10_PTurns', output_type='POINT')
(The env.workspace has been set to the correct file path)

I get the following error:

The table was not found. [MMFSimplifyPt10_PTurns]
Invalid Topology [Topoengine error.]
Failed to execute (Intersect).

 

The table that was "not found" is my output dataset that should be created by "intersect."  When I tried creating it before intersect the error was that it already exists.  When I use the intersect tool in ArcMap 10.7 on these feature classes it works fine and creates the output feature class, however it throws the error when using it in my python program.  

Outcomes