Open ashnair1 opened 4 years ago
I have a similar problem did you find a solution?
Not exactly. I modified an old script of mine and got it to work. You can find the old script here. To be clear, the solution is incredibly hacky and I haven't looked at it for a couple of years so it might not be what you want.
Pls let me know if you had solved the issue as i am also facing the same issue.
Summary of the bug
I wanted to convert the AOI 5 Khartoum dataset from geojson to the coco format. However I'm unable to do so due to certain dataframes having polygon fields as Nan in the
affine_transform_gdf
function.Steps to reproduce the bug
The following is the code I used to do the conversion:
AOI_5_Khartoum dataset organisation is the same as the tar file. I haven't changed it after untarring it.
Buggy behavior and/or error message
Please describe the buggy behavior and/or paste output here.
Environment information
solaris
version: 0.3.0