MapProxyApp
__call__(environ, start_request)
handler.handle(req)
WMTSServer
self.tile(request)
TileLayer
TileManager
tile_manager.load_tile_coord(tile_coord)
FileCache
self._load_tile_coords(tiles)
self.cache.load_tiles(tiles)
self.load_tile(tile)
self.tile_location(tile)
TileCreator
bool
creator.create_tiles(tiles)
self._create_meta_tiles(meta_tile)
async self._create_meta_tile(meta_tiles)
self._query_sources(query)
WMSSource
self.sources[0].get_map(query)
This actually only creates ImageSource objects, that point to files that are lazily read from the file system
WMSClient
self.client.retrieve(query)
HTTPClient
self.http_client.open(url, data)
HTTPResponse
ImageSource
ImageSource
self.cache.store_tiles(splitted_tiles)
list[Tile]
list[Tile]
Tile
tiled_image.transform()
Response
Response
Naming problem: Source has other meaning. Maybe ImageResult.
To align: TileResult
tiles are not really Tiles yet. Maybe better call it TileQuery
tile_layer.render(request)
tile_coord = self._internal_tile_coord(request)
Starting from here this is the same as flow 3
TileResponse
Interestingly the WMTS request does not request the source but references the fitting TileManager directly