| Crates.io | h3ron-polars |
| lib.rs | h3ron-polars |
| version | 0.4.0 |
| created_at | 2022-10-25 20:06:00.938509+00 |
| updated_at | 2023-12-16 19:29:16.649577+00 |
| description | Integration of the h3 geospatial indexing system with polars dataframes |
| homepage | https://github.com/nmandery/h3ron |
| repository | https://github.com/nmandery/h3ron |
| max_upload_size | |
| id | 697163 |
| size | 84,237 |
Integration of the h3 geospatial indexing system with polars dataframes by providing extension traits
to UInt64Chunked and DataFrame.
This integration does not aim to be feature-complete, it was created by moving functionalities implemented in other projects to this common crate for better usability. In case of missing features, please submit a PR.
Some features so far:
UInt64Chunked to H3 cells and edges and vice versa.UInt64Chunked for building grid-disks, changing the cell resolution, deriving the bounding box and some more.BooleanChunked array suitable to be used with polars filters.DataFrame for compacting/uncompacting the contained data
by grouping the rows based on the remaining columns and applying compaction/uncompaction to the cell column.In january 2023 the h3o library - a port of H3 to rust - has been released. This brings many benefits including type safety, compilation to WASM and performance improvements (example: issue comparing raster to h3 conversion).
As a result this library will most certainly only receive dependency upgrades in the future.