Any reason you're not going directly from the .csv file to a layer when using arcpy.MakeXYEventLayer_management ?Simply use the MakeXYEventLayer tool to create a layer from the .csv file and then export the layer to your FGDB.
import arcpy arcpy.MakeXYEventLayer_management("xyEvent.txt", "X_FIELD", "Y_FIELD", "XYlayer") arcpy.CopyFeatures_management("XYlayer", "XY.gdb/POIs")
サインインしたメンバーは投稿、更新のフォローなどができます。初めてですか?無料アカウントを登録してください。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.