Released: Oct 27, 2016
Morton code pack/unpack library
View statistics for this project via Libraries.io, or by using our public dataset on Google BigQuery
License: BSD License (BSD)
Author: Alexander Verbitsky
Tags z-order, morton coding, hashing
Check wikipedia for details.
import morton m = morton.Morton(dimensions=2, bits=32) code = m.pack(13, 42) # pack two values values = m.unpack(code) # should get back 13 and 42
1.3
Jun 6, 2018
1.2
Jan 4, 2017
1.1
Oct 27, 2016
1.0
Oct 24, 2016
Supported by