Enterprise 10.8.0 Data Store - Adding rows to an existing feature layer

292
1
11-04-2020 07:48 AM
MichaelHancock
New Contributor

I currently have a python script which extracts data from MongoDB, creates a csv file and publishes a feature layer to our Enterprise Data store.

So I'm deleting and recreating the feature layer each night, which isn't very efficient.

So I'm looking at ways to add to the existing feature layer using the python API

Would

cursor = arcpy.da.InsertCursor(...)

     cursor.insertRow(...)

be the way to go?

Thanks in advance

0 Kudos
1 Reply
by Anonymous User
Not applicable

Hi Michael,

Have you checked out this workflow on appending data to existing feature layers?

Append Features | ArcGIS for Developers 

Best,

Calvin

0 Kudos