TMSTilesMercator

class bruty.tile_calculations.TMSTilesMercator(zoom=13)

Bases: bruty.tile_calculations.TilingScheme

Use the global spherical mercator projection coordinates (EPSG:900913) to match the Google Tile scheme, visualized at https://www.maptiler.com/google-maps-coordinates-tile-bounds-projection/

Inheritance diagram of TMSTilesMercator

Attributes Summary

id

Methods Summary

height()

num_tiles([zoom])

tile_index_to_xy(tx, ty[, zoom])

width()

xy_to_tile_index(x, y[, zoom])

Attributes Documentation

id

Methods Documentation

height()
num_tiles(zoom=None)
tile_index_to_xy(tx, ty, zoom=None)
width()
xy_to_tile_index(x, y, zoom=None)
__init__(zoom=13)

Initialize self. See help(type(self)) for accurate signature.