'Cantor pairing function vs. Morton encoding?

why don't the Cantor Pairing function references discuss the Morton code, or Z-order space filling curves?

they seem to generate similar results with a single larger number uniquely represents number pairs or triples.

both have encoding and decoding methods.

when to use which method???

the pymorton library seems mature and handles floating point numbers especially for the relevant bits of (lat,lon,elev) geographic points



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source