internal node has exactly four children. • Partitions a two-dimensional space by recursively subdividing it into four quadrants. GeoPython 2021 - Mapquadlib
z-values • Connecting the z-values in their numerical order produces the recursively Z-shaped curve • Two-dimensional z-values are also called quadkey GeoPython 2021 - Mapquadlib
10 with column x=754 and row y=531 1. Convert X and Y to binary values x = 1011110010 y = 1000010011 2. Interleave x and y, with • x on even and • y on odd positions morton_key = 1100 0101 0111 0000 1110 = 11 00 01 01 01 11 10 00 00 11 10 => 3 0 1 1 1 3 2 0 0 3 2 = 30111320032 = quad_key GeoPython 2021 - Mapquadlib
only Python Standard Library => zero dependencies • Well tested: over 500 tests, 92% test coverage • Currently, supports MercatorQuads and HereQuads • To be open-sourced soon GeoPython 2021 - Mapquadlib
with baked in Mercator projection • ! Tile is always a square on the map surface • " Distortion • " Latitude is limited up to ~85.05 degrees north and ~-85.05 south GeoPython 2021 - Mapquadlib
• non-square tiles when viewed on Mercator projected 2D map • ! Tile size in degrees does not change when close to the poles GeoPython 2021 - Mapquadlib