Package mapproxy :: Package core :: Module image :: Class TileSplitter
[hide private]
[frames] | no frames]

Class TileSplitter

source code

object --+
         |
        TileSplitter

Splits a large image into multiple tiles.
Instance Methods [hide private]
 
__init__(self, meta_tile, format)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
get_tile(self, crop_coord, tile_size)
Return the cropped tile.
source code

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, meta_tile, format)
(Constructor)

source code 
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
Overrides: object.__init__
(inherited documentation)

get_tile(self, crop_coord, tile_size)

source code 
Return the cropped tile. :param crop_coord: the upper left pixel coord to start :param tile_size: width and height of the new tile :rtype: ImageSource