AnsweredAssumed Answered

IndexError trying to write spatial dataframe to feature

Question asked by carlsunderman on Oct 9, 2019
Latest reply on Oct 9, 2019 by bixb0012

so there is something wrong with this dataframe, that it seems i cant see. 

 

 

SOURCEChangeSHAPE
1file_c-0.29
{'rings': [[[1788402.41, 13301439.29...
2file_c-0.24
{'rings': [[[1788428.41, 13301463.29...
5file_c-0.24
{'rings': [[[1788447.41, 13301429.29...

 

When i try to write this to a featureclass 

 

df.spatial.to_featureclass(r"C:\tmp\sample.shp")

 

I get

 

IndexError: only integers, slices (`:`), ellipsis (`...`), numpy.newaxis (`None`)....

 

What am i missing with this dataframe? 

Outcomes