def setUp(self): #load the items from the config config = ConfigParser() config.read('../../conf/worker.conf') self.storage, self.renderers, self.formats, self.format_args, self.coverage = loadConfig(config) self.projection = Mercator(18+1) logging.basicConfig(level=logging.DEBUG)
def setUp(self): #load the items from the config config = ConfigParser() config.read('../../conf/worker.conf') self.storage, self.renderers, self.formats, self.format_args, self.coverage = loadConfig(config) self.hyb = Image.open('./hyb.png') self.map = Image.open('./map.png') logging.basicConfig(level=logging.DEBUG)
def setUp(self): #define output path self.outputPath = "results_performance/" #define lat, lon point for test area center self.testCenter = (38.901228, -77.038388) #self.testCenter = (39.739707, -104.985375) #load the items from the config config = ConfigParser() config.read('../../conf/worker.conf') self.storage, self.renderers, self.formats, self.format_args, self.coverage = loadConfig(config) self.projection = Mercator(18+1) logging.basicConfig(level=logging.DEBUG) #list of styles to test self.testStyles = ["hybus", "mapus"]