def load_tile(self, tile, with_metadata=False): if tile.source: # Do not record tiles with source as "loaded" as FileCache will # return tile without checking/loading from filesystem. return True self.loaded_tiles.add(tile.coord) return FileCache.load_tile(self, tile, with_metadata)
def load_tile(self, tile, with_metadata=False): self.loaded_tiles.add(tile.coord) return FileCache.load_tile(self, tile, with_metadata)