-
-
Notifications
You must be signed in to change notification settings - Fork 25
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
BUG: fix writing fids to e.g. GPKG file with use_arrow #511
BUG: fix writing fids to e.g. GPKG file with use_arrow #511
Conversation
I put the PR as draft while waiting for feedback on the comment here: OSGeo/gdal#11527 (comment) |
output_gdf = read_dataframe(path, fid_as_index=True, use_arrow=use_arrow) | ||
output_gdf = output_gdf.reset_index() | ||
|
||
# pyogrio always sets "fid" as index name with `fid_as_index` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Question: should we be preserving the original custom name when uisng fid_as_index
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This has been suggested/requested in this comment: #287 (comment)
I don't mind, but it will be a breaking change...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably fine to leave that for a different PR to deal with that specifically.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @theroggy
resolves #510