AnsweredAssumed Answered

SpatialDataFrame has been deprecated

Question asked by namf1az on Mar 31, 2020
Latest reply on Apr 1, 2020 by namf1az

I receive following warning after this statement is run: sdf = features.SpatialDataframe(df)

 

 

opt/anaconda3/lib/python3.7/site-packages/arcgis/features/_data/geodataset/geodataframe.py:221: UserWarning: SpatialDataFrame has been deprecated.  Please switch to the GeoAccessor/GeoSeriesAccessor.   warnings.warn("SpatialDataFrame has been deprecated.  Please switch to the GeoAccessor/GeoSeriesAccessor.")

 

What is the correct way to create an 'sdf' now?

Outcomes