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

List of cells to GeoArrow Polygon Array #57

Open
kylebarron opened this issue Oct 2, 2024 · 2 comments
Open

List of cells to GeoArrow Polygon Array #57

kylebarron opened this issue Oct 2, 2024 · 2 comments

Comments

@kylebarron
Copy link
Contributor

I'm interested in potentially using h3ronpy from Lonboard, a Python library I develop for fast geospatial visualization in deck.gl. One of the ways I'd like to support visualizing H3 data is by converting the H3 cells to polygons, and then rendering those polygons. (See also xarray-contrib/xdggs#67) The h3-py function h3_to_geo is not vectorized, and so is very slow.

I know you have https://github.com/nmandery/h3ronpy/blob/f9176e039821a9ed834f8f83ab5b65f9a1e144bc/crates/h3arrow/src/array/to_geoarrow.rs; is that exported to the Python API yet?

@nmandery
Copy link
Owner

nmandery commented Oct 4, 2024

This part is not yet available to python yet. I thought about using https://github.com/geoarrow/geoarrow-rs/tree/main/python/pyo3-geoarrow to avoid having to implement the conversions myself, but noticed it is not available on crates.io. Do you plan to publish it?

@kylebarron
Copy link
Contributor Author

not available on crates.io. Do you plan to publish it?

Just published geoarrow v0.4.0-beta.1 and pyo3-geoarrow v0.1.0-beta.1.

Would like to publish stable versions in the next week or two but need to clean up some things first.

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

No branches or pull requests

2 participants