-
Notifications
You must be signed in to change notification settings - Fork 10
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
Allow writing either GeoParquet 1.0 or GeoParquet 1.1 schema metadata #61
Conversation
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.
I'm not sure, but is there more work to be done w/ the type of the bbox data themselves? Over in stac-utils/stac-rs#256 I was finding that I couldn't even read data that had been written in 1.1.0-dev
format if I was expecting 1.0.0
... but maybe that was just down to the metadata (I'm new to arrow/parquet so my understanding is incomplete).
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.
LGTM once Pete's comments are addressed.
Adds a
schema_version
argument that decides whether or not GeoParquet 1.1-specific metadata should be included in the written file.Note that the exact keyword arg
schema_version
was chosen to match the parameter name in GeoPandas'to_parquet
.Fixes #60
cc @gadomski