class'RGB', user_agent='CartoPy/0.20.0', cache=False)[source]

Implement web tile retrieval using the Google WTS coordinate system.

A “tile” in this class refers to the coordinates (x, y, z).

The tiles can be saved to a cache directory using the cache parameter, so they are downloaded only once. If it is set to True, the default path stored in the cartopy.config dictionary is used. If it is set to a custom path, this path is used instead of the default one. If it is set to False (the default behavior), the tiles are downloaded each time.

__init__(desired_tile_form='RGB', user_agent='CartoPy/0.20.0', cache=False)[source]


__init__([desired_tile_form, user_agent, cache])

find_images(target_domain, target_z[, ...])

Target domain is a shapely polygon in native coordinates.


image_for_domain(target_domain, target_z)


tile_bbox(x, y, z[, y0_at_north_pole])

Return the (x0, x1), (y0, y1) bounding box for the given x, y, z tile position.


Return extent tuple (x0,x1,y0,y1) in Mercator coordinates.