Calculates a spatial ordering of points using the Z-order curve, also known as the Morton code. The tool accepts multiple coordinates and transforms them into a single, one-dimensional integer value while attempting to preserve proximity. It interleaves the bits of the input x and y coordinates in a specific pattern to create this unique index. This process effectively maps two-dimensional data points onto a linear sequence that generally maintains spatial relationships, meaning nearby points in the original plane remain close together in the resulting list.
Utilizes by computational scientists, database developers, and researchers working with geographical or grid-based data. People who frequently need to perform nearest-neighbor searches or efficiently query spatial indices often use this function.