Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/g/s/gsdview-HEAD/gsdview/gdalbackend/helpers.py   gsdview(Download)
    def copy_data(self, vrtband):
        stats = gdalsupport.GetCachedStatistics(vrtband)
        if None in stats:
            self.logger.warning('unable to retrieve statistics.')
            return

src/g/s/gsdview-HEAD/gsdview/gdalbackend/core.py   gsdview(Download)
        # only open a new view if there is no other on the item selected
        if len(item.scene.views()) == 0:
            stats = gdalsupport.GetCachedStatistics(item)
            if None in stats:
                self._helpers['stats'].start(item)