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")
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.