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")
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.