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

Invalid H3 #21

Open
RealCoChenchao opened this issue Aug 22, 2021 · 1 comment
Open

Invalid H3 #21

RealCoChenchao opened this issue Aug 22, 2021 · 1 comment

Comments

@RealCoChenchao
Copy link

Below is a H3 index derived by the function, however, this H3 is not a valid index. The valid index derived from Python is 8a283082a677fff for this placekey.
placekey::placekey_to_h3("zzw-22y@5vg-7gt-qzz")
#> [1] "8a283082a677f80"

Created on 2021-08-21 by the reprex package (v0.3.0)

Didn't dig in too much. It seems like this package is binding h3ToString, from C, different from Python.

@RealCoChenchao
Copy link
Author

Follow up with a reprex with validation piece.
placekey::placekey_to_h3("zzw-22y@5vg-7gt-qzz")
#> [1] "8a283082a677f80"
h3jsr::is_valid("8a283082a677f80")
#> [1] FALSE

Created on 2021-08-24 by the reprex package (v0.3.0)

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

1 participant