コード例 #1
0
 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
コード例 #2
0
 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
コード例 #3
0
    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()
コード例 #4
0
    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()
コード例 #5
0
 def __init__(self):
     self.providerManager = ProviderManager.instance()
     self.parameters = Parameters.instance()
コード例 #6
0
 def initialize(self):
     self.parameters = Parameters.instance()
     self.result = ResultVTTiler.instance()
コード例 #7
0
 def initialize(self):
     self.parameters = Parameters.instance()
コード例 #8
0
 def __init__(self, parentObject, debug=True):
     QThread.__init__(self, parentObject.thread())
     self.debug = debug
     self.parameters = Parameters.instance()
コード例 #9
0
 def initialize(self):
     self.parameters = Parameters.instance()
コード例 #10
0
 def initialize(self):
     self.parameters = Parameters.instance()
     self.result = ResultVTTiler.instance()
コード例 #11
0
 def __init__(self, parentObject, debug=True):
     QThread.__init__(self, parentObject.thread())
     self.debug = debug
     self.parameters = Parameters.instance()
コード例 #12
0
 def __init__(self):
     self.providerManager = ProviderManager.instance()
     self.parameters = Parameters.instance()