Create a gist now

Instantly share code, notes, and snippets.

from TileCache.Layer import Layer, Tile
Tile(Layer("foo", spherical_mercator=True, tms_type="google"), 607, 754, 11).bounds()
# y values are inverted
# tilecache/osm.xml mercator.png --srs 900913 -e -8159805.6428374983 5283327.3949249983 -8140237.7635999992 5263759.5156874992 -v -d 256 256
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment