Skip to content

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

Merged
dcy2003 merged 1 commit intomasterfrom
z-order
May 12, 2016
Merged

made zorder behave more like hilbert for bit precisions not divisible…#772
dcy2003 merged 1 commit intomasterfrom
z-order

Conversation

@rfecher
Copy link
Copy Markdown
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
Copy Markdown
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.

2 participants