Skip to content
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

Support add new columns to gpkg in append mode #1176

Open
latot opened this issue Jan 4, 2023 · 1 comment
Open

Support add new columns to gpkg in append mode #1176

latot opened this issue Jan 4, 2023 · 1 comment
Milestone

Comments

@latot
Copy link

latot commented Jan 4, 2023

Hi, I'm using Fiona from GeoPandas, actually there is the append mode, but if the data we want to append has columns that does not exists will fails. I'm constructing a big gpkg file but I don't have a way to know all the columns beforehand.

  File "fiona/ogrext.pyx", line 1280, in fiona.ogrext.WritingSession.writerecs
ValueError: Record does not match collection schema: dict_keys(list_with_column_names)

Thx!

@sgillies
Copy link
Member

sgillies commented Feb 9, 2023

More discussion here: https://fiona.groups.io/g/dev/topic/96037003#37.

I think this could be possible for 2.0.

@sgillies sgillies added this to the 2.0 milestone Feb 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants