Bing uses a quadtree-based addressing scheme to come up with a single number (or all-digit string) as the address of a tile. Each digit/character (starting from left / most significant) identifies the branch to take along the tree, starting from the root node. This gives one digit per (slippy-map) zoomlevel:
Google Maps, OpenStreetMap and others use the ZXY addressing scheme, where a tile is identified by 3 numbers:
- the (slippy-map) zoomlevel (
z, not to be confused with a z-coordinate like elevation)
- the 0-based count of the tile from left (western) edge to the right (east) (
- the 0-based count of the tile from upper (northern) edge down (south) (
z from a quadtree address is trivial, but how do I calculate
y of the ZXY scheme from a quadtree address? I'm using Python.