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

Allow "GeoParquet" input #406

Closed
kylebarron opened this issue Mar 5, 2024 · 0 comments · Fixed by #407
Closed

Allow "GeoParquet" input #406

kylebarron opened this issue Mar 5, 2024 · 0 comments · Fixed by #407

Comments

@kylebarron
Copy link
Member

Pyarrow assigns Parquet metadata onto the Arrow table metadata when it loads. So whenever you use pyarrow.parquet.read_table() on a GeoParquet file, you'll get a geo key in the table metadata. Even though this is not "GeoArrow" per se, because it's missing the geoarrow extension metadata on the column field, it would probably be good integration to look for the geo key and manage GeoParquet -> GeoArrow conversion.

This is something that would potentially be moved into a different geoarrow library in the future, but faster to prototype here.

kylebarron added a commit that referenced this issue Mar 5, 2024
Closes #406

This should allow a two-liner for visualization of just

```py
table = pyarrow.parquet.read_table('file.parquet')
lonboard.viz(table)
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant