def __init__(self, raster): parameters = Parameters.instance() self.name = '_'.join([raster.name(), str(parameters.tileSize), parameters.zoomLevel]) self.extent = raster.extent() self.srid = raster.crs().postgisSrid() self.source = raster.source() self.httpResource = 'http://localhost:' + str(Parameters.instance().port) + '/rasters/' + self.name
def __init__(self, raster): parameters = Parameters.instance() self.name = '_'.join( [raster.name(), str(parameters.tileSize), parameters.zoomLevel]) self.extent = raster.extent() self.srid = raster.crs().postgisSrid() self.source = raster.source() self.httpResource = 'http://localhost:' + str( Parameters.instance().port) + '/rasters/' + self.name
def __init__(self, extent): QtGui.QDialog.__init__(self) self.setupUi(self) self.destroyed.connect(self.closeEvent) self.appServer = None self.appServerRunning = False self.GDALprocess = None self.zoomLevel = "1" self.parameters = Parameters.instance() self.providerManager = ProviderManager.instance()
def __init__(self): self.providerManager = ProviderManager.instance() self.parameters = Parameters.instance()
def initialize(self): self.parameters = Parameters.instance() self.result = ResultVTTiler.instance()
def initialize(self): self.parameters = Parameters.instance()
def __init__(self, parentObject, debug=True): QThread.__init__(self, parentObject.thread()) self.debug = debug self.parameters = Parameters.instance()