-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #50 from nmandery/integrate-h3arrow
integrate h3arrow into repo
- Loading branch information
Showing
104 changed files
with
3,401 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,18 @@ | ||
[package] | ||
name = "h3ronpy" | ||
version = "0.20.2" | ||
authors = ["Nico Mandery <nico@nmandery.net>"] | ||
description = "Data science toolkit for the H3 geospatial grid" | ||
edition = "2021" | ||
license = "MIT" | ||
keywords = ["geo", "spatial", "h3", "arrow", "python"] | ||
homepage = "https://github.com/nmandery/h3ronpy" | ||
repository = "https://github.com/nmandery/h3ronpy" | ||
[workspace] | ||
resolver = "2" | ||
|
||
[lib] | ||
name = "h3ronpy" | ||
crate-type = ["cdylib"] | ||
members = [ | ||
"h3ronpy", | ||
"crates/h3arrow" | ||
] | ||
|
||
[dependencies] | ||
arrow = { version = "50.0.0", features = ["pyarrow"]} | ||
env_logger = "^0.10" # Stick env_logger with 0.10 to be able to build on readthedocs.org with rust 1.70 | ||
geo-types = "^0.7" | ||
rasterh3 = { version = "^0.7", features = ["rayon"] } | ||
h3arrow = { version = "^0.4", features = ["geoarrow", "rayon"] } | ||
#h3arrow = { git = "https://github.com/nmandery/h3arrow.git", rev = "1491610246cf93f0c9e40974de857563451a2e03", features = ["geoarrow", "rayon"] } | ||
#h3arrow = { path = "/home/nicodev/CLionProjects/h3arrow", features = ["geoarrow", "rayon"] } | ||
ndarray = { version = "0.15", features = ["rayon"] } | ||
numpy = "0.20" | ||
ordered-float = ">=2.0.1" | ||
py_geo_interface = { version = "0.7", features = ["f64", "wkb"] } | ||
pyo3 = { version = "0.20", features = ["extension-module", "abi3", "abi3-py38"] } | ||
rayon = "^1.5" | ||
hashbrown = "0.14" | ||
[workspace.dependencies] | ||
geo = "0.28" | ||
itertools = "0.12" | ||
|
||
geo-types = "0.7" | ||
h3o = { version = "0.6" } | ||
rayon = "^1" | ||
|
||
[profile.release] | ||
lto = "thin" | ||
strip = true | ||
debug = false | ||
debug = false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# Changelog | ||
|
||
All notable changes to this project will be documented in this file. | ||
|
||
The format is loosely based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres | ||
to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). | ||
|
||
|
||
## Unreleased (YYYY-MM-DD TBD) | ||
|
||
## v0.4.0 (2024-03-01) | ||
* Update h3o to 0.6. | ||
* Upgrade geo to 0.28 | ||
* Upgrade rstar to 0.12 | ||
* Upgrade geozero to 0.12 | ||
|
||
## v0.3.0 (2024-02-06) | ||
* Extend documentation on ParseUtf8Array::parse_utf8array. | ||
* Add ChangeResolutionOp::change_resolution_list. | ||
* Update geozero to 0.11. | ||
* Update h3o to 0.5. | ||
* Migrate from arrow2 to the official apache arrow implementation and aligned naming. This comes along with many API changes. `geoarrow::ToWKBLines` has been removed. | ||
|
||
## v0.2.0 (2023-08-31) | ||
* Upgrade h3o from v0.3 to v0.4. Due to the new polyfill modes this lead to API breakages in the `ToCellsOptions` struct. | ||
|
||
## v0.1.0 (2023-07-24) | ||
* Initial release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
[package] | ||
name = "h3arrow" | ||
version = "0.4.0" | ||
edition = "2021" | ||
authors = ["Nico Mandery <nico@nmandery.net>"] | ||
description = "Integration of the H3 geospatial grid with the arrow memory model" | ||
license = "MIT" | ||
keywords = ["geo", "spatial", "h3", "arrow"] | ||
readme = "README.md" | ||
homepage = "https://github.com/nmandery/h3arrow" | ||
repository = "https://github.com/nmandery/h3arrow" | ||
|
||
[package.metadata.docs.rs] | ||
all-features = true | ||
|
||
[features] | ||
geoarrow = ["dep:geoarrow", "dep:geozero"] | ||
rayon = ["dep:rayon", "geoarrow/rayon"] | ||
spatial_index = ["dep:rstar"] | ||
|
||
[dependencies] | ||
ahash = "0.8" | ||
arrow = "50" | ||
geoarrow = { package = "geoarrow", version = "0.1.0", optional = true, features = ["geozero"] } | ||
geo-types = { workspace = true } | ||
geo = { workspace = true } | ||
geozero = { version = "0.12", default-features = false, features = ["with-geo", "with-wkb"], optional = true } | ||
h3o = { workspace = true, features = ["geo"] } | ||
nom = "7" | ||
rayon = { workspace = true, optional = true } | ||
rstar = { version = "0.12", optional = true } | ||
thiserror = "1" |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# h3arrow | ||
|
||
Experimental integration of H3 (via [h3o](https://github.com/HydroniumLabs/h3o)) with the Arrow memory model. | ||
|
Oops, something went wrong.