How can I update an online FeatureSet from a local GDB?

454
1
Jump to solution
02-27-2019 07:51 AM
by Anonymous User
Not applicable

Roughly following these instructions is it possible to update an AGOL layer with data from a local dataset?

I can't seem to figure out how to get a feature set from the feature layer in order to use pandas to merge them. 

Tags (2)
0 Kudos
1 Solution

Accepted Solutions
by Anonymous User
Not applicable

I answered my own question.

You need to first convert the fc to a num py array:

fields = ('A','B','C','D')
x = "C:\\Users\\User\\Documents\\ArcGIS\\Default.gdb\\FC"
y = DataFrame(arcpy.da.FeatureClassToNumPyArray(x , fields, skip_nulls=True))

View solution in original post

1 Reply
by Anonymous User
Not applicable

I answered my own question.

You need to first convert the fc to a num py array:

fields = ('A','B','C','D')
x = "C:\\Users\\User\\Documents\\ArcGIS\\Default.gdb\\FC"
y = DataFrame(arcpy.da.FeatureClassToNumPyArray(x , fields, skip_nulls=True))