AnsweredAssumed Answered

How to update feature layers on ArcGIS Enterprise with spatial views of SQL Server with Python API?

Question asked by Kimia.Kalantari@kellerfoundations.com_Kelle on Oct 30, 2018
Latest reply on Oct 31, 2018 by Kimia.Kalantari@kellerfoundations.com_Kelle

Hello everyone,

 

I am trying to update feature layers used in web maps on ArcGIS Enterprise with ArcGIS API for Python. I can have access to their feature sets by the code. I am using the sample of "Updating Features in a Feature Layer". The sample uses csv file to update the feature layer. Are there any possibilities to use spatial view of SQL Server to update feature layers? I converted the spatial view to a query layer and then converted it to a feature class, but I could not use the feature class for merging. I received the following error message:

 

can not merge DataFrame with instance of type <class 'arcpy.arcobjects.arcobjects.Result'

 

 

Please help me for this case.

 

Thank you!




Outcomes