Пример #1
0
 def __init__(self, MapServ_inst, conf):
     TilesRepository.__init__(self, MapServ_inst, conf)
     self.set_repository_path(conf)
     self.tile_cache = lrucache.LRUCache(1000)
     self.mapServ_inst = MapServ_inst
     self.lock = Lock()
     self.missingPixbuf = mapPixbuf.missing()
Пример #2
0
 def __init__(self, MapServ_inst, conf):
     TilesRepository.__init__(self, MapServ_inst, conf)
     self.tile_cache = lrucache.LRUCache(1000)
     self.mapServ_inst = MapServ_inst
     self.conf = conf
     self.configpath = os.path.join(conf.init_path, conf.map_service)
     self.lock = Lock()
     self.missingPixbuf = mapPixbuf.missing()
     self.sqlite3func = RMapsFuncs(self.configpath, RMAPS_REPOSITORY_FILE_FORMAT)
Пример #3
0
 def __init__(self, MapServ_inst, conf):
     TilesRepository.__init__(self, MapServ_inst, conf)
     self.tile_cache = lrucache.LRUCache(1000)
     self.mapServ_inst = MapServ_inst
     self.conf = conf
     self.configpath = conf.init_path
     self.lock = Lock()
     self.missingPixbuf = mapPixbuf.missing()
     self.sqlite3func = SQLite3Funcs(self.configpath,
                                     self.get_db_filename())