Hello,
I have a shapefile of trajectories that I am running a tool I wrote on to count the number of turns. The tool is failing at the following line although it had been working on similar trajectories before:
arcpy.Statistics_analysis(outTrajPts, "in_memory\outTrajPts_stats", [["turns", "SUM"]], trajID)
The tool works by counting the turns for each vertex of the trajectory then summing them up by trajectory ID however for some reason it is not working now and the error doesn't explain more. Can you give guidance on how to resolve this? Thank you!
trajID, make sure it is a string and is valid