cartopy.io.RasterSource#
- class cartopy.io.RasterSource[source]#
 Define the cartopy raster fetching interface.
A
RasterSourceinstance is able to supply images and associated extents (as a sequence ofLocatedImageinstances) through itsfetch_raster()method.As a result, further interfacing classes, such as
cartopy.mpl.slippy_image_artist.SlippyImageArtist, can then make use of the interface for functionality such as interactive image retrieval with pan and zoom functionality.- __init__()#
 
Methods
__init__()fetch_raster(projection, extent, ...)Return a sequence of images with extents given some constraining information.
validate_projection(projection)Raise an error if this raster source cannot provide images in the specified projection.