Spatially enabled dataframe (SEDF) cant be inserted as a featurelayer into an existing feature service when created without gis context in the first place (result in AttributeError: 'GeoAccessor' object has no attribute '_gis') #2068
Labels
Describe the bug
When creating a SEDF from a dict without having a gis-context there in the first place (or by creating a SEDF with any other method, e.g. derived from a
pd.merge()
), following bug occurs:AttributeError: 'GeoAccessor' object has no attribute '_gis'
To Reproduce
Steps to reproduce the behavior:
both variations of
sedf.spatial.insert_layer()
result in thiserror:
Expected behavior
The newly created sedf should be added as a new feature layer inside the existing featureservice.
Platform (please complete the following information):
Additional context
The abovemention error was tested using a default / basic ArcGIS Notebook inside AGOL and additionally inside a custom windows 11 conda environment.
The text was updated successfully, but these errors were encountered: