i have a list of s2map cells (at various levels) that i wish to convert to a quadtree for easy-er processing
as shown here in binary
note sometimes it will jump levels. ie a level 10 containing a level 14 (but not the levels in between as they are not in original array
أكثر...
as shown here in binary
100011111011111001011111101000000000000000000000000000000000000 100011111011111001100000001000000000000000000000000000000000000 100011111011111001100000011000000000000000000000000000000000000 100011111011111001100000101000000000000000000000000000000000000 100011111011111001100000111000000000000000000000000000000000000 100011111011111001011111100010000000000000000000000000000000000 100011111011111001011111100110000000000000000000000000000000000 100011111011111001011111101010000000000000000000000000000000000 100011111011111001011111101110000000000000000000000000000000000 100011111011111001011111110010000000000000000000000000000000000 100011111011111001100000100010000000000000000000000000000000000 100011111011111001100000100110000000000000000000000000000000000 100011111011111001100000101010000000000000000000000000000000000 100011111011111001100000101110000000000000000000000000000000000 100011111011111001100000110010000000000000000000000000000000000 100011111011111001100000110110000000000000000000000000000000000 100011111011111001100000111010000000000000000000000000000000000 100011111011111001100000111110000000000000000000000000000000000 100011111011111001100001000010000000000000000000000000000000000 100011111011111001100001000110000000000000000000000000000000000 100011111011111001100001111010000000000000000000000000000000000 100011111011111001110101001110000000000000000000000000000000000
what i want to do is move the children into the relevant parent.
note sometimes it will jump levels. ie a level 10 containing a level 14 (but not the levels in between as they are not in original array
أكثر...