GoogleTilesMercator

class bruty.tile_calculations.GoogleTilesMercator(zoom=13)

Bases: bruty.tile_calculations.GoogleTilesLatLon

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 GoogleTilesMercator

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)

Latitude Longitude grid, defaults the the whole world. :param min_x: :param max_x: :param min_y: :param max_y: :param zoom: