Greetings All,
I'm trying to do the following:
As the screenshot below shows, the conversion from geopandas GDF to ESRI SEDF is successful, but when I try exporting the SEDF to a feature class, the resulting feature class has no features in it.
Other notes
Has anyone else experienced this?
Has anyone else experienced this?
related? Solved: Converting geodataframe to spatially enabled dataf... - Esri Community
there are some issues under consideration on github
Could be. I read the thread you linked to. Problem is similar (issue going from SEDF to FC), but instead of my issue (writing empty FC), it seems to mangle the geometry when writing. Looking at the GitHub issue they opened, there will be a fix for the mangled geometry coming in January 2022, maybe that fix will also fix my problem?
I'm unable to replicate this issue. JSON -> GDF -> SEDF -> FC works like a charm anywhere I use the process (which is admittedly not often).
Have you done some other testing on your geodataframe to make sure it's valid? Like plot it, or run some other validation?
Yes, it plots correctly when I plot the geopandas geodataframe:
It also plots correctly after I convert the GDF to ESRI's SEDF:
And as I mentioned in my original post, if I do SEDF > FeatureSet > GeoJSON File > Feature class, it works. So the kink is when trying to directly go from SEDF to feature class.
I'm having the same problem! Would love some help if anybody has an idea why this is happening.
Okay for me the problem was solved when I removed the date fields from my spatial dataframe. For some reason those were breaking the export.