cartopy.io.img_tiles.OSM¶
- class cartopy.io.img_tiles.OSM(desired_tile_form='RGB', user_agent='CartoPy/0.20.0', cache=False)[source]¶
- __init__(desired_tile_form='RGB', user_agent='CartoPy/0.20.0', cache=False)¶
Methods
__init__
([desired_tile_form, user_agent, cache])find_images
(target_domain, target_z[, ...])Target domain is a shapely polygon in native coordinates.
get_image
(tile)image_for_domain
(target_domain, target_z)subtiles
(x_y_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.tileextent
(x_y_z)Return extent tuple
(x0,x1,y0,y1)
in Mercator coordinates.