1 year ago

#258885

test-img

Marc Compere

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

encoding

pairing

0 Answers

Your Answer

Accepted video resources