I've tried to change polygon feautre to point by using tools:
My code as below:import arcpy
import numpy as np
a = arcpy.da.FeatureClassToNumPyArray(in_file, ["*"], explode_to_points=False)
I got an error:
Traceback (most recent call last):
File "C:/ios/OneDrive/python/feature_to_point.py", line 7, in <module>
RuntimeError: create table
I had changed out_file to shp file and it works but it is not solution for me. I would like to be able write to .gdb.
Any idea how to solve this problem?