placekey icon indicating copy to clipboard operation
placekey copied to clipboard

Invalid H3

Open RealCoChenchao opened this issue 3 years ago • 1 comments

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 avatar Aug 22 '21 02:08 RealCoChenchao

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)

RealCoChenchao avatar Aug 24 '21 19:08 RealCoChenchao