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

made zorder behave more like hilbert for bit precisions not divisible… #772

Merged
merged 1 commit into from May 12, 2016

Conversation

rfecher
Copy link
Contributor

@rfecher rfecher commented May 11, 2016

… by 8 - padded left-most bits rather than rightmost

… by 8 - padded left-most bits rather than rightmost
@rfecher
Copy link
Contributor Author

rfecher commented May 11, 2016

this one is pretty meaningless considering we will prefer hilbert, but when using bits not divisible by 8 (let's say 10 bits would force you to represent it with 2 bytes so the last 6 bits would be 0 rather than the first 6 bits) we were padding 0's on the end rather than the beginning. It makes more sense to pad to the beginning although both seem valid and would work, this behavior is consistent with hilbert SFC

@dcy2003 dcy2003 merged commit ac8c3b3 into master May 12, 2016
@dcy2003 dcy2003 deleted the z-order branch May 12, 2016 17:21
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

Successfully merging this pull request may close these issues.

None yet

2 participants