Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR adds support for bbox data when converting between formats:
geojson -> geoparquet
gpq convert input.geojson output.parquet
, bbox information present in the geojson data (top level "bbox" field as per the geojson spec) gets respected and put in a geoparquet bbox column (with the correct covering metadata written to the parquet header)--add-bbox
togpq convert
which results in a bbox column being added to the resulting parquet file even if not already present in the input datageoparquet -> geojson
Note: this PR depends on #264 which should be merged first (really this should probably be a PR to merge into 100_extract rather than main - the comparison between main and this branch will include all changes of #264 until #264 has been merged). As said before - I'm very happy to try and split this all up into smaller PRs if that makes things easier. These PRs are just the outcome of me tackling some issues without putting too much thought into splitting the work into digestable PRs.
Cheers
Felix