-
Notifications
You must be signed in to change notification settings - Fork 8
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
Update for latest geoarrow #56
Comments
Great. I did not know about lonboard - looks good. Do you want to use the I started migrating to arrow 52 and geoarrow 0.3, but got side-tracked during working on this - so I did not finish it. I will try to push it ahead. Thanks for the migration hints 👍 |
Sorry I wasn't clear. Ideally I'd use |
I'd love to update h3arrow for the latest geoarrow-rs, and potentially use
h3arrow
as an (optional) dependency from Lonboard, a Python library for large geospatial vector data visualization.Some changes:
O: OffsetSizeTrait
generic on thePolygonArray
: Remove "large" arrays and scalars withi64
offsets geoarrow/geoarrow-rs#803. In order to overflow the offsets of anint32
, you'd need to have more than2^32
coordinates in a single contiguous array, which would take up 32GB alone. Removing this generic makes it easier to move faster in geoarrow-rs and took out a ton of complexity.const D: usize
generic for the physical dimension. So now when you construct arrays you'd havePolygonArray<2>
.pyo3-geoarrow
Rust helper module to make it easier to handle zero-copy data interop from Python, but that's not yet fully standardized.Let me know if I can help or give pointers to any of this.
The text was updated successfully, but these errors were encountered: