Created
January 28, 2015 19:16
-
-
Save dnomadb/44e54e354063cfc1afc0 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
z = 3 | |
for t in range(2 ** z): | |
tbbox = mercantile.bounds(t, t, 3) | |
childSt = mercantile.tile(tbbox.west, tbbox.north, 11) | |
childEnd = mercantile.tile(tbbox.east, tbbox.north, 11) | |
print childSt | |
Tile(x=0, y=-1, z=11) | |
Tile(x=256, y=256, z=11) | |
Tile(x=512, y=511, z=11) | |
Tile(x=768, y=768, z=11) | |
Tile(x=1024, y=1024, z=11) | |
Tile(x=1280, y=1280, z=11) | |
Tile(x=1536, y=1536, z=11) | |
Tile(x=1792, y=1792, z=11) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment