8000 Unexpected zero J-coordinate in local ijk+ when resolution > 0 · Issue #1003 · uber/h3 · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Unexpected zero J-coordinate in local ijk+ when resolution > 0 #1003

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

Open
valenadels opened this issue Apr 24, 2025 · 0 comments
7DCD Open

Unexpected zero J-coordinate in local ijk+ when resolution > 0 #1003

valenadels opened this issue Apr 24, 2025 · 0 comments

Comments

@valenadels
Copy link
valenadels commented Apr 24, 2025

Hi! I’m using H3 to assign local ijk+ coordinates to cells around a given origin.
At resolution 0, the six direct neighbors of the origin 0x8075FFFFFFFFFFF are:

(1, 0, 1)
(1, 0, 0)
(0, 1, 0)
(0, 1, 1)
(1, 1, 0)

However, when increasing resolution, for example to 2 (origin 0x82754FFFFFFFFFF), the output is:

(3, 0, 2)
(2, 0, 2)
(2, 0, 3)
(3, 0, 4)
(4, 0, 4)
(4, 0, 3)

I expected (acording to the image bellow) some of the neighbors to have a non-zero j component, but it’s always zero.

Image

(I'm using H3 version: v4.2.1)

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
0