-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot write geodataframe with non-sequential index to shapefile due to KeyError
#338
Comments
Can you show the output of |
|
I noticed this as well, and it has been fixed but not released yet: #324 |
Ah, that's the reason I didn't see it (was testing with main), was just going to look at our recent commits. Thanks for the link. |
Wonderful :) any idea when this will be released? |
We haven't set a specific date for the next release, but it would be ideal to have it out in the next couple of weeks. |
If I try to write a gdf with a non-sequential index to shapefile using pyogrio, I sometimes get a
KeyError
. For some reason it occurs if I have a datetime column but if I remove it, it goes away.Resetting the index before writing also solves the problem. But it's strange that I would need to do this.
Reproducible example
It also warns me that DESIG_DATE is created as a date even though DateTime was requested
Warning
Stacktrace
The text was updated successfully, but these errors were encountered: